Running ‘testthat.R’ [18s/20s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > 
  > test_check("datadr")
  Loading required package: datadr
  ── 1. Error: (unknown) (@test-dataops.R#8)  ────────────────────────────────────
  SETLENGTH() cannot be applied to an ALTVEC object.
  1: divide(iris, by = "Species") at testthat/test-dataops.R:8
  2: getDivideDF(data, by = by, postTransFn = postTransFn, bsvFn = bsvFn, update = update)
  3: d[, ff(.SD), by = key(d), .SDcols = nms]
  4: `[.data.table`(d, , ff(.SD), by = key(d), .SDcols = nms)
  
  ── 2. Error: (unknown) (@test-globals.R#5)  ────────────────────────────────────
  SETLENGTH() cannot be applied to an ALTVEC object.
  1: divide(iris, by = "Species") at testthat/test-globals.R:5
  2: getDivideDF(data, by = by, postTransFn = postTransFn, bsvFn = bsvFn, update = update)
  3: d[, ff(.SD), by = key(d), .SDcols = nms]
  4: `[.data.table`(d, , ff(.SD), by = key(d), .SDcols = nms)
  
  ── 3. Error: (unknown) (@test-hexbin.R#14)  ────────────────────────────────────
  SETLENGTH() cannot be applied to an ALTVEC object.
  1: divide(tmpDat, by = "by", update = TRUE) at testthat/test-hexbin.R:14
  2: getDivideDF(data, by = by, postTransFn = postTransFn, bsvFn = bsvFn, update = update)
  3: d[, ff(.SD), by = key(d), .SDcols = nms]
  4: `[.data.table`(d, , ff(.SD), by = key(d), .SDcols = nms)
  
  ── 4. Error: (unknown) (@test-join.R#8)  ───────────────────────────────────────
  SETLENGTH() cannot be applied to an ALTVEC object.
  1: divide(iris, by = "Species") at testthat/test-join.R:8
  2: getDivideDF(data, by = by, postTransFn = postTransFn, bsvFn = bsvFn, update = update)
  3: d[, ff(.SD), by = key(d), .SDcols = nms]
  4: `[.data.table`(d, , ff(.SD), by = key(d), .SDcols = nms)
  
  ── 5. Error: overwrite arguments (@test-kvLocalDisk.R#471)  ────────────────────
  SETLENGTH() cannot be applied to an ALTVEC object.
  1: divide(iris, by = "Species", output = localDiskConn(loc), overwrite = TRUE) at testthat/test-kvLocalDisk.R:471
  2: getDivideDF(data, by = by, postTransFn = postTransFn, bsvFn = bsvFn, update = update)
  3: d[, ff(.SD), by = key(d), .SDcols = nms]
  4: `[.data.table`(d, , ff(.SD), by = key(d), .SDcols = nms)
  
  ── 6. Error: data frame divide (@test-kvMemory.R#150)  ─────────────────────────
  SETLENGTH() cannot be applied to an ALTVEC object.
  1: divide(datadf, by = "Species") at testthat/test-kvMemory.R:150
  2: getDivideDF(data, by = by, postTransFn = postTransFn, bsvFn = bsvFn, update = update)
  3: d[, ff(.SD), by = key(d), .SDcols = nms]
  4: `[.data.table`(d, , ff(.SD), by = key(d), .SDcols = nms)
  
  ── 7. Error: by=TRUE (@test-quantile.R#61)  ────────────────────────────────────
  SETLENGTH() cannot be applied to an ALTVEC object.
  1: divide(tmp, by = "Species") at testthat/test-quantile.R:61
  2: getDivideDF(data, by = by, postTransFn = postTransFn, bsvFn = bsvFn, update = update)
  3: d[, ff(.SD), by = key(d), .SDcols = nms]
  4: `[.data.table`(d, , ff(.SD), by = key(d), .SDcols = nms)
  
  ── 8. Error: varTransFn (@test-quantile.R#88)  ─────────────────────────────────
  SETLENGTH() cannot be applied to an ALTVEC object.
  1: divide(tmp, by = "Species") at testthat/test-quantile.R:88
  2: getDivideDF(data, by = by, postTransFn = postTransFn, bsvFn = bsvFn, update = update)
  3: d[, ff(.SD), by = key(d), .SDcols = nms]
  4: `[.data.table`(d, , ff(.SD), by = key(d), .SDcols = nms)
  
  ── 9. Error: preTransFn (@test-quantile.R#103)  ────────────────────────────────
  SETLENGTH() cannot be applied to an ALTVEC object.
  1: divide(tmp, by = "Species") at testthat/test-quantile.R:103
  2: getDivideDF(data, by = by, postTransFn = postTransFn, bsvFn = bsvFn, update = update)
  3: d[, ff(.SD), by = key(d), .SDcols = nms]
  4: `[.data.table`(d, , ff(.SD), by = key(d), .SDcols = nms)
  
  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 
  -- In file  /tmp/RtmpRJR0Zr/iris.csv 
    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 
    * End of file - no data for chunk  16 
  ── 10. Error: date/time summaries (@test-summary.R#19)  ────────────────────────
  SETLENGTH() cannot be applied to an ALTVEC object.
  1: divide(iris2, by = "Species", update = TRUE) at testthat/test-summary.R:19
  2: getDivideDF(data, by = by, postTransFn = postTransFn, bsvFn = bsvFn, update = update)
  3: d[, ff(.SD), by = key(d), .SDcols = nms]
  4: `[.data.table`(d, , ff(.SD), by = key(d), .SDcols = nms)
  
  ── 11. Error: update with all NA subset (@test-summary.R#35)  ──────────────────
  SETLENGTH() cannot be applied to an ALTVEC object.
  1: divide(iris2, by = "Species") at testthat/test-summary.R:35
  2: getDivideDF(data, by = by, postTransFn = postTransFn, bsvFn = bsvFn, update = update)
  3: d[, ff(.SD), by = key(d), .SDcols = nms]
  4: `[.data.table`(d, , ff(.SD), by = key(d), .SDcols = nms)
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  OK: 118 SKIPPED: 6 FAILED: 11
  1. Error: (unknown) (@test-dataops.R#8) 
  2. Error: (unknown) (@test-globals.R#5) 
  3. Error: (unknown) (@test-hexbin.R#14) 
  4. Error: (unknown) (@test-join.R#8) 
  5. Error: overwrite arguments (@test-kvLocalDisk.R#471) 
  6. Error: data frame divide (@test-kvMemory.R#150) 
  7. Error: by=TRUE (@test-quantile.R#61) 
  8. Error: varTransFn (@test-quantile.R#88) 
  9. Error: preTransFn (@test-quantile.R#103) 
  1. ...
  
  Error: testthat unit tests failed
  Execution halted