Running examples in ‘datadr-Ex.R’ failed
The error most likely occurred in:

> ### Name: readTextFileByChunk
> ### Title: Experimental sequential text reader helper function
> ### Aliases: readTextFileByChunk
> 
> ### ** Examples
> 
> csvFile <- file.path(tempdir(), "iris.csv")
> write.csv(iris, file = csvFile, row.names = FALSE, quote = FALSE)
> myoutput <- localDiskConn(file.path(tempdir(), "irisText"), autoYes = TRUE)
* Saving connection attributes
> a <- readTextFileByChunk(csvFile,
+   output = myoutput, linesPerBlock = 10,
+   fn = function(x, header) {
+     colNames <- strsplit(header, ",")[[1]]
+     read.csv(textConnection(paste(x, collapse = "\n")), col.names = colNames, header = FALSE)
+   })
Processing chunk  1 
Processing chunk  2 
Processing chunk  3 
Processing chunk  4 
Processing chunk  5 
Processing chunk  6 
Processing chunk  7 
Processing chunk  8 
Processing chunk  9 
Processing chunk  10 
Processing chunk  11 
Processing chunk  12 
Processing chunk  13 
Processing chunk  14 
Processing chunk  15 
Processing chunk  16 
> a[[1]]
$key
[1] 6

$value
  Sepal.Length Sepal.Width Petal.Length Petal.Width    Species
1          7.0         3.2          4.7         1.4 versicolor
2          6.4         3.2          4.5         1.5 versicolor
3          6.9         3.1          4.9         1.5 versicolor
4          5.5         2.3          4.0         1.3 versicolor
5          6.5         2.8          4.6         1.5 versicolor
...

> 
> 
> 
> cleanEx()
Error: connections left open:
	paste(x, collapse = "\n") (textConnection)
	paste(x, collapse = "\n") (textConnection)
	paste(x, collapse = "\n") (textConnection)
	paste(x, collapse = "\n") (textConnection)
	paste(x, collapse = "\n") (textConnection)
	paste(x, collapse = "\n") (textConnection)
	paste(x, collapse = "\n") (textConnection)
	paste(x, collapse = "\n") (textConnection)
	paste(x, collapse = "\n") (textConnection)
	paste(x, collapse = "\n") (textConnection)
	paste(x, collapse = "\n") (textConnection)
	paste(x, collapse = "\n") (textConnection)
	paste(x, collapse = "\n") (textConnection)
	paste(x, collapse = "\n") (textConnection)
	paste(x, collapse = "\n") (textConnection)
Execution halted