Running ‘testthat.R’
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > 
  > test_check("trelliscope")
  Loading required package: trelliscope
  Loading required package: datadr
  Note: trelliscope will eventually be superseded by trelliscopejs: https://github.com/hafen/trelliscopejs
  OMP: Warning #96: Cannot form a team with 4 threads, using 2 instead.
  OMP: Hint Consider unsetting KMP_DEVICE_THREAD_LIMIT (KMP_ALL_THREADS), KMP_TEAMS_THREAD_LIMIT, and OMP_THREAD_LIMIT (if any are set).
  ── 1. Error: (unknown) (@test-1-simple-display.R#13)  ──────────────────────────
  SETLENGTH() cannot be applied to an ALTVEC object.
  1: datadr::divide(barley, by = "site") at testthat/test-1-simple-display.R:13
  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: find globals (@test-2-globals.R#10)  ──────────────────────────────
  SETLENGTH() cannot be applied to an ALTVEC object.
  1: datadr::divide(barley, by = "site") at testthat/test-2-globals.R:10
  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-3-globals-by-hand.R#10)  ─────────────────────────
  SETLENGTH() cannot be applied to an ALTVEC object.
  1: datadr::divide(barley, by = "site") at testthat/test-3-globals-by-hand.R:10
  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: 0 SKIPPED: 0 FAILED: 3
  1. Error: (unknown) (@test-1-simple-display.R#13) 
  2. Error: find globals (@test-2-globals.R#10) 
  3. Error: (unknown) (@test-3-globals-by-hand.R#10) 
  
  Error: testthat unit tests failed
  Execution halted