Running ‘testthat.R’ [32s/75s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > 
  > library(testthat)
  > library(fst)
  > 
  > test_check("fst")
  1. Error: Single uncompressed vectors (@test.fst.R#72) -------------------------
  LENGTH or similar applied to NULL object
  1: sapply(colNames, function(x) {
         TestWriteRead(x)
     }) at testthat/test.fst.R:72
  2: lapply(X = X, FUN = FUN, ...)
  3: FUN(X[[i]], ...)
  4: TestWriteRead(x) at testthat/test.fst.R:72
  5: read.fst("FactorStore/data1.fst", columns = selColumns, from = from, to = to) at testthat/test.fst.R:36
  6: fstRead(fileName, columns, from, to)
  
  2. Error: Small uncompressed vectors (@test.fst.R#78) --------------------------
  LENGTH or similar applied to NULL object
  1: sapply(colNames, function(x) {
         TestWriteRead(x, to = 30L, totLength = 30L)
     }) at testthat/test.fst.R:78
  2: lapply(X = X, FUN = FUN, ...)
  3: FUN(X[[i]], ...)
  4: TestWriteRead(x, to = 30L, totLength = 30L) at testthat/test.fst.R:78
  5: read.fst("FactorStore/data1.fst", columns = selColumns, from = from, to = to) at testthat/test.fst.R:36
  6: fstRead(fileName, columns, from, to)
  
  3. Error: Single weakly compressed vectors (@test.fst.R#84) --------------------
  LENGTH or similar applied to NULL object
  1: sapply(colNames, function(x) {
         TestWriteRead(x, compress = 30L)
     }) at testthat/test.fst.R:84
  2: lapply(X = X, FUN = FUN, ...)
  3: FUN(X[[i]], ...)
  4: TestWriteRead(x, compress = 30L) at testthat/test.fst.R:84
  5: read.fst("FactorStore/data1.fst", columns = selColumns, from = from, to = to) at testthat/test.fst.R:36
  6: fstRead(fileName, columns, from, to)
  
  4. Error: Single small weakly compressed vectors (@test.fst.R#90) --------------
  LENGTH or similar applied to NULL object
  1: sapply(colNames, function(x) {
         TestWriteRead(x, to = 30L, totLength = 30L, compress = 30L)
     }) at testthat/test.fst.R:90
  2: lapply(X = X, FUN = FUN, ...)
  3: FUN(X[[i]], ...)
  4: TestWriteRead(x, to = 30L, totLength = 30L, compress = 30L) at testthat/test.fst.R:90
  5: read.fst("FactorStore/data1.fst", columns = selColumns, from = from, to = to) at testthat/test.fst.R:36
  6: fstRead(fileName, columns, from, to)
  
  5. Error: Single moderate compressed vectors (@test.fst.R#96) ------------------
  LENGTH or similar applied to NULL object
  1: sapply(colNames, function(x) {
         TestWriteRead(x, compress = 60L)
     }) at testthat/test.fst.R:96
  2: lapply(X = X, FUN = FUN, ...)
  3: FUN(X[[i]], ...)
  4: TestWriteRead(x, compress = 60L) at testthat/test.fst.R:96
  5: read.fst("FactorStore/data1.fst", columns = selColumns, from = from, to = to) at testthat/test.fst.R:36
  6: fstRead(fileName, columns, from, to)
  
  6. Error: Single small moderate compressed vectors (@test.fst.R#102) -----------
  LENGTH or similar applied to NULL object
  1: sapply(colNames, function(x) {
         TestWriteRead(x, to = 30L, totLength = 30L, compress = 60L)
     }) at testthat/test.fst.R:102
  2: lapply(X = X, FUN = FUN, ...)
  3: FUN(X[[i]], ...)
  4: TestWriteRead(x, to = 30L, totLength = 30L, compress = 60L) at testthat/test.fst.R:102
  5: read.fst("FactorStore/data1.fst", columns = selColumns, from = from, to = to) at testthat/test.fst.R:36
  6: fstRead(fileName, columns, from, to)
  
  7. Error: Integer column block tests (@test.fst.R#156) -------------------------
  LENGTH or similar applied to NULL object
  1: BlockTestSingleType("Xint") at testthat/test.fst.R:156
  2: BlockTests(type, 0, 0, 0L) at testthat/test.fst.R:120
  3: TestWriteRead(col, 1L + blockStart * blockSize, lastRow, NULL, compression) at testthat/test.fst.R:111
  4: read.fst("FactorStore/data1.fst", columns = selColumns, from = from, to = to) at testthat/test.fst.R:36
  5: fstRead(fileName, columns, from, to)
  
  8. Error: Logical column block tests (@test.fst.R#161) -------------------------
  LENGTH or similar applied to NULL object
  1: BlockTestSingleType("Ylog") at testthat/test.fst.R:161
  2: BlockTests(type, 0, 0, 0L) at testthat/test.fst.R:120
  3: TestWriteRead(col, 1L + blockStart * blockSize, lastRow, NULL, compression) at testthat/test.fst.R:111
  4: read.fst("FactorStore/data1.fst", columns = selColumns, from = from, to = to) at testthat/test.fst.R:36
  5: fstRead(fileName, columns, from, to)
  
  9. Error: Real column block tests (@test.fst.R#169) ----------------------------
  LENGTH or similar applied to NULL object
  1: BlockTestSingleType("Zdoub") at testthat/test.fst.R:169
  2: BlockTests(type, 0, 0, 0L) at testthat/test.fst.R:120
  3: TestWriteRead(col, 1L + blockStart * blockSize, lastRow, NULL, compression) at testthat/test.fst.R:111
  4: read.fst("FactorStore/data1.fst", columns = selColumns, from = from, to = to) at testthat/test.fst.R:36
  5: fstRead(fileName, columns, from, to)
  
  10. Error: Character column block tests (@test.fst.R#176) ----------------------
  LENGTH or similar applied to NULL object
  1: BlockTestSingleType("Qchar") at testthat/test.fst.R:176
  2: BlockTests(type, 0, 0, 0L) at testthat/test.fst.R:120
  3: TestWriteRead(col, 1L + blockStart * blockSize, lastRow, NULL, compression) at testthat/test.fst.R:111
  4: read.fst("FactorStore/data1.fst", columns = selColumns, from = from, to = to) at testthat/test.fst.R:36
  5: fstRead(fileName, columns, from, to)
  
  11. Error: Factor column block tests (@test.fst.R#181) -------------------------
  LENGTH or similar applied to NULL object
  1: BlockTestSingleType("WFact") at testthat/test.fst.R:181
  2: BlockTests(type, 0, 0, 0L) at testthat/test.fst.R:120
  3: TestWriteRead(col, 1L + blockStart * blockSize, lastRow, NULL, compression) at testthat/test.fst.R:111
  4: read.fst("FactorStore/data1.fst", columns = selColumns, from = from, to = to) at testthat/test.fst.R:36
  5: fstRead(fileName, columns, from, to)
  
  12. Error: Character column block tests with NA's (@test.fst.R#186) ------------
  LENGTH or similar applied to NULL object
  1: BlockTestSingleType("CharNA") at testthat/test.fst.R:186
  2: BlockTests(type, 0, 0, 0L) at testthat/test.fst.R:120
  3: TestWriteRead(col, 1L + blockStart * blockSize, lastRow, NULL, compression) at testthat/test.fst.R:111
  4: read.fst("FactorStore/data1.fst", columns = selColumns, from = from, to = to) at testthat/test.fst.R:36
  5: fstRead(fileName, columns, from, to)
  
  13. Error: Mixed columns are stored correctly (@test.fst.R#191) ----------------
  LENGTH or similar applied to NULL object
  1: TestWriteRead(c("Xint", "Ylog", "Zdoub", "Qchar", "WFact", "CharNA")) at testthat/test.fst.R:191
  2: read.fst("FactorStore/data1.fst", columns = selColumns, from = from, to = to) at testthat/test.fst.R:36
  3: fstRead(fileName, columns, from, to)
  
  14. Error: From and to row can be set (@test.fst.R#197) ------------------------
  LENGTH or similar applied to NULL object
  1: TestWriteRead(c("Xint", "Ylog", "Zdoub", "Qchar", "WFact", "CharNA"), from = 10) at testthat/test.fst.R:197
  2: read.fst("FactorStore/data1.fst", columns = selColumns, from = from, to = to) at testthat/test.fst.R:36
  3: fstRead(fileName, columns, from, to)
  
  15. Error: Select out of range row number (@test.fst.R#221) --------------------
  LENGTH or similar applied to NULL object
  1: TestWriteRead(c("Xint", "Ylog", "Zdoub", "Qchar", "WFact"), from = 4, to = 7000) at testthat/test.fst.R:221
  2: read.fst("FactorStore/data1.fst", columns = selColumns, from = from, to = to) at testthat/test.fst.R:36
  3: fstRead(fileName, columns, from, to)
  
  16. Error: Multiple sizes of 1-byte factor columns  are stored correctly (@test.fst.factor.R#75) 
  LENGTH or similar applied to NULL object
  1: TestWriteRead(dataTable) at testthat/test.fst.factor.R:75
  2: read.fst("FactorStore/data1.fst") at testthat/test.fst.factor.R:47
  3: fstRead(fileName, columns, from, to)
  
  17. Error: Multiple sizes of 2-byte factor columns  are stored correctly (@test.fst.factor.R#85) 
  LENGTH or similar applied to NULL object
  1: TestWriteRead(dataTable) at testthat/test.fst.factor.R:85
  2: read.fst("FactorStore/data1.fst") at testthat/test.fst.factor.R:47
  3: fstRead(fileName, columns, from, to)
  
  18. Error: Multiple sizes of 4-byte factor columns  are stored correctly (@test.fst.factor.R#95) 
  LENGTH or similar applied to NULL object
  1: TestWriteRead(dataTable) at testthat/test.fst.factor.R:95
  2: read.fst("FactorStore/data1.fst") at testthat/test.fst.factor.R:47
  3: fstRead(fileName, columns, from, to)
  
  19. Error: preserves three logical values (@test.roundtrip.R#24) ---------------
  LENGTH or similar applied to NULL object
  1: expect_identical(roundtrip_vector(x), x) at testthat/test.roundtrip.R:24
  2: identical(object, expected)
  3: roundtrip_vector(x)
  4: roundtrip(df) at testthat/test.roundtrip.R:7
  5: read.fst(temp) at testthat/test.roundtrip.R:16
  6: fstRead(fileName, columns, from, to)
  
  20. Error: preserves integer values (@test.roundtrip.R#33) ---------------------
  LENGTH or similar applied to NULL object
  1: expect_identical(roundtrip_vector(x), x) at testthat/test.roundtrip.R:33
  2: identical(object, expected)
  3: roundtrip_vector(x)
  4: roundtrip(df) at testthat/test.roundtrip.R:7
  5: read.fst(temp) at testthat/test.roundtrip.R:16
  6: fstRead(fileName, columns, from, to)
  
  21. Error: preserves special floating point values (@test.roundtrip.R#41) ------
  LENGTH or similar applied to NULL object
  1: expect_identical(roundtrip_vector(x), x) at testthat/test.roundtrip.R:41
  2: identical(object, expected)
  3: roundtrip_vector(x)
  4: roundtrip(df) at testthat/test.roundtrip.R:7
  5: read.fst(temp) at testthat/test.roundtrip.R:16
  6: fstRead(fileName, columns, from, to)
  
  22. Error: doesn't lose precision (@test.roundtrip.R#46) -----------------------
  LENGTH or similar applied to NULL object
  1: expect_identical(roundtrip_vector(x), x) at testthat/test.roundtrip.R:46
  2: identical(object, expected)
  3: roundtrip_vector(x)
  4: roundtrip(df) at testthat/test.roundtrip.R:7
  5: read.fst(temp) at testthat/test.roundtrip.R:16
  6: fstRead(fileName, columns, from, to)
  
  23. Error: preserves character values (@test.roundtrip.R#53) -------------------
  LENGTH or similar applied to NULL object
  1: expect_identical(roundtrip_vector(x), x) at testthat/test.roundtrip.R:53
  2: identical(object, expected)
  3: roundtrip_vector(x)
  4: roundtrip(df) at testthat/test.roundtrip.R:7
  5: read.fst(temp) at testthat/test.roundtrip.R:16
  6: fstRead(fileName, columns, from, to)
  
  24. Error: can have NA on end of string (@test.roundtrip.R#58) -----------------
  LENGTH or similar applied to NULL object
  1: expect_identical(roundtrip_vector(x), x) at testthat/test.roundtrip.R:58
  2: identical(object, expected)
  3: roundtrip_vector(x)
  4: roundtrip(df) at testthat/test.roundtrip.R:7
  5: read.fst(temp) at testthat/test.roundtrip.R:16
  6: fstRead(fileName, columns, from, to)
  
  25. Error: preserves simple factor (@test.roundtrip.R#73) ----------------------
  LENGTH or similar applied to NULL object
  1: expect_identical(roundtrip_vector(x), x) at testthat/test.roundtrip.R:73
  2: identical(object, expected)
  3: roundtrip_vector(x)
  4: roundtrip(df) at testthat/test.roundtrip.R:7
  5: read.fst(temp) at testthat/test.roundtrip.R:16
  6: fstRead(fileName, columns, from, to)
  
  26. Error: preserves NA in factor and levels (@test.roundtrip.R#81) ------------
  LENGTH or similar applied to NULL object
  1: expect_identical(roundtrip_vector(x1), x1) at testthat/test.roundtrip.R:81
  2: identical(object, expected)
  3: roundtrip_vector(x1)
  4: roundtrip(df) at testthat/test.roundtrip.R:7
  5: read.fst(temp) at testthat/test.roundtrip.R:16
  6: fstRead(fileName, columns, from, to)
  
  testthat results ================================================================
  OK: 10 SKIPPED: 0 FAILED: 26
  1. Error: Single uncompressed vectors (@test.fst.R#72) 
  2. Error: Small uncompressed vectors (@test.fst.R#78) 
  3. Error: Single weakly compressed vectors (@test.fst.R#84) 
  4. Error: Single small weakly compressed vectors (@test.fst.R#90) 
  5. Error: Single moderate compressed vectors (@test.fst.R#96) 
  6. Error: Single small moderate compressed vectors (@test.fst.R#102) 
  7. Error: Integer column block tests (@test.fst.R#156) 
  8. Error: Logical column block tests (@test.fst.R#161) 
  9. Error: Real column block tests (@test.fst.R#169) 
  1. ...
  
  Error: testthat unit tests failed
  Execution halted