Running ‘testthat.R’ [201s/256s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > if (requireNamespace("testthat", quietly = TRUE)) {
  +   library(testthat)
  +   library(checkmate)
  +   library(mlr3fselect)
  +   test_check("mlr3fselect")
  + }
  Loading required package: mlr3
  
  Attaching package: 'data.table'
  
  The following object is masked from 'package:base':
  
      %notin%
  
  Saving _problems/test_ArchiveBatchFSelect-60.R
  Saving _problems/test_AutoFSelector-209.R
  Saving _problems/test_FSelectInstanceSingleCrit-63.R
  Saving _problems/test_FSelectInstanceSingleCrit-92.R
  Saving _problems/test_FSelectInstanceSingleCrit-121.R
  Saving _problems/test_FSelectorRFE-102.R
  Saving _problems/test_FSelectorRFE-107.R
  Saving _problems/test_FSelectorRFE-122.R
  Saving _problems/test_FSelectorRFE-133.R
  Saving _problems/test_FSelectorRFE-144.R
  Saving _problems/test_FSelectorRFE-164.R
  Saving _problems/test_FSelectorRFECV-85.R
  Saving _problems/test_ObjectiveFSelect-79.R
  Saving _problems/test_ObjectiveFSelect-146.R
  Saving _problems/test_extract_inner_fselect_archives-191.R
  Saving _problems/test_extract_inner_fselect_result-167.R
  Saving _problems/test_fselect-9.R
  Saving _problems/test_fselect-24.R
  Saving _problems/test_fselect-39.R
  Saving _problems/test_fselect_nested-10.R
  Saving _problems/test_fsi-8.R
  Saving _problems/test_fsi-19.R
  Saving _problems/test_fsi-29.R
  Saving _problems/test_fsi-72.R
  Saving _problems/test_mlr_callbacks-12.R
  Saving _problems/test_mlr_callbacks-72.R
  Saving _problems/test_mlr_callbacks-95.R
  [ FAIL 27 | WARN 27 | SKIP 18 | PASS 5184 ]
  
  ══ Skipped tests (18) ══════════════════════════════════════════════════════════
  • On CRAN (18): 'test_ArchiveAsyncFSelect.R:2:1',
    'test_ArchiveAsyncFSelectFrozen.R:2:1', 'test_AutoFSelector.R:2:3',
    'test_AutoFSelector.R:29:3', 'test_AutoFSelector.R:64:3',
    'test_AutoFSelector.R:266:3', 'test_CallbackAsyncFSelect.R:2:1',
    'test_FSelectInstanceAsyncMultiCrit.R:2:1',
    'test_FSelectInstanceAsyncSingleCrit.R:2:1',
    'test_FSelectorAsyncDesignPoints.R:2:1',
    'test_FSelectorAsyncExhaustiveSearch.R:2:1',
    'test_FSelectorAsyncRandomSearch.R:2:1', 'test_ObjectiveFSelectAsync.R:97:3',
    'test_ObjectiveFSelectAsync.R:181:3', 'test_auto_fselector.R:41:3',
    'test_auto_fselector.R:65:3', 'test_fsi_async.R:2:1',
    'test_mlr_callbacks.R:108:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_ArchiveBatchFSelect.R:53:3'): ArchiveBatchFSelect as.data.table function works ──
  Error in `UseMethod("as_data_backend")`: no applicable method for 'as_data_backend' applied to an object of class "NULL"
  Backtrace:
       ▆
    1. ├─mlr3fselect::fselect(...) at test_ArchiveBatchFSelect.R:53:3
    2. │ └─FSelectInstanceBatchSingleCrit$new(...)
    3. │   └─mlr3fselect (local) initialize(...)
    4. │     └─mlr3fselect:::.__FSelectInstanceBatchSingleCrit__initialize(...)
    5. │       ├─ArchiveBatchFSelect$new(...)
    6. │       │ └─mlr3fselect (local) initialize(...)
    7. │       │   └─mlr3fselect:::.__ArchiveBatchFSelect__initialize(...)
    8. │       │     └─super$initialize(search_space, codomain, check_values)
    9. │       │       └─bbotk:::.__ArchiveBatch__initialize(...)
   10. │       │         └─super$initialize(...)
   11. │       │           └─bbotk:::.__Archive__initialize(...)
   12. │       │             └─paradox::assert_param_set(search_space)
   13. │       │               └─checkmate::assert_r6(param_set, "ParamSet")
   14. │       │                 └─checkmate::checkR6(...)
   15. │       ├─mlr3fselect:::task_to_domain(assert_task(task))
   16. │       └─mlr3::assert_task(task)
   17. │         └─checkmate::assert_class(task, "Task", .var.name = .var.name)
   18. │           └─checkmate::checkClass(x, classes, ordered, null.ok)
   19. └─mlr3::tsk("pima")
   20.   └─mlr3misc::dictionary_sugar_get(dict = mlr_tasks, .key, ...)
   21.     └─mlr3misc:::dictionary_get(dict, .key, .dicts_suggest = .dicts_suggest)
   22.       └─mlr3misc:::dictionary_initialize_item(key, obj, dots)
   23.         ├─base::do.call(constructor, cargs)
   24.         └─mlr3 (local) `<fn>`()
   25.           └─mlr3::as_data_backend(load_dataset("PimaIndiansDiabetes2", "mlbench"))
  ── Error ('test_AutoFSelector.R:209:3'): AutoFSelector get_base_learner method works ──
  Error in `UseMethod("as_data_backend")`: no applicable method for 'as_data_backend' applied to an object of class "NULL"
  Backtrace:
       ▆
    1. ├─afs$train(tsk("pima")) at test_AutoFSelector.R:209:3
    2. │ └─mlr3:::.__Learner__train(...)
    3. │   ├─mlr3::assert_task(as_task(task))
    4. │   │ └─checkmate::assert_class(task, "Task", .var.name = .var.name)
    5. │   │   └─checkmate::checkClass(x, classes, ordered, null.ok)
    6. │   └─mlr3::as_task(task)
    7. └─mlr3::tsk("pima")
    8.   └─mlr3misc::dictionary_sugar_get(dict = mlr_tasks, .key, ...)
    9.     └─mlr3misc:::dictionary_get(dict, .key, .dicts_suggest = .dicts_suggest)
   10.       └─mlr3misc:::dictionary_initialize_item(key, obj, dots)
   11.         ├─base::do.call(constructor, cargs)
   12.         └─mlr3 (local) `<fn>`()
   13.           └─mlr3::as_data_backend(load_dataset("PimaIndiansDiabetes2", "mlbench"))
  ── Error ('test_FSelectInstanceSingleCrit.R:63:3'): always include variable works ──
  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_FSelectInstanceSingleCrit.R:63: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_FSelectInstanceSingleCrit.R:92:3'): always include variables works ──
  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_FSelectInstanceSingleCrit.R:92: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_FSelectInstanceSingleCrit.R:121:3'): objective contains no benchmark results ──
  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_FSelectInstanceSingleCrit.R:121: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_FSelectorRFE.R:92:3'): learner without importance method throw an error ──
  Error in `UseMethod("as_data_backend")`: no applicable method for 'as_data_backend' applied to an object of class "NULL"
  Backtrace:
       ▆
    1. ├─testthat::expect_error(...) at test_FSelectorRFE.R:92:3
    2. │ └─testthat:::expect_condition_matching_(...)
    3. │   └─testthat:::quasi_capture(...)
    4. │     ├─testthat (local) .capture(...)
    5. │     │ └─base::withCallingHandlers(...)
    6. │     └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    7. ├─mlr3fselect::fselect(...)
    8. │ └─FSelectInstanceBatchSingleCrit$new(...)
    9. │   └─mlr3fselect (local) initialize(...)
   10. │     └─mlr3fselect:::.__FSelectInstanceBatchSingleCrit__initialize(...)
   11. │       ├─ArchiveBatchFSelect$new(...)
   12. │       │ └─mlr3fselect (local) initialize(...)
   13. │       │   └─mlr3fselect:::.__ArchiveBatchFSelect__initialize(...)
   14. │       │     └─super$initialize(search_space, codomain, check_values)
   15. │       │       └─bbotk:::.__ArchiveBatch__initialize(...)
   16. │       │         └─super$initialize(...)
   17. │       │           └─bbotk:::.__Archive__initialize(...)
   18. │       │             └─paradox::assert_param_set(search_space)
   19. │       │               └─checkmate::assert_r6(param_set, "ParamSet")
   20. │       │                 └─checkmate::checkR6(...)
   21. │       ├─mlr3fselect:::task_to_domain(assert_task(task))
   22. │       └─mlr3::assert_task(task)
   23. │         └─checkmate::assert_class(task, "Task", .var.name = .var.name)
   24. │           └─checkmate::checkClass(x, classes, ordered, null.ok)
   25. └─mlr3::tsk("pima")
   26.   └─mlr3misc::dictionary_sugar_get(dict = mlr_tasks, .key, ...)
   27.     └─mlr3misc:::dictionary_get(dict, .key, .dicts_suggest = .dicts_suggest)
   28.       └─mlr3misc:::dictionary_initialize_item(key, obj, dots)
   29.         ├─base::do.call(constructor, cargs)
   30.         └─mlr3 (local) `<fn>`()
   31.           └─mlr3::as_data_backend(load_dataset("PimaIndiansDiabetes2", "mlbench"))
  ── Error ('test_FSelectorRFE.R:107:3'): fix_importance function works ──────────
  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_FSelectorRFE.R:107: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_FSelectorRFE.R:122:3'): raw_importance function works ──────────
  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_FSelectorRFE.R:122: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_FSelectorRFE.R:133:3'): rank_importance function works ─────────
  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_FSelectorRFE.R:133: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_FSelectorRFE.R:144:3'): average_importance function works ──────
  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_FSelectorRFE.R:144: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_FSelectorRFE.R:157:3'): works without storing models ───────────
  Error in `UseMethod("as_data_backend")`: no applicable method for 'as_data_backend' applied to an object of class "NULL"
  Backtrace:
       ▆
    1. ├─mlr3fselect::fselect(...) at test_FSelectorRFE.R:157:3
    2. │ └─FSelectInstanceBatchSingleCrit$new(...)
    3. │   └─mlr3fselect (local) initialize(...)
    4. │     └─mlr3fselect:::.__FSelectInstanceBatchSingleCrit__initialize(...)
    5. │       ├─ArchiveBatchFSelect$new(...)
    6. │       │ └─mlr3fselect (local) initialize(...)
    7. │       │   └─mlr3fselect:::.__ArchiveBatchFSelect__initialize(...)
    8. │       │     └─super$initialize(search_space, codomain, check_values)
    9. │       │       └─bbotk:::.__ArchiveBatch__initialize(...)
   10. │       │         └─super$initialize(...)
   11. │       │           └─bbotk:::.__Archive__initialize(...)
   12. │       │             └─paradox::assert_param_set(search_space)
   13. │       │               └─checkmate::assert_r6(param_set, "ParamSet")
   14. │       │                 └─checkmate::checkR6(...)
   15. │       ├─mlr3fselect:::task_to_domain(assert_task(task))
   16. │       └─mlr3::assert_task(task)
   17. │         └─checkmate::assert_class(task, "Task", .var.name = .var.name)
   18. │           └─checkmate::checkClass(x, classes, ordered, null.ok)
   19. └─mlr3::tsk("pima")
   20.   └─mlr3misc::dictionary_sugar_get(dict = mlr_tasks, .key, ...)
   21.     └─mlr3misc:::dictionary_get(dict, .key, .dicts_suggest = .dicts_suggest)
   22.       └─mlr3misc:::dictionary_initialize_item(key, obj, dots)
   23.         ├─base::do.call(constructor, cargs)
   24.         └─mlr3 (local) `<fn>`()
   25.           └─mlr3::as_data_backend(load_dataset("PimaIndiansDiabetes2", "mlbench"))
  ── Error ('test_FSelectorRFECV.R:75:3'): learner without importance method throw an error ──
  Error in `UseMethod("as_data_backend")`: no applicable method for 'as_data_backend' applied to an object of class "NULL"
  Backtrace:
       ▆
    1. ├─testthat::expect_error(...) at test_FSelectorRFECV.R:75:3
    2. │ └─testthat:::expect_condition_matching_(...)
    3. │   └─testthat:::quasi_capture(...)
    4. │     ├─testthat (local) .capture(...)
    5. │     │ └─base::withCallingHandlers(...)
    6. │     └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    7. ├─mlr3fselect::fselect(...)
    8. │ └─FSelectInstanceBatchSingleCrit$new(...)
    9. │   └─mlr3fselect (local) initialize(...)
   10. │     └─mlr3fselect:::.__FSelectInstanceBatchSingleCrit__initialize(...)
   11. │       ├─ArchiveBatchFSelect$new(...)
   12. │       │ └─mlr3fselect (local) initialize(...)
   13. │       │   └─mlr3fselect:::.__ArchiveBatchFSelect__initialize(...)
   14. │       │     └─super$initialize(search_space, codomain, check_values)
   15. │       │       └─bbotk:::.__ArchiveBatch__initialize(...)
   16. │       │         └─super$initialize(...)
   17. │       │           └─bbotk:::.__Archive__initialize(...)
   18. │       │             └─paradox::assert_param_set(search_space)
   19. │       │               └─checkmate::assert_r6(param_set, "ParamSet")
   20. │       │                 └─checkmate::checkR6(...)
   21. │       ├─mlr3fselect:::task_to_domain(assert_task(task))
   22. │       └─mlr3::assert_task(task)
   23. │         └─checkmate::assert_class(task, "Task", .var.name = .var.name)
   24. │           └─checkmate::checkClass(x, classes, ordered, null.ok)
   25. └─mlr3::tsk("pima")
   26.   └─mlr3misc::dictionary_sugar_get(dict = mlr_tasks, .key, ...)
   27.     └─mlr3misc:::dictionary_get(dict, .key, .dicts_suggest = .dicts_suggest)
   28.       └─mlr3misc:::dictionary_initialize_item(key, obj, dots)
   29.         ├─base::do.call(constructor, cargs)
   30.         └─mlr3 (local) `<fn>`()
   31.           └─mlr3::as_data_backend(load_dataset("PimaIndiansDiabetes2", "mlbench"))
  ── Error ('test_ObjectiveFSelect.R:79:3'): fast aggregation works ──────────────
  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_ObjectiveFSelect.R:79: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_ObjectiveFSelect.R:146:3'): fast aggregation conditions work ───
  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_ObjectiveFSelect.R:146: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_extract_inner_fselect_archives.R:191:3'): extract_inner_fselect_archives function works with multiple tasks ──
  Error in `UseMethod("as_data_backend")`: no applicable method for 'as_data_backend' applied to an object of class "NULL"
  Backtrace:
       ▆
    1. ├─mlr3::benchmark_grid(...) at test_extract_inner_fselect_archives.R:191:3
    2. │ ├─mlr3::assert_tasks(as_tasks(tasks))
    3. │ │ └─checkmate::assert_list(tasks, types = "Task")
    4. │ │   └─checkmate::checkList(...)
    5. │ │     └─... %and% checkListTypes(x, types)
    6. │ │       └─base::isTRUE(lhs)
    7. │ └─mlr3::as_tasks(tasks)
    8. └─mlr3::tsk("pima")
    9.   └─mlr3misc::dictionary_sugar_get(dict = mlr_tasks, .key, ...)
   10.     └─mlr3misc:::dictionary_get(dict, .key, .dicts_suggest = .dicts_suggest)
   11.       └─mlr3misc:::dictionary_initialize_item(key, obj, dots)
   12.         ├─base::do.call(constructor, cargs)
   13.         └─mlr3 (local) `<fn>`()
   14.           └─mlr3::as_data_backend(load_dataset("PimaIndiansDiabetes2", "mlbench"))
  ── Error ('test_extract_inner_fselect_result.R:167:3'): extract_inner_fselect_results function works with multiple tasks ──
  Error in `UseMethod("as_data_backend")`: no applicable method for 'as_data_backend' applied to an object of class "NULL"
  Backtrace:
       ▆
    1. ├─mlr3::benchmark_grid(...) at test_extract_inner_fselect_result.R:167:3
    2. │ ├─mlr3::assert_tasks(as_tasks(tasks))
    3. │ │ └─checkmate::assert_list(tasks, types = "Task")
    4. │ │   └─checkmate::checkList(...)
    5. │ │     └─... %and% checkListTypes(x, types)
    6. │ │       └─base::isTRUE(lhs)
    7. │ └─mlr3::as_tasks(tasks)
    8. └─mlr3::tsk("pima")
    9.   └─mlr3misc::dictionary_sugar_get(dict = mlr_tasks, .key, ...)
   10.     └─mlr3misc:::dictionary_get(dict, .key, .dicts_suggest = .dicts_suggest)
   11.       └─mlr3misc:::dictionary_initialize_item(key, obj, dots)
   12.         ├─base::do.call(constructor, cargs)
   13.         └─mlr3 (local) `<fn>`()
   14.           └─mlr3::as_data_backend(load_dataset("PimaIndiansDiabetes2", "mlbench"))
  ── Error ('test_fselect.R:2:3'): fselect function works with single measure ────
  Error in `UseMethod("as_data_backend")`: no applicable method for 'as_data_backend' applied to an object of class "NULL"
  Backtrace:
       ▆
    1. ├─mlr3fselect::fselect(...) at test_fselect.R:2:3
    2. │ └─FSelectInstanceBatchSingleCrit$new(...)
    3. │   └─mlr3fselect (local) initialize(...)
    4. │     └─mlr3fselect:::.__FSelectInstanceBatchSingleCrit__initialize(...)
    5. │       ├─ArchiveBatchFSelect$new(...)
    6. │       │ └─mlr3fselect (local) initialize(...)
    7. │       │   └─mlr3fselect:::.__ArchiveBatchFSelect__initialize(...)
    8. │       │     └─super$initialize(search_space, codomain, check_values)
    9. │       │       └─bbotk:::.__ArchiveBatch__initialize(...)
   10. │       │         └─super$initialize(...)
   11. │       │           └─bbotk:::.__Archive__initialize(...)
   12. │       │             └─paradox::assert_param_set(search_space)
   13. │       │               └─checkmate::assert_r6(param_set, "ParamSet")
   14. │       │                 └─checkmate::checkR6(...)
   15. │       ├─mlr3fselect:::task_to_domain(assert_task(task))
   16. │       └─mlr3::assert_task(task)
   17. │         └─checkmate::assert_class(task, "Task", .var.name = .var.name)
   18. │           └─checkmate::checkClass(x, classes, ordered, null.ok)
   19. └─mlr3::tsk("pima")
   20.   └─mlr3misc::dictionary_sugar_get(dict = mlr_tasks, .key, ...)
   21.     └─mlr3misc:::dictionary_get(dict, .key, .dicts_suggest = .dicts_suggest)
   22.       └─mlr3misc:::dictionary_initialize_item(key, obj, dots)
   23.         ├─base::do.call(constructor, cargs)
   24.         └─mlr3 (local) `<fn>`()
   25.           └─mlr3::as_data_backend(load_dataset("PimaIndiansDiabetes2", "mlbench"))
  ── Error ('test_fselect.R:17:3'): fselect function works with multiple measures ──
  Error in `UseMethod("as_data_backend")`: no applicable method for 'as_data_backend' applied to an object of class "NULL"
  Backtrace:
       ▆
    1. ├─mlr3fselect::fselect(...) at test_fselect.R:17:3
    2. │ └─FSelectInstanceBatchMultiCrit$new(...)
    3. │   └─mlr3fselect (local) initialize(...)
    4. │     └─mlr3fselect:::.__FSelectInstanceBatchMultiCrit__initialize(...)
    5. │       ├─ArchiveBatchFSelect$new(...)
    6. │       │ └─mlr3fselect (local) initialize(...)
    7. │       │   └─mlr3fselect:::.__ArchiveBatchFSelect__initialize(...)
    8. │       │     └─super$initialize(search_space, codomain, check_values)
    9. │       │       └─bbotk:::.__ArchiveBatch__initialize(...)
   10. │       │         └─super$initialize(...)
   11. │       │           └─bbotk:::.__Archive__initialize(...)
   12. │       │             └─paradox::assert_param_set(search_space)
   13. │       │               └─checkmate::assert_r6(param_set, "ParamSet")
   14. │       │                 └─checkmate::checkR6(...)
   15. │       ├─mlr3fselect:::task_to_domain(assert_task(task))
   16. │       └─mlr3::assert_task(task)
   17. │         └─checkmate::assert_class(task, "Task", .var.name = .var.name)
   18. │           └─checkmate::checkClass(x, classes, ordered, null.ok)
   19. └─mlr3::tsk("pima")
   20.   └─mlr3misc::dictionary_sugar_get(dict = mlr_tasks, .key, ...)
   21.     └─mlr3misc:::dictionary_get(dict, .key, .dicts_suggest = .dicts_suggest)
   22.       └─mlr3misc:::dictionary_initialize_item(key, obj, dots)
   23.         ├─base::do.call(constructor, cargs)
   24.         └─mlr3 (local) `<fn>`()
   25.           └─mlr3::as_data_backend(load_dataset("PimaIndiansDiabetes2", "mlbench"))
  ── Error ('test_fselect.R:32:3'): fselect function accepts string input for method ──
  Error in `UseMethod("as_data_backend")`: no applicable method for 'as_data_backend' applied to an object of class "NULL"
  Backtrace:
       ▆
    1. ├─mlr3fselect::fselect(...) at test_fselect.R:32:3
    2. │ └─FSelectInstanceBatchSingleCrit$new(...)
    3. │   └─mlr3fselect (local) initialize(...)
    4. │     └─mlr3fselect:::.__FSelectInstanceBatchSingleCrit__initialize(...)
    5. │       ├─ArchiveBatchFSelect$new(...)
    6. │       │ └─mlr3fselect (local) initialize(...)
    7. │       │   └─mlr3fselect:::.__ArchiveBatchFSelect__initialize(...)
    8. │       │     └─super$initialize(search_space, codomain, check_values)
    9. │       │       └─bbotk:::.__ArchiveBatch__initialize(...)
   10. │       │         └─super$initialize(...)
   11. │       │           └─bbotk:::.__Archive__initialize(...)
   12. │       │             └─paradox::assert_param_set(search_space)
   13. │       │               └─checkmate::assert_r6(param_set, "ParamSet")
   14. │       │                 └─checkmate::checkR6(...)
   15. │       ├─mlr3fselect:::task_to_domain(assert_task(task))
   16. │       └─mlr3::assert_task(task)
   17. │         └─checkmate::assert_class(task, "Task", .var.name = .var.name)
   18. │           └─checkmate::checkClass(x, classes, ordered, null.ok)
   19. └─mlr3::tsk("pima")
   20.   └─mlr3misc::dictionary_sugar_get(dict = mlr_tasks, .key, ...)
   21.     └─mlr3misc:::dictionary_get(dict, .key, .dicts_suggest = .dicts_suggest)
   22.       └─mlr3misc:::dictionary_initialize_item(key, obj, dots)
   23.         ├─base::do.call(constructor, cargs)
   24.         └─mlr3 (local) `<fn>`()
   25.           └─mlr3::as_data_backend(load_dataset("PimaIndiansDiabetes2", "mlbench"))
  ── Error ('test_fselect_nested.R:2:3'): fselect_nested function works ──────────
  Error in `UseMethod("as_data_backend")`: no applicable method for 'as_data_backend' applied to an object of class "NULL"
  Backtrace:
       ▆
    1. ├─mlr3fselect::fselect_nested(...) at test_fselect_nested.R:2:3
    2. │ └─mlr3::assert_task(task)
    3. │   └─checkmate::assert_class(task, "Task", .var.name = .var.name)
    4. │     └─checkmate::checkClass(x, classes, ordered, null.ok)
    5. └─mlr3::tsk("pima")
    6.   └─mlr3misc::dictionary_sugar_get(dict = mlr_tasks, .key, ...)
    7.     └─mlr3misc:::dictionary_get(dict, .key, .dicts_suggest = .dicts_suggest)
    8.       └─mlr3misc:::dictionary_initialize_item(key, obj, dots)
    9.         ├─base::do.call(constructor, cargs)
   10.         └─mlr3 (local) `<fn>`()
   11.           └─mlr3::as_data_backend(load_dataset("PimaIndiansDiabetes2", "mlbench"))
  ── Error ('test_fsi.R:2:3'): fsi function creates a FSelectInstanceBatchSingleCrit ──
  Error in `UseMethod("as_data_backend")`: no applicable method for 'as_data_backend' applied to an object of class "NULL"
  Backtrace:
       ▆
    1. ├─mlr3fselect::fsi(...) at test_fsi.R:2:3
    2. │ └─FSelectInstanceBatchSingleCrit$new(...)
    3. │   └─mlr3fselect (local) initialize(...)
    4. │     └─mlr3fselect:::.__FSelectInstanceBatchSingleCrit__initialize(...)
    5. │       ├─ArchiveBatchFSelect$new(...)
    6. │       │ └─mlr3fselect (local) initialize(...)
    7. │       │   └─mlr3fselect:::.__ArchiveBatchFSelect__initialize(...)
    8. │       │     └─super$initialize(search_space, codomain, check_values)
    9. │       │       └─bbotk:::.__ArchiveBatch__initialize(...)
   10. │       │         └─super$initialize(...)
   11. │       │           └─bbotk:::.__Archive__initialize(...)
   12. │       │             └─paradox::assert_param_set(search_space)
   13. │       │               └─checkmate::assert_r6(param_set, "ParamSet")
   14. │       │                 └─checkmate::checkR6(...)
   15. │       ├─mlr3fselect:::task_to_domain(assert_task(task))
   16. │       └─mlr3::assert_task(task)
   17. │         └─checkmate::assert_class(task, "Task", .var.name = .var.name)
   18. │           └─checkmate::checkClass(x, classes, ordered, null.ok)
   19. └─mlr3::tsk("pima")
   20.   └─mlr3misc::dictionary_sugar_get(dict = mlr_tasks, .key, ...)
   21.     └─mlr3misc:::dictionary_get(dict, .key, .dicts_suggest = .dicts_suggest)
   22.       └─mlr3misc:::dictionary_initialize_item(key, obj, dots)
   23.         ├─base::do.call(constructor, cargs)
   24.         └─mlr3 (local) `<fn>`()
   25.           └─mlr3::as_data_backend(load_dataset("PimaIndiansDiabetes2", "mlbench"))
  ── Error ('test_fsi.R:13:3'): fsi function creates a FSelectInstanceBatchMultiCrit ──
  Error in `UseMethod("as_data_backend")`: no applicable method for 'as_data_backend' applied to an object of class "NULL"
  Backtrace:
       ▆
    1. ├─mlr3fselect::fsi(...) at test_fsi.R:13:3
    2. │ └─FSelectInstanceBatchMultiCrit$new(...)
    3. │   └─mlr3fselect (local) initialize(...)
    4. │     └─mlr3fselect:::.__FSelectInstanceBatchMultiCrit__initialize(...)
    5. │       ├─ArchiveBatchFSelect$new(...)
    6. │       │ └─mlr3fselect (local) initialize(...)
    7. │       │   └─mlr3fselect:::.__ArchiveBatchFSelect__initialize(...)
    8. │       │     └─super$initialize(search_space, codomain, check_values)
    9. │       │       └─bbotk:::.__ArchiveBatch__initialize(...)
   10. │       │         └─super$initialize(...)
   11. │       │           └─bbotk:::.__Archive__initialize(...)
   12. │       │             └─paradox::assert_param_set(search_space)
   13. │       │               └─checkmate::assert_r6(param_set, "ParamSet")
   14. │       │                 └─checkmate::checkR6(...)
   15. │       ├─mlr3fselect:::task_to_domain(assert_task(task))
   16. │       └─mlr3::assert_task(task)
   17. │         └─checkmate::assert_class(task, "Task", .var.name = .var.name)
   18. │           └─checkmate::checkClass(x, classes, ordered, null.ok)
   19. └─mlr3::tsk("pima")
   20.   └─mlr3misc::dictionary_sugar_get(dict = mlr_tasks, .key, ...)
   21.     └─mlr3misc:::dictionary_get(dict, .key, .dicts_suggest = .dicts_suggest)
   22.       └─mlr3misc:::dictionary_initialize_item(key, obj, dots)
   23.         ├─base::do.call(constructor, cargs)
   24.         └─mlr3 (local) `<fn>`()
   25.           └─mlr3::as_data_backend(load_dataset("PimaIndiansDiabetes2", "mlbench"))
  ── Error ('test_fsi.R:29:3'): fsi and FSelectInstanceBatchSingleCrit are equal ──
  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_fsi.R:29: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_fsi.R:72:3'): fsi and FSelectInstanceBatchMultiCrit are equal ──
  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_fsi.R:72: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_mlr_callbacks.R:4:3'): backup callback works ───────────────────
  Error in `UseMethod("as_data_backend")`: no applicable method for 'as_data_backend' applied to an object of class "NULL"
  Backtrace:
       ▆
    1. ├─mlr3fselect::fselect(...) at test_mlr_callbacks.R:4:3
    2. │ └─FSelectInstanceBatchSingleCrit$new(...)
    3. │   └─mlr3fselect (local) initialize(...)
    4. │     └─mlr3fselect:::.__FSelectInstanceBatchSingleCrit__initialize(...)
    5. │       ├─ArchiveBatchFSelect$new(...)
    6. │       │ └─mlr3fselect (local) initialize(...)
    7. │       │   └─mlr3fselect:::.__ArchiveBatchFSelect__initialize(...)
    8. │       │     └─super$initialize(search_space, codomain, check_values)
    9. │       │       └─bbotk:::.__ArchiveBatch__initialize(...)
   10. │       │         └─super$initialize(...)
   11. │       │           └─bbotk:::.__Archive__initialize(...)
   12. │       │             └─paradox::assert_param_set(search_space)
   13. │       │               └─checkmate::assert_r6(param_set, "ParamSet")
   14. │       │                 └─checkmate::checkR6(...)
   15. │       ├─mlr3fselect:::task_to_domain(assert_task(task))
   16. │       └─mlr3::assert_task(task)
   17. │         └─checkmate::assert_class(task, "Task", .var.name = .var.name)
   18. │           └─checkmate::checkClass(x, classes, ordered, null.ok)
   19. └─mlr3::tsk("pima")
   20.   └─mlr3misc::dictionary_sugar_get(dict = mlr_tasks, .key, ...)
   21.     └─mlr3misc:::dictionary_get(dict, .key, .dicts_suggest = .dicts_suggest)
   22.       └─mlr3misc:::dictionary_initialize_item(key, obj, dots)
   23.         ├─base::do.call(constructor, cargs)
   24.         └─mlr3 (local) `<fn>`()
   25.           └─mlr3::as_data_backend(load_dataset("PimaIndiansDiabetes2", "mlbench"))
  ── Error ('test_mlr_callbacks.R:64:3'): internal tuning callback works ─────────
  Error in `UseMethod("as_data_backend")`: no applicable method for 'as_data_backend' applied to an object of class "NULL"
  Backtrace:
       ▆
    1. ├─mlr3fselect::fselect(...) at test_mlr_callbacks.R:64:3
    2. │ └─FSelectInstanceBatchSingleCrit$new(...)
    3. │   └─mlr3fselect (local) initialize(...)
    4. │     └─mlr3fselect:::.__FSelectInstanceBatchSingleCrit__initialize(...)
    5. │       ├─ArchiveBatchFSelect$new(...)
    6. │       │ └─mlr3fselect (local) initialize(...)
    7. │       │   └─mlr3fselect:::.__ArchiveBatchFSelect__initialize(...)
    8. │       │     └─super$initialize(search_space, codomain, check_values)
    9. │       │       └─bbotk:::.__ArchiveBatch__initialize(...)
   10. │       │         └─super$initialize(...)
   11. │       │           └─bbotk:::.__Archive__initialize(...)
   12. │       │             └─paradox::assert_param_set(search_space)
   13. │       │               └─checkmate::assert_r6(param_set, "ParamSet")
   14. │       │                 └─checkmate::checkR6(...)
   15. │       ├─mlr3fselect:::task_to_domain(assert_task(task))
   16. │       └─mlr3::assert_task(task)
   17. │         └─checkmate::assert_class(task, "Task", .var.name = .var.name)
   18. │           └─checkmate::checkClass(x, classes, ordered, null.ok)
   19. └─mlr3::tsk("pima")
   20.   └─mlr3misc::dictionary_sugar_get(dict = mlr_tasks, .key, ...)
   21.     └─mlr3misc:::dictionary_get(dict, .key, .dicts_suggest = .dicts_suggest)
   22.       └─mlr3misc:::dictionary_initialize_item(key, obj, dots)
   23.         ├─base::do.call(constructor, cargs)
   24.         └─mlr3 (local) `<fn>`()
   25.           └─mlr3::as_data_backend(load_dataset("PimaIndiansDiabetes2", "mlbench"))
  ── Error ('test_mlr_callbacks.R:95:3'): internal tuning callback works with AutoFSelector ──
  Error in `UseMethod("as_data_backend")`: no applicable method for 'as_data_backend' applied to an object of class "NULL"
  Backtrace:
       ▆
    1. ├─afs$train(tsk("pima")) at test_mlr_callbacks.R:95:3
    2. │ └─mlr3:::.__Learner__train(...)
    3. │   ├─mlr3::assert_task(as_task(task))
    4. │   │ └─checkmate::assert_class(task, "Task", .var.name = .var.name)
    5. │   │   └─checkmate::checkClass(x, classes, ordered, null.ok)
    6. │   └─mlr3::as_task(task)
    7. └─mlr3::tsk("pima")
    8.   └─mlr3misc::dictionary_sugar_get(dict = mlr_tasks, .key, ...)
    9.     └─mlr3misc:::dictionary_get(dict, .key, .dicts_suggest = .dicts_suggest)
   10.       └─mlr3misc:::dictionary_initialize_item(key, obj, dots)
   11.         ├─base::do.call(constructor, cargs)
   12.         └─mlr3 (local) `<fn>`()
   13.           └─mlr3::as_data_backend(load_dataset("PimaIndiansDiabetes2", "mlbench"))
  
  [ FAIL 27 | WARN 27 | SKIP 18 | PASS 5184 ]
  Error:
  ! Test failures.
  Execution halted