Running ‘testthat.R’ [91s/133s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > if (requireNamespace("testthat", quietly = TRUE)) {
  +   library("testthat")
  +   library("mlr3learners")
  +   test_check("mlr3learners")
  + }
  Loading required package: mlr3
  Saving _problems/test_classif_ranger-86.R
  Saving _problems/test_classif_ranger-102.R
  Saving _problems/test_classif_svm-16.R
  Saving _problems/test_regr_ranger-64.R
  Saving _problems/test_regr_svm-24.R
  [ FAIL 5 | WARN 5 | SKIP 4 | PASS 649 ]
  
  ══ Skipped tests (4) ═══════════════════════════════════════════════════════════
  • On CRAN (4): 'test_classif_nnet.R:2:1', 'test_classif_xgboost.R:2:1',
    'test_regr_nnet.R:2:1', 'test_regr_xgboost.R:2:1'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_classif_ranger.R:86:3'): default_values ────────────────────────
  Error in `UseMethod("as_data_backend")`: no applicable method for 'as_data_backend' applied to an object of class "NULL"
  Backtrace:
      ▆
   1. └─mlr3::tsk("pima") at test_classif_ranger.R:86:3
   2.   └─mlr3misc::dictionary_sugar_get(dict = mlr_tasks, .key, ...)
   3.     └─mlr3misc:::dictionary_get(dict, .key, .dicts_suggest = .dicts_suggest)
   4.       └─mlr3misc:::dictionary_initialize_item(key, obj, dots)
   5.         ├─base::do.call(constructor, cargs)
   6.         └─mlr3 (local) `<fn>`()
   7.           └─mlr3::as_data_backend(load_dataset("PimaIndiansDiabetes2", "mlbench"))
  ── Error ('test_classif_ranger.R:102:3'): oob_error available without stored model ──
  Error in `UseMethod("as_data_backend")`: no applicable method for 'as_data_backend' applied to an object of class "NULL"
  Backtrace:
      ▆
   1. └─mlr3::tsk("pima") at test_classif_ranger.R:102:3
   2.   └─mlr3misc::dictionary_sugar_get(dict = mlr_tasks, .key, ...)
   3.     └─mlr3misc:::dictionary_get(dict, .key, .dicts_suggest = .dicts_suggest)
   4.       └─mlr3misc:::dictionary_initialize_item(key, obj, dots)
   5.         ├─base::do.call(constructor, cargs)
   6.         └─mlr3 (local) `<fn>`()
   7.           └─mlr3::as_data_backend(load_dataset("PimaIndiansDiabetes2", "mlbench"))
  ── Error ('test_classif_svm.R:16:3'): default_values ───────────────────────────
  Error in `UseMethod("as_data_backend")`: no applicable method for 'as_data_backend' applied to an object of class "NULL"
  Backtrace:
      ▆
   1. └─mlr3::tsk("pima") at test_classif_svm.R:16:3
   2.   └─mlr3misc::dictionary_sugar_get(dict = mlr_tasks, .key, ...)
   3.     └─mlr3misc:::dictionary_get(dict, .key, .dicts_suggest = .dicts_suggest)
   4.       └─mlr3misc:::dictionary_initialize_item(key, obj, dots)
   5.         ├─base::do.call(constructor, cargs)
   6.         └─mlr3 (local) `<fn>`()
   7.           └─mlr3::as_data_backend(load_dataset("PimaIndiansDiabetes2", "mlbench"))
  ── Error ('test_regr_ranger.R:64:3'): default_values ───────────────────────────
  Error in `UseMethod("as_data_backend")`: no applicable method for 'as_data_backend' applied to an object of class "NULL"
  Backtrace:
      ▆
   1. └─mlr3::tsk("pima") at test_regr_ranger.R:64:3
   2.   └─mlr3misc::dictionary_sugar_get(dict = mlr_tasks, .key, ...)
   3.     └─mlr3misc:::dictionary_get(dict, .key, .dicts_suggest = .dicts_suggest)
   4.       └─mlr3misc:::dictionary_initialize_item(key, obj, dots)
   5.         ├─base::do.call(constructor, cargs)
   6.         └─mlr3 (local) `<fn>`()
   7.           └─mlr3::as_data_backend(load_dataset("PimaIndiansDiabetes2", "mlbench"))
  ── Error ('test_regr_svm.R:24:3'): default_values ──────────────────────────────
  Error in `UseMethod("as_data_backend")`: no applicable method for 'as_data_backend' applied to an object of class "NULL"
  Backtrace:
      ▆
   1. └─mlr3::tsk("pima") at test_regr_svm.R:24:3
   2.   └─mlr3misc::dictionary_sugar_get(dict = mlr_tasks, .key, ...)
   3.     └─mlr3misc:::dictionary_get(dict, .key, .dicts_suggest = .dicts_suggest)
   4.       └─mlr3misc:::dictionary_initialize_item(key, obj, dots)
   5.         ├─base::do.call(constructor, cargs)
   6.         └─mlr3 (local) `<fn>`()
   7.           └─mlr3::as_data_backend(load_dataset("PimaIndiansDiabetes2", "mlbench"))
  
  [ FAIL 5 | WARN 5 | SKIP 4 | PASS 649 ]
  Error:
  ! Test failures.
  Execution halted