Running ‘testthat.R’ [82s/122s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > if (requireNamespace("testthat", quietly = TRUE)) {
  +   library("testthat")
  +   library("mlr3filters")
  +   test_check("mlr3filters")
  + }
  Saving _problems/test_FilterPerformance-8.R
  Saving _problems/test_FilterPermutation-7.R
  Saving _problems/test_filter_classif-9.R
  Saving _problems/test_filter_classif-34.R
  [ FAIL 4 | WARN 0 | SKIP 3 | PASS 470 ]
  
  ══ Skipped tests (3) ═══════════════════════════════════════════════════════════
  • On CRAN (1): 'test_mlr3spatiotempcv.R:2:1'
  • {mlr3proba} is not installed (2): 'test_FilterUnivariateCox.R:1:1',
    'test_filter_surv.R:1:1'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_FilterPerformance.R:8:3'): FilterPerformance ───────────────────
  Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
  Backtrace:
       ▆
    1. └─f$calculate(task) at test_FilterPerformance.R:8:3
    2.   └─mlr3filters:::.__Filter__calculate(...)
    3.     └─private$.calculate(task, nfeat)
    4.       └─mlr3filters:::.__FilterPerformance__.calculate(...)
    5.         └─mlr3misc::map_dbl(...)
    6.           └─mlr3misc:::map_mold(.x, .f, NA_real_, ...)
    7.             └─base::vapply(.x, .f, FUN.VALUE = .value, USE.NAMES = FALSE, ...)
    8.               └─mlr3filters (local) FUN(X[[i]], ...)
    9.                 └─mlr3::resample(task, self$learner, resampling, clone = character())
   10.                   └─ResultData$new(data, data_extra, store_backends = store_backends)
   11.                     └─mlr3 (local) initialize(...)
   12.                       └─mlr3:::.__ResultData__initialize(...)
   13.                         ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
   14.                         └─data.table:::`[.data.table`(...)
  ── Error ('test_FilterPermutation.R:7:3'): FilterPermutation ───────────────────
  Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
  Backtrace:
       ▆
    1. └─f$calculate(task) at test_FilterPermutation.R:7:3
    2.   └─mlr3filters:::.__Filter__calculate(...)
    3.     └─private$.calculate(task, nfeat)
    4.       └─mlr3filters:::.__FilterPermutation__.calculate(...)
    5.         └─mlr3::resample(task, self$learner, self$resampling)
    6.           └─ResultData$new(data, data_extra, store_backends = store_backends)
    7.             └─mlr3 (local) initialize(...)
    8.               └─mlr3:::.__ResultData__initialize(...)
    9.                 ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
   10.                 └─data.table:::`[.data.table`(...)
  ── Error ('test_filter_classif.R:9:7'): all classif filters return correct filter values ──
  Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
  Backtrace:
       ▆
    1. └─f$calculate(task) at test_filter_classif.R:9:7
    2.   └─mlr3filters:::.__Filter__calculate(...)
    3.     └─private$.calculate(task, nfeat)
    4.       └─mlr3filters:::.__FilterPerformance__.calculate(...)
    5.         └─mlr3misc::map_dbl(...)
    6.           └─mlr3misc:::map_mold(.x, .f, NA_real_, ...)
    7.             └─base::vapply(.x, .f, FUN.VALUE = .value, USE.NAMES = FALSE, ...)
    8.               └─mlr3filters (local) FUN(X[[i]], ...)
    9.                 └─mlr3::resample(task, self$learner, resampling, clone = character())
   10.                   └─ResultData$new(data, data_extra, store_backends = store_backends)
   11.                     └─mlr3 (local) initialize(...)
   12.                       └─mlr3:::.__ResultData__initialize(...)
   13.                         ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
   14.                         └─data.table:::`[.data.table`(...)
  ── Error ('test_filter_classif.R:34:7'): filters throw errors on missing values ──
  Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
  Backtrace:
       ▆
    1. └─f$calculate(task) at test_filter_classif.R:34:7
    2.   └─mlr3filters:::.__Filter__calculate(...)
    3.     └─private$.calculate(task, nfeat)
    4.       └─mlr3filters:::.__FilterPerformance__.calculate(...)
    5.         └─mlr3misc::map_dbl(...)
    6.           └─mlr3misc:::map_mold(.x, .f, NA_real_, ...)
    7.             └─base::vapply(.x, .f, FUN.VALUE = .value, USE.NAMES = FALSE, ...)
    8.               └─mlr3filters (local) FUN(X[[i]], ...)
    9.                 └─mlr3::resample(task, self$learner, resampling, clone = character())
   10.                   └─ResultData$new(data, data_extra, store_backends = store_backends)
   11.                     └─mlr3 (local) initialize(...)
   12.                       └─mlr3:::.__ResultData__initialize(...)
   13.                         ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
   14.                         └─data.table:::`[.data.table`(...)
  
  [ FAIL 4 | WARN 0 | SKIP 3 | PASS 470 ]
  Error:
  ! Test failures.
  Execution halted