Running ‘testthat.R’ [24s/36s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > if (requireNamespace("testthat", quietly = TRUE)) {
  +   library("testthat")
  +   library("mlr3filters")
  +   test_check("mlr3filters")
  + }
  [ FAIL 5 | WARN 0 | SKIP 4 | PASS 354 ]
  
  ══ Skipped tests (4) ═══════════════════════════════════════════════════════════
  • caret cannot be loaded (1): 'test_FilterFindCorrelation.R:1:1'
  • mlr3proba cannot be loaded (2): 'test_FilterUnivariateCox.R:1:1',
    'test_filter_surv.R:1:1'
  • mlr3spatiotempcv cannot be loaded (1): 'test_mlr3spatiotempcv.R:1:1'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_FilterInformationGain.R:6:3'): FilterInformationGain handles features with only missings gracefully ──
  <packageNotFoundError/error/condition>
  Error: The following packages could not be loaded: FSelectorRcpp
  Backtrace:
      ▆
   1. └─flt("information_gain")$calculate(task) at test_FilterInformationGain.R:6:3
   2.   └─mlr3filters:::.__Filter__calculate(...)
   3.     └─mlr3misc::require_namespaces(self$packages)
  ── Error ('test_FilterInformationGain.R:17:3'): FilterInformationGain handles features with only missings gracefully ──
  <packageNotFoundError/error/condition>
  Error: The following packages could not be loaded: FSelectorRcpp
  Backtrace:
      ▆
   1. └─flt("information_gain")$calculate(task) at test_FilterInformationGain.R:17:3
   2.   └─mlr3filters:::.__Filter__calculate(...)
   3.     └─mlr3misc::require_namespaces(self$packages)
  ── Error ('test_FilterRelief.R:6:3'): FilterRelief handles features with only missings gracefully ──
  <packageNotFoundError/error/condition>
  Error: The following packages could not be loaded: FSelectorRcpp
  Backtrace:
      ▆
   1. └─flt("relief")$calculate(task) at test_FilterRelief.R:6:3
   2.   └─mlr3filters:::.__Filter__calculate(...)
   3.     └─mlr3misc::require_namespaces(self$packages)
  ── Error ('test_FilterRelief.R:17:3'): FilterRelief handles features with only missings gracefully ──
  <packageNotFoundError/error/condition>
  Error: The following packages could not be loaded: FSelectorRcpp
  Backtrace:
      ▆
   1. └─flt("relief")$calculate(task) at test_FilterRelief.R:17:3
   2.   └─mlr3filters:::.__Filter__calculate(...)
   3.     └─mlr3misc::require_namespaces(self$packages)
  ── Error ('test_filter_boruta.R:4:3'): filter boruta works ─────────────────────
  <packageNotFoundError/error/condition>
  Error: The following packages could not be loaded: Boruta
  Backtrace:
      ▆
   1. └─f$calculate(task) at test_filter_boruta.R:4:3
   2.   └─mlr3filters:::.__Filter__calculate(...)
   3.     └─mlr3misc::require_namespaces(self$packages)
  
  [ FAIL 5 | WARN 0 | SKIP 4 | PASS 354 ]
  Error: Test failures
  Execution halted