Running 'testthat.R' [10s]
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:42:31.512] [mlr3] Running benchmark with 18 resampling iterations
  INFO  [10:42:31.790] [mlr3] Applying learner 'classif.featureless' on task 'iris' (iter 1/3)
  INFO  [10:42:31.891] [mlr3] Applying learner 'classif.featureless' on task 'iris' (iter 2/3)
  INFO  [10:42:31.939] [mlr3] Applying learner 'classif.featureless' on task 'iris' (iter 3/3)
  INFO  [10:42:31.999] [mlr3] Applying learner 'classif.rpart' on task 'iris' (iter 1/3)
  INFO  [10:42:32.075] [mlr3] Applying learner 'classif.rpart' on task 'iris' (iter 2/3)
  INFO  [10:42:32.143] [mlr3] Applying learner 'classif.rpart' on task 'iris' (iter 3/3)
  INFO  [10:42:32.218] [mlr3] Applying learner 'rpart2' on task 'iris' (iter 1/3)
  INFO  [10:42:32.290] [mlr3] Applying learner 'rpart2' on task 'iris' (iter 2/3)
  INFO  [10:42:32.362] [mlr3] Applying learner 'rpart2' on task 'iris' (iter 3/3)
  INFO  [10:42:32.428] [mlr3] Applying learner 'classif.featureless' on task 'sonar' (iter 1/3)
  INFO  [10:42:32.495] [mlr3] Applying learner 'classif.featureless' on task 'sonar' (iter 2/3)
  INFO  [10:42:32.547] [mlr3] Applying learner 'classif.featureless' on task 'sonar' (iter 3/3)
  INFO  [10:42:32.595] [mlr3] Applying learner 'classif.rpart' on task 'sonar' (iter 1/3)
  INFO  [10:42:32.667] [mlr3] Applying learner 'classif.rpart' on task 'sonar' (iter 2/3)
  INFO  [10:42:32.735] [mlr3] Applying learner 'classif.rpart' on task 'sonar' (iter 3/3)
  INFO  [10:42:32.795] [mlr3] Applying learner 'rpart2' on task 'sonar' (iter 1/3)
  INFO  [10:42:32.865] [mlr3] Applying learner 'rpart2' on task 'sonar' (iter 2/3)
  INFO  [10:42:32.947] [mlr3] Applying learner 'rpart2' on task 'sonar' (iter 3/3)
  INFO  [10:42:33.036] [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