Running ‘testthat.R’ [6s/11s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > if (requireNamespace("testthat", quietly = TRUE)) {
  +   library("testthat")
  +   library("mlr3batchmark")
  +   test_check("mlr3batchmark")
  + }
  Loading required package: batchtools
  Saving _problems/test_batchmark-13.R
  Saving _problems/test_batchmark-42.R
  Saving _problems/test_batchmark-67.R
  Saving _problems/test_batchmark-92.R
  Saving _problems/test_batchmark-114.R
  Saving _problems/test_reduceResultsBatchmark-13.R
  Saving _problems/test_reduceResultsBatchmark-50.R
  [ FAIL 7 | WARN 0 | SKIP 0 | PASS 0 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_batchmark.R:13:3'): basic workflow ─────────────────────────────
  Error in ``[.data.table`(design, , `:=`("group", .GRP), by = c("task_hash", "resampling_hash"))`: attempt access index 8/8 in VECTOR_ELT
  Backtrace:
      ▆
   1. └─mlr3batchmark::batchmark(design, reg = reg) at test_batchmark.R:13:3
   2.   ├─design[, `:=`("group", .GRP), by = c("task_hash", "resampling_hash")]
   3.   └─data.table:::`[.data.table`(...)
  ── Error ('test_batchmark.R:42:3'): parallel multicore ─────────────────────────
  Error in ``[.data.table`(design, , `:=`("group", .GRP), by = c("task_hash", "resampling_hash"))`: attempt access index 8/8 in VECTOR_ELT
  Backtrace:
      ▆
   1. └─mlr3batchmark::batchmark(design, reg = reg) at test_batchmark.R:42:3
   2.   ├─design[, `:=`("group", .GRP), by = c("task_hash", "resampling_hash")]
   3.   └─data.table:::`[.data.table`(...)
  ── Error ('test_batchmark.R:67:3'): failing jobs ───────────────────────────────
  Error in ``[.data.table`(design, , `:=`("group", .GRP), by = c("task_hash", "resampling_hash"))`: attempt access index 8/8 in VECTOR_ELT
  Backtrace:
      ▆
   1. └─mlr3batchmark::batchmark(design, reg = reg) at test_batchmark.R:67:3
   2.   ├─design[, `:=`("group", .GRP), by = c("task_hash", "resampling_hash")]
   3.   └─data.table:::`[.data.table`(...)
  ── Error ('test_batchmark.R:92:3'): marshaling ─────────────────────────────────
  Error in ``[.data.table`(design, , `:=`("group", .GRP), by = c("task_hash", "resampling_hash"))`: attempt access index 8/8 in VECTOR_ELT
  Backtrace:
      ▆
   1. └─mlr3batchmark::batchmark(...) at test_batchmark.R:92:3
   2.   ├─design[, `:=`("group", .GRP), by = c("task_hash", "resampling_hash")]
   3.   └─data.table:::`[.data.table`(...)
  ── Error ('test_batchmark.R:114:3'): adding parameter values works ─────────────
  Error in ``[.data.table`(design, , `:=`("group", .GRP), by = c("task_hash", "resampling_hash"))`: attempt access index 8/8 in VECTOR_ELT
  Backtrace:
      ▆
   1. └─mlr3batchmark::batchmark(design, reg = reg) at test_batchmark.R:114:3
   2.   ├─design[, `:=`("group", .GRP), by = c("task_hash", "resampling_hash")]
   3.   └─data.table:::`[.data.table`(...)
  ── Error ('test_reduceResultsBatchmark.R:13:3'): reduceResultsBatchmark ────────
  Error in ``[.data.table`(design, , `:=`("group", .GRP), by = c("task_hash", "resampling_hash"))`: attempt access index 8/8 in VECTOR_ELT
  Backtrace:
      ▆
   1. └─mlr3batchmark::batchmark(design, reg = reg, store_models = TRUE) at test_reduceResultsBatchmark.R:13:3
   2.   ├─design[, `:=`("group", .GRP), by = c("task_hash", "resampling_hash")]
   3.   └─data.table:::`[.data.table`(...)
  ── Error ('test_reduceResultsBatchmark.R:50:3'): warning is given when mlr3 versions mismatch ──
  Error in ``[.data.table`(design, , `:=`("group", .GRP), by = c("task_hash", "resampling_hash"))`: attempt access index 8/8 in VECTOR_ELT
  Backtrace:
      ▆
   1. └─mlr3batchmark::batchmark(...) at test_reduceResultsBatchmark.R:50:3
   2.   ├─design[, `:=`("group", .GRP), by = c("task_hash", "resampling_hash")]
   3.   └─data.table:::`[.data.table`(...)
  
  [ FAIL 7 | WARN 0 | SKIP 0 | PASS 0 ]
  Error:
  ! Test failures.
  Execution halted