Running ‘testthat.R’ [97s/163s]
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
  [ FAIL 7 | WARN 0 | SKIP 2 | PASS 617 ]
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • On CRAN (2)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test_surv_cv_glmnet.R:5:3): autotest ─────────────────────────────────
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'mlr3proba'
  Backtrace:
       ▆
    1. ├─mlr3::lrn("surv.cv_glmnet") at test_surv_cv_glmnet.R:5:2
    2. │ └─mlr3misc::dictionary_sugar_get(mlr_learners, .key, ...)
    3. │   └─mlr3misc:::dictionary_get(dict, .key)
    4. │     └─mlr3misc:::dictionary_initialize_item(key, obj, dots)
    5. │       ├─base::do.call(constructor$new, cargs)
    6. │       └─R6 `<fn>`()
    7. │         └─R6 get_inherit()
    8. │           └─base::eval(inherit, parent_env, NULL)
    9. │             └─base::eval(inherit, parent_env, NULL)
   10. └─base::loadNamespace(x)
   11.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   12.     └─base withOneRestart(expr, restarts[[1L]])
   13.       └─base doWithOneRestart(return(expr), restart)
  ── Error (test_surv_cv_glmnet.R:14:3): selected_features ───────────────────────
  Error: Element with key 'gbcs' not found in DictionaryTask!
  Backtrace:
      ▆
   1. └─mlr3::tsk("gbcs") at test_surv_cv_glmnet.R:14:2
   2.   └─mlr3misc::dictionary_sugar_get(mlr_tasks, .key, ...)
   3.     └─mlr3misc:::dictionary_get(dict, .key)
   4.       └─mlr3misc:::dictionary_retrieve_item(self, key)
   5.         └─mlr3misc::stopf(...)
  ── Error (test_surv_glmnet.R:5:3): autotest ────────────────────────────────────
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'mlr3proba'
  Backtrace:
       ▆
    1. ├─mlr3::lrn("surv.glmnet", lambda = 0.1) at test_surv_glmnet.R:5:2
    2. │ └─mlr3misc::dictionary_sugar_get(mlr_learners, .key, ...)
    3. │   ├─checkmate::assert_r6(dictionary_initialize_item(.key, obj, dots[ii]))
    4. │   │ └─checkmate::checkR6(...)
    5. │   └─mlr3misc:::dictionary_initialize_item(.key, obj, dots[ii])
    6. │     ├─base::do.call(constructor$new, cargs)
    7. │     └─R6 `<fn>`()
    8. │       └─R6 get_inherit()
    9. │         └─base::eval(inherit, parent_env, NULL)
   10. │           └─base::eval(inherit, parent_env, NULL)
   11. └─base::loadNamespace(x)
   12.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   13.     └─base withOneRestart(expr, restarts[[1L]])
   14.       └─base doWithOneRestart(return(expr), restart)
  ── Error (test_surv_glmnet.R:14:3): selected_features ──────────────────────────
  Error: Element with key 'gbcs' not found in DictionaryTask!
  Backtrace:
      ▆
   1. └─mlr3::tsk("gbcs") at test_surv_glmnet.R:14:2
   2.   └─mlr3misc::dictionary_sugar_get(mlr_tasks, .key, ...)
   3.     └─mlr3misc:::dictionary_get(dict, .key)
   4.       └─mlr3misc:::dictionary_retrieve_item(self, key)
   5.         └─mlr3misc::stopf(...)
  ── Error (test_surv_ranger.R:2:3): autotest ────────────────────────────────────
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'mlr3proba'
  Backtrace:
       ▆
    1. ├─global with_seed(...) at test_surv_ranger.R:2:2
    2. │ └─base::force(expr)
    3. ├─mlr_learners$get("surv.ranger") at test_surv_ranger.R:3:4
    4. │ └─mlr3misc:::dictionary_get(self, key, ...)
    5. │   └─mlr3misc:::dictionary_initialize_item(key, obj, dots)
    6. │     ├─base::do.call(constructor$new, cargs)
    7. │     └─R6 `<fn>`()
    8. │       └─R6 get_inherit()
    9. │         └─base::eval(inherit, parent_env, NULL)
   10. │           └─base::eval(inherit, parent_env, NULL)
   11. └─base::loadNamespace(x)
   12.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   13.     └─base withOneRestart(expr, restarts[[1L]])
   14.       └─base doWithOneRestart(return(expr), restart)
  ── Error (test_surv_ranger.R:12:3): importance ─────────────────────────────────
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'mlr3proba'
  Backtrace:
       ▆
    1. ├─mlr_learners$get("surv.ranger") at test_surv_ranger.R:12:2
    2. │ └─mlr3misc:::dictionary_get(self, key, ...)
    3. │   └─mlr3misc:::dictionary_initialize_item(key, obj, dots)
    4. │     ├─base::do.call(constructor$new, cargs)
    5. │     └─R6 `<fn>`()
    6. │       └─R6 get_inherit()
    7. │         └─base::eval(inherit, parent_env, NULL)
    8. │           └─base::eval(inherit, parent_env, NULL)
    9. └─base::loadNamespace(x)
   10.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   11.     └─base withOneRestart(expr, restarts[[1L]])
   12.       └─base doWithOneRestart(return(expr), restart)
  ── Error (test_surv_ranger.R:18:3): mtry.ratio ─────────────────────────────────
  Error: Element with key 'rats' not found in DictionaryTask!
  Backtrace:
      ▆
   1. └─mlr3::tsk("rats") at test_surv_ranger.R:18:2
   2.   └─mlr3misc::dictionary_sugar_get(mlr_tasks, .key, ...)
   3.     └─mlr3misc:::dictionary_get(dict, .key)
   4.       └─mlr3misc:::dictionary_retrieve_item(self, key)
   5.         └─mlr3misc::stopf(...)
  
  [ FAIL 7 | WARN 0 | SKIP 2 | PASS 617 ]
  Error: Test failures
  Execution halted