Running ‘testthat.R’ [5s/7s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > if (requireNamespace("testthat", quietly = TRUE)) {
  +   library("testthat")
  +   library("checkmate") # for more expect_*() functions
  +   library("mlr3benchmark")
  +   test_check("mlr3benchmark")
  + }
  INFO  [17:13:08.955] [mlr3] Running benchmark with 4 resampling iterations
  INFO  [17:13:09.094] [mlr3] Applying learner 'classif.featureless' on task 'pima' (iter 1/1)
  INFO  [17:13:09.175] [mlr3] Applying learner 'classif.rpart' on task 'pima' (iter 1/1)
  INFO  [17:13:09.235] [mlr3] Applying learner 'classif.featureless' on task 'spam' (iter 1/1)
  INFO  [17:13:09.321] [mlr3] Applying learner 'classif.rpart' on task 'spam' (iter 1/1)
  INFO  [17:13:09.594] [mlr3] Finished benchmark
  Saving _problems/test_BenchmarkAggr-101.R
  INFO  [17:13:10.669] [mlr3] Running benchmark with 18 resampling iterations
  INFO  [17:13:10.825] [mlr3] Applying learner 'classif.featureless' on task 'iris' (iter 1/3)
  INFO  [17:13:10.854] [mlr3] Applying learner 'classif.featureless' on task 'iris' (iter 2/3)
  INFO  [17:13:10.903] [mlr3] Applying learner 'classif.featureless' on task 'iris' (iter 3/3)
  INFO  [17:13:10.958] [mlr3] Applying learner 'classif.rpart' on task 'iris' (iter 1/3)
  INFO  [17:13:10.992] [mlr3] Applying learner 'classif.rpart' on task 'iris' (iter 2/3)
  INFO  [17:13:11.026] [mlr3] Applying learner 'classif.rpart' on task 'iris' (iter 3/3)
  INFO  [17:13:11.063] [mlr3] Applying learner 'rpart2' on task 'iris' (iter 1/3)
  INFO  [17:13:11.103] [mlr3] Applying learner 'rpart2' on task 'iris' (iter 2/3)
  INFO  [17:13:11.153] [mlr3] Applying learner 'rpart2' on task 'iris' (iter 3/3)
  INFO  [17:13:11.216] [mlr3] Applying learner 'classif.featureless' on task 'sonar' (iter 1/3)
  INFO  [17:13:11.261] [mlr3] Applying learner 'classif.featureless' on task 'sonar' (iter 2/3)
  INFO  [17:13:11.335] [mlr3] Applying learner 'classif.featureless' on task 'sonar' (iter 3/3)
  INFO  [17:13:11.501] [mlr3] Applying learner 'classif.rpart' on task 'sonar' (iter 1/3)
  INFO  [17:13:11.644] [mlr3] Applying learner 'classif.rpart' on task 'sonar' (iter 2/3)
  INFO  [17:13:11.736] [mlr3] Applying learner 'classif.rpart' on task 'sonar' (iter 3/3)
  INFO  [17:13:11.785] [mlr3] Applying learner 'rpart2' on task 'sonar' (iter 1/3)
  INFO  [17:13:11.833] [mlr3] Applying learner 'rpart2' on task 'sonar' (iter 2/3)
  INFO  [17:13:11.871] [mlr3] Applying learner 'rpart2' on task 'sonar' (iter 3/3)
  INFO  [17:13:11.934] [mlr3] Finished benchmark
  Saving _problems/test_autoplot_BenchmarkAggr-48.R
  [ FAIL 2 | WARN 1 | SKIP 0 | PASS 47 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_BenchmarkAggr.R:101:3'): mlr3 coercions ────────────────────────
  Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
  Backtrace:
      ▆
   1. └─mlr3::benchmark(benchmark_grid(task, learns, rsmp("holdout"))) at test_BenchmarkAggr.R:101:3
   2.   └─ResultData$new(grid, data_extra, store_backends = store_backends)
   3.     └─mlr3 (local) initialize(...)
   4.       └─mlr3:::.__ResultData__initialize(...)
   5.         ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
   6.         └─data.table:::`[.data.table`(...)
  ── Error ('test_autoplot_BenchmarkAggr.R:48:3'): autoplot with BenchmarkAggr from mlr3::benchmark() ──
  Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
  Backtrace:
      ▆
   1. └─mlr3::benchmark(benchmark_grid(task, learns, rsmp("cv", folds = 3))) at test_autoplot_BenchmarkAggr.R:48:3
   2.   └─ResultData$new(grid, data_extra, store_backends = store_backends)
   3.     └─mlr3 (local) initialize(...)
   4.       └─mlr3:::.__ResultData__initialize(...)
   5.         ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
   6.         └─data.table:::`[.data.table`(...)
  
  [ FAIL 2 | WARN 1 | SKIP 0 | PASS 47 ]
  Error:
  ! Test failures.
  Execution halted