Running ‘testthat.R’ [12s/14s]
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")
  + }
  Saving _problems/test_BenchmarkAggr-99.R
  INFO  [10:04:45.637] [mlr3] Running benchmark with 18 resampling iterations
  INFO  [10:04:46.385] [mlr3] Applying learner 'classif.featureless' on task 'iris' (iter 1/3)
  INFO  [10:04:46.515] [mlr3] Applying learner 'classif.featureless' on task 'iris' (iter 2/3)
  INFO  [10:04:46.577] [mlr3] Applying learner 'classif.featureless' on task 'iris' (iter 3/3)
  INFO  [10:04:46.637] [mlr3] Applying learner 'classif.rpart' on task 'iris' (iter 1/3)
  INFO  [10:04:46.712] [mlr3] Applying learner 'classif.rpart' on task 'iris' (iter 2/3)
  INFO  [10:04:46.854] [mlr3] Applying learner 'classif.rpart' on task 'iris' (iter 3/3)
  INFO  [10:04:46.998] [mlr3] Applying learner 'rpart2' on task 'iris' (iter 1/3)
  INFO  [10:04:47.076] [mlr3] Applying learner 'rpart2' on task 'iris' (iter 2/3)
  INFO  [10:04:47.184] [mlr3] Applying learner 'rpart2' on task 'iris' (iter 3/3)
  INFO  [10:04:47.252] [mlr3] Applying learner 'classif.featureless' on task 'sonar' (iter 1/3)
  INFO  [10:04:47.315] [mlr3] Applying learner 'classif.featureless' on task 'sonar' (iter 2/3)
  INFO  [10:04:47.402] [mlr3] Applying learner 'classif.featureless' on task 'sonar' (iter 3/3)
  INFO  [10:04:47.461] [mlr3] Applying learner 'classif.rpart' on task 'sonar' (iter 1/3)
  INFO  [10:04:47.594] [mlr3] Applying learner 'classif.rpart' on task 'sonar' (iter 2/3)
  INFO  [10:04:47.700] [mlr3] Applying learner 'classif.rpart' on task 'sonar' (iter 3/3)
  INFO  [10:04:47.789] [mlr3] Applying learner 'rpart2' on task 'sonar' (iter 1/3)
  INFO  [10:04:47.881] [mlr3] Applying learner 'rpart2' on task 'sonar' (iter 2/3)
  INFO  [10:04:47.976] [mlr3] Applying learner 'rpart2' on task 'sonar' (iter 3/3)
  INFO  [10:04:48.083] [mlr3] Finished benchmark
  [ FAIL 1 | WARN 2 | SKIP 0 | PASS 50 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_BenchmarkAggr.R:99:3'): mlr3 coercions ─────────────────────────
  Error in `UseMethod("as_data_backend")`: no applicable method for 'as_data_backend' applied to an object of class "NULL"
  Backtrace:
      ▆
   1. └─mlr3::tsks(c("pima", "spam")) at test_BenchmarkAggr.R:99:3
   2.   └─mlr3misc::dictionary_sugar_mget(dict = mlr_tasks, .keys, ...)
   3.     └─base::lapply(...)
   4.       └─mlr3misc (local) FUN(X[[i]], ...)
   5.         └─mlr3misc:::dictionary_get(dict, .key, .dicts_suggest = .dicts_suggest)
   6.           └─mlr3misc:::dictionary_initialize_item(key, obj, dots)
   7.             ├─base::do.call(constructor, cargs)
   8.             └─mlr3 (local) `<fn>`()
   9.               └─mlr3::as_data_backend(load_dataset("PimaIndiansDiabetes2", "mlbench"))
  
  [ FAIL 1 | WARN 2 | SKIP 0 | PASS 50 ]
  Error:
  ! Test failures.
  Execution halted