@Test
public void readTextGz() throws IOException {
String path = getClass().getResource("/org/renjin/tobin.txt.gz").getFile();
IntVector connHandle = Connections.file(topLevelContext, path, "rt", false, "UTF-8", false);
assertThat(Connections.readChar(topLevelContext, connHandle, "durable".length(), false),
equalTo("durable"));
}