Last updated on 2025-12-20 17:50:33 CET.
| Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
|---|---|---|---|---|---|---|
| r-devel-linux-x86_64-debian-clang | 1.5.0 | 15.75 | 273.22 | 288.97 | ERROR | |
| r-devel-linux-x86_64-debian-gcc | 1.5.0 | 9.00 | 183.78 | 192.78 | ERROR | |
| r-devel-linux-x86_64-fedora-clang | 1.5.0 | 26.00 | 416.22 | 442.22 | ERROR | |
| r-devel-linux-x86_64-fedora-gcc | 1.5.0 | 23.00 | 377.37 | 400.37 | ERROR | |
| r-devel-windows-x86_64 | 1.5.0 | 19.00 | 470.00 | 489.00 | OK | |
| r-patched-linux-x86_64 | 1.5.0 | 18.64 | 443.17 | 461.81 | OK | |
| r-release-linux-x86_64 | 1.5.0 | 12.51 | 455.08 | 467.59 | OK | |
| r-release-macos-arm64 | 1.5.0 | 3.00 | 110.00 | 113.00 | OK | |
| r-release-macos-x86_64 | 1.5.0 | 11.00 | 682.00 | 693.00 | OK | |
| r-release-windows-x86_64 | 1.5.0 | 15.00 | 463.00 | 478.00 | OK | |
| r-oldrel-macos-arm64 | 1.5.0 | 3.00 | 111.00 | 114.00 | OK | |
| r-oldrel-macos-x86_64 | 1.5.0 | 11.00 | 798.00 | 809.00 | OK | |
| r-oldrel-windows-x86_64 | 1.5.0 | 21.00 | 615.00 | 636.00 | OK |
Version: 1.5.0
Check: examples
Result: ERROR
Running examples in ‘mlr3fselect-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: auto_fselector
> ### Title: Function for Automatic Feature Selection
> ### Aliases: auto_fselector
>
> ### ** Examples
>
> afs = auto_fselector(
+ fselector = fs("random_search"),
+ learner = lrn("classif.rpart"),
+ resampling = rsmp("holdout"),
+ measure = msr("classif.ce"),
+ term_evals = 4)
>
> afs$train(tsk("pima"))
INFO [04:34:21.791] [bbotk] Starting to optimize 8 parameter(s) with '<FSelectorBatchRandomSearch>' and '<TerminatorEvals> [n_evals=4, k=0]'
INFO [04:34:21.871] [bbotk] Evaluating 10 configuration(s)
INFO [04:34:22.003] [mlr3] Running benchmark with 10 resampling iterations
INFO [04:34:22.205] [mlr3] Applying learner 'classif.rpart' on task 'pima' (iter 1/1)
INFO [04:34:22.266] [mlr3] Applying learner 'classif.rpart' on task 'pima' (iter 1/1)
INFO [04:34:22.306] [mlr3] Applying learner 'classif.rpart' on task 'pima' (iter 1/1)
INFO [04:34:22.339] [mlr3] Applying learner 'classif.rpart' on task 'pima' (iter 1/1)
INFO [04:34:22.372] [mlr3] Applying learner 'classif.rpart' on task 'pima' (iter 1/1)
INFO [04:34:22.404] [mlr3] Applying learner 'classif.rpart' on task 'pima' (iter 1/1)
INFO [04:34:22.443] [mlr3] Applying learner 'classif.rpart' on task 'pima' (iter 1/1)
INFO [04:34:22.479] [mlr3] Applying learner 'classif.rpart' on task 'pima' (iter 1/1)
INFO [04:34:22.520] [mlr3] Applying learner 'classif.rpart' on task 'pima' (iter 1/1)
INFO [04:34:22.639] [mlr3] Applying learner 'classif.rpart' on task 'pima' (iter 1/1)
INFO [04:34:22.752] [mlr3] Finished benchmark
Error in `[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash") :
attempt access index 9/9 in VECTOR_ELT
Calls: <Anonymous> ... initialize -> .__ResultData__initialize -> [ -> [.data.table
Execution halted
Flavor: r-devel-linux-x86_64-debian-clang
Version: 1.5.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [170s/259s]
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-8.R
Saving _problems/test_ArchiveBatchFSelect-58.R
Saving _problems/test_ArchiveBatchFSelect-164.R
Saving _problems/test_ArchiveBatchFSelect-204.R
Saving _problems/test_ArchiveBatchFSelect-232.R
Saving _problems/test_ArchiveBatchFSelect-260.R
Saving _problems/test_AutoFSelector-137.R
Saving _problems/test_AutoFSelector-166.R
Saving _problems/test_AutoFSelector-211.R
Saving _problems/test_FSelectInstanceMultiCrit-16.R
Saving _problems/test_FSelectInstanceMultiCrit-29.R
Saving _problems/test_FSelectInstanceMultiCrit-37.R
Saving _problems/test_FSelectInstanceSingleCrit-16.R
Saving _problems/test_FSelectInstanceSingleCrit-40.R
Saving _problems/test_FSelectInstanceSingleCrit-48.R
Saving _problems/test_FSelectInstanceSingleCrit-85.R
Saving _problems/test_FSelectInstanceSingleCrit-111.R
Saving _problems/test_FSelectInstanceSingleCrit-131.R
Saving _problems/test_FSelectorBatchDesignPoints-8.R
Saving _problems/test_FSelectorBatchDesignPoints-20.R
Saving _problems/test_FSelectorExhaustiveSearch-2.R
Saving _problems/test_FSelectorExhaustiveSearch-14.R
Saving _problems/test_FSelectorExhaustiveSearch-23.R
Saving _problems/test_FSelectorExhaustiveSearch-27.R
Saving _problems/test_FSelectorGeneticSearch-4.R
Saving _problems/test_FSelectorRFE-2.R
Saving _problems/test_FSelectorRFE-11.R
Saving _problems/test_FSelectorRFE-18.R
Saving _problems/test_FSelectorRFE-27.R
Saving _problems/test_FSelectorRFE-49.R
Saving _problems/test_FSelectorRFE-63.R
Saving _problems/test_FSelectorRFE-83.R
Saving _problems/test_FSelectorRFE-131.R
Saving _problems/test_FSelectorRFE-142.R
Saving _problems/test_FSelectorRFE-161.R
Saving _problems/test_FSelectorRFE-233.R
Saving _problems/test_FSelectorRFE-290.R
Saving _problems/test_FSelectorRFECV-12.R
Saving _problems/test_FSelectorRFECV-32.R
Saving _problems/test_FSelectorRFECV-61.R
Saving _problems/test_FSelectorRFECV-118.R
Saving _problems/test_FSelectorRandomSearch-2.R
Saving _problems/test_FSelectorRandomSearch-6.R
Saving _problems/test_FSelectorRandomSearch-12.R
Saving _problems/test_FSelectorSequential-2.R
Saving _problems/test_FSelectorSequential-11.R
Saving _problems/test_FSelectorSequential-20.R
Saving _problems/test_FSelectorSequential-26.R
Saving _problems/test_FSelectorSequential-32.R
Saving _problems/test_FSelectorSequential-39.R
Saving _problems/test_FSelectorShadowVariableSearch-2.R
Saving _problems/test_FSelectorShadowVariableSearch-14.R
Saving _problems/test_FSelectorShadowVariableSearch-26.R
Saving _problems/test_FSelectorShadowVariableSearch-35.R
Saving _problems/test_FSelectorShadowVariableSearch-54.R
Saving _problems/test_ObjectiveFSelect-15.R
Saving _problems/test_ObjectiveFSelect-35.R
Saving _problems/test_ObjectiveFSelect-54.R
Saving _problems/test_ObjectiveFSelect-74.R
Saving _problems/test_ObjectiveFSelect-126.R
Saving _problems/test_ObjectiveFSelectAsync-15.R
Saving _problems/test_ObjectiveFSelectAsync-37.R
Saving _problems/test_ObjectiveFSelectAsync-61.R
Saving _problems/test_ObjectiveFSelectAsync-85.R
Saving _problems/test_embedded_ensemble_fselect-9.R
Saving _problems/test_embedded_ensemble_fselect-74.R
Saving _problems/test_ensemble_fselect-13.R
Saving _problems/test_ensemble_fselect-108.R
Saving _problems/test_ensemble_fselect-359.R
Saving _problems/test_extract_inner_fselect_archives-3.R
Saving _problems/test_extract_inner_fselect_archives-12.R
Saving _problems/test_extract_inner_fselect_archives-24.R
Saving _problems/test_extract_inner_fselect_archives-37.R
Saving _problems/test_extract_inner_fselect_archives-50.R
Saving _problems/test_extract_inner_fselect_archives-61.R
Saving _problems/test_extract_inner_fselect_archives-70.R
Saving _problems/test_extract_inner_fselect_archives-80.R
Saving _problems/test_extract_inner_fselect_archives-92.R
Saving _problems/test_extract_inner_fselect_archives-104.R
Saving _problems/test_extract_inner_fselect_result-3.R
Saving _problems/test_extract_inner_fselect_result-12.R
Saving _problems/test_extract_inner_fselect_result-24.R
Saving _problems/test_extract_inner_fselect_result-37.R
Saving _problems/test_extract_inner_fselect_result-50.R
Saving _problems/test_extract_inner_fselect_result-61.R
Saving _problems/test_extract_inner_fselect_result-70.R
Saving _problems/test_extract_inner_fselect_result-80.R
Saving _problems/test_extract_inner_fselect_result-92.R
Saving _problems/test_extract_inner_fselect_result-104.R
Saving _problems/test_extract_inner_fselect_result-113.R
Saving _problems/test_extract_inner_fselect_result-125.R
Saving _problems/test_fselect-3.R
Saving _problems/test_fselect-12.R
Saving _problems/test_fselect-21.R
Saving _problems/test_fselect_nested-4.R
Saving _problems/test_mlr_callbacks-12.R
Saving _problems/test_mlr_callbacks-32.R
Saving _problems/test_mlr_callbacks-53.R
Saving _problems/test_mlr_callbacks-73.R
Saving _problems/test_mlr_callbacks-96.R
[ FAIL 100 | WARN 27 | SKIP 52 | PASS 235 ]
══ Skipped tests (52) ══════════════════════════════════════════════════════════
• On CRAN (52): 'test_ArchiveAsyncFSelect.R:2:3',
'test_ArchiveAsyncFSelect.R:51:3', 'test_ArchiveAsyncFSelect.R:107:3',
'test_ArchiveAsyncFSelect.R:133:3', 'test_ArchiveAsyncFSelect.R:155:3',
'test_ArchiveAsyncFSelect.R:181:3', 'test_ArchiveAsyncFSelectFrozen.R:2:3',
'test_AutoFSelector.R:2:3', 'test_AutoFSelector.R:29:3',
'test_AutoFSelector.R:64:3', 'test_AutoFSelector.R:219:3',
'test_CallbackAsyncFSelect.R:4:3', 'test_CallbackAsyncFSelect.R:32:3',
'test_CallbackAsyncFSelect.R:62:3', 'test_CallbackAsyncFSelect.R:90:3',
'test_CallbackAsyncFSelect.R:120:3', 'test_CallbackAsyncFSelect.R:154:3',
'test_CallbackAsyncFSelect.R:181:3', 'test_CallbackAsyncFSelect.R:213:3',
'test_CallbackAsyncFSelect.R:242:3', 'test_CallbackAsyncFSelect.R:269:3',
'test_CallbackAsyncFSelect.R:298:3', 'test_CallbackAsyncFSelect.R:327:3',
'test_CallbackAsyncFSelect.R:354:3', 'test_CallbackAsyncFSelect.R:383:3',
'test_CallbackAsyncFSelect.R:419:3', 'test_CallbackAsyncFSelect.R:454:3',
'test_CallbackAsyncFSelect.R:488:3',
'test_FSelectInstanceAsyncMultiCrit.R:2:3',
'test_FSelectInstanceAsyncMultiCrit.R:30:3',
'test_FSelectInstanceAsyncMultiCrit.R:53:3',
'test_FSelectInstanceAsyncMultiCrit.R:77:3',
'test_FSelectInstanceAsyncMultiCrit.R:101:3',
'test_FSelectInstanceAsyncMultiCrit.R:129:3',
'test_FSelectInstanceAsyncSingleCrit.R:2:3',
'test_FSelectInstanceAsyncSingleCrit.R:29:3',
'test_FSelectInstanceAsyncSingleCrit.R:50:3',
'test_FSelectInstanceAsyncSingleCrit.R:73:3',
'test_FSelectInstanceAsyncSingleCrit.R:98:3',
'test_FSelectInstanceAsyncSingleCrit.R:124:3',
'test_FSelectorAsyncDesignPoints.R:2:3',
'test_FSelectorAsyncExhaustiveSearch.R:2:3',
'test_FSelectorAsyncRandomSearch.R:2:3', 'test_ObjectiveFSelectAsync.R:96:3',
'test_ObjectiveFSelectAsync.R:160:3', 'test_auto_fselector.R:24:3',
'test_auto_fselector.R:47:3', 'test_fsi_async.R:2:3',
'test_fsi_async.R:16:3', 'test_fsi_async.R:30:3', 'test_fsi_async.R:42:3',
'test_mlr_callbacks.R:108:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test_ArchiveBatchFSelect.R:2:3'): ArchiveBatchFSelect access methods work ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3fselect::fselect(...) at test_ArchiveBatchFSelect.R:2:3
2. └─fselector$optimize(instance)
3. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
4. └─bbotk::optimize_batch_default(inst, self)
5. ├─base::tryCatch(...)
6. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
8. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
9. └─get_private(optimizer)$.optimize(instance)
10. └─mlr3fselect:::.__FSelectorBatchRandomSearch__.optimize(...)
11. └─inst$eval_batch(as.data.table(X))
12. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
13. └─self$objective$eval_many(xss_trafoed)
14. └─bbotk:::.__Objective__eval_many(...)
15. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
16. │ └─base::eval.parent(expr, n = 1L)
17. │ └─base::eval(expr, p)
18. │ └─base::eval(expr, p)
19. └─private$.eval_many(xss = xss, resampling = `<list>`)
20. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
21. └─mlr3::benchmark(...)
22. └─ResultData$new(grid, data_extra, store_backends = store_backends)
23. └─mlr3 (local) initialize(...)
24. └─mlr3:::.__ResultData__initialize(...)
25. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
26. └─data.table:::`[.data.table`(...)
── Error ('test_ArchiveBatchFSelect.R:52:3'): ArchiveBatchFSelect as.data.table function works ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3fselect::fselect(...) at test_ArchiveBatchFSelect.R:52:3
2. └─fselector$optimize(instance)
3. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
4. └─bbotk::optimize_batch_default(inst, self)
5. ├─base::tryCatch(...)
6. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
8. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
9. └─get_private(optimizer)$.optimize(instance)
10. └─mlr3fselect:::.__FSelectorBatchRandomSearch__.optimize(...)
11. └─inst$eval_batch(as.data.table(X))
12. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
13. └─self$objective$eval_many(xss_trafoed)
14. └─bbotk:::.__Objective__eval_many(...)
15. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
16. │ └─base::eval.parent(expr, n = 1L)
17. │ └─base::eval(expr, p)
18. │ └─base::eval(expr, p)
19. └─private$.eval_many(xss = xss, resampling = `<list>`)
20. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
21. └─mlr3::benchmark(...)
22. └─ResultData$new(grid, data_extra, store_backends = store_backends)
23. └─mlr3 (local) initialize(...)
24. └─mlr3:::.__ResultData__initialize(...)
25. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
26. └─data.table:::`[.data.table`(...)
── Error ('test_ArchiveBatchFSelect.R:157:3'): global ties method works ────────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3fselect::fselect(...) at test_ArchiveBatchFSelect.R:157:3
2. └─fselector$optimize(instance)
3. └─mlr3fselect:::.__FSelectorBatchFromOptimizerBatch__optimize(...)
4. └─private$.optimizer$optimize(inst)
5. └─bbotk:::.__OptimizerBatch__optimize(...)
6. └─bbotk::optimize_batch_default(inst, self)
7. ├─base::tryCatch(...)
8. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
9. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
10. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
11. └─get_private(optimizer)$.optimize(instance)
12. └─bbotk:::.__OptimizerBatchDesignPoints__.optimize(...)
13. └─instance$eval_batch(design[inds, ])
14. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
15. └─self$objective$eval_many(xss_trafoed)
16. └─bbotk:::.__Objective__eval_many(...)
17. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
18. │ └─base::eval.parent(expr, n = 1L)
19. │ └─base::eval(expr, p)
20. │ └─base::eval(expr, p)
21. └─private$.eval_many(xss = xss, resampling = `<list>`)
22. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
23. └─mlr3::benchmark(...)
24. └─ResultData$new(grid, data_extra, store_backends = store_backends)
25. └─mlr3 (local) initialize(...)
26. └─mlr3:::.__ResultData__initialize(...)
27. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
28. └─data.table:::`[.data.table`(...)
── Error ('test_ArchiveBatchFSelect.R:198:3'): local ties method works when maximize measure ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3fselect::fselect(...) at test_ArchiveBatchFSelect.R:198:3
2. └─fselector$optimize(instance)
3. └─mlr3fselect:::.__FSelectorBatchFromOptimizerBatch__optimize(...)
4. └─private$.optimizer$optimize(inst)
5. └─bbotk:::.__OptimizerBatch__optimize(...)
6. └─bbotk::optimize_batch_default(inst, self)
7. ├─base::tryCatch(...)
8. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
9. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
10. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
11. └─get_private(optimizer)$.optimize(instance)
12. └─bbotk:::.__OptimizerBatchDesignPoints__.optimize(...)
13. └─instance$eval_batch(design[inds, ])
14. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
15. └─self$objective$eval_many(xss_trafoed)
16. └─bbotk:::.__Objective__eval_many(...)
17. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
18. │ └─base::eval.parent(expr, n = 1L)
19. │ └─base::eval(expr, p)
20. │ └─base::eval(expr, p)
21. └─private$.eval_many(xss = xss, resampling = `<list>`)
22. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
23. └─mlr3::benchmark(...)
24. └─ResultData$new(grid, data_extra, store_backends = store_backends)
25. └─mlr3 (local) initialize(...)
26. └─mlr3:::.__ResultData__initialize(...)
27. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
28. └─data.table:::`[.data.table`(...)
── Error ('test_ArchiveBatchFSelect.R:226:3'): local ties method works when minimize measure ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3fselect::fselect(...) at test_ArchiveBatchFSelect.R:226:3
2. └─fselector$optimize(instance)
3. └─mlr3fselect:::.__FSelectorBatchFromOptimizerBatch__optimize(...)
4. └─private$.optimizer$optimize(inst)
5. └─bbotk:::.__OptimizerBatch__optimize(...)
6. └─bbotk::optimize_batch_default(inst, self)
7. ├─base::tryCatch(...)
8. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
9. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
10. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
11. └─get_private(optimizer)$.optimize(instance)
12. └─bbotk:::.__OptimizerBatchDesignPoints__.optimize(...)
13. └─instance$eval_batch(design[inds, ])
14. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
15. └─self$objective$eval_many(xss_trafoed)
16. └─bbotk:::.__Objective__eval_many(...)
17. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
18. │ └─base::eval.parent(expr, n = 1L)
19. │ └─base::eval(expr, p)
20. │ └─base::eval(expr, p)
21. └─private$.eval_many(xss = xss, resampling = `<list>`)
22. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
23. └─mlr3::benchmark(...)
24. └─ResultData$new(grid, data_extra, store_backends = store_backends)
25. └─mlr3 (local) initialize(...)
26. └─mlr3:::.__ResultData__initialize(...)
27. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
28. └─data.table:::`[.data.table`(...)
── Error ('test_ArchiveBatchFSelect.R:254:3'): local ties method works with batches ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3fselect::fselect(...) at test_ArchiveBatchFSelect.R:254:3
2. └─fselector$optimize(instance)
3. └─mlr3fselect:::.__FSelectorBatchFromOptimizerBatch__optimize(...)
4. └─private$.optimizer$optimize(inst)
5. └─bbotk:::.__OptimizerBatch__optimize(...)
6. └─bbotk::optimize_batch_default(inst, self)
7. ├─base::tryCatch(...)
8. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
9. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
10. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
11. └─get_private(optimizer)$.optimize(instance)
12. └─bbotk:::.__OptimizerBatchDesignPoints__.optimize(...)
13. └─instance$eval_batch(design[inds, ])
14. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
15. └─self$objective$eval_many(xss_trafoed)
16. └─bbotk:::.__Objective__eval_many(...)
17. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
18. │ └─base::eval.parent(expr, n = 1L)
19. │ └─base::eval(expr, p)
20. │ └─base::eval(expr, p)
21. └─private$.eval_many(xss = xss, resampling = `<list>`)
22. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
23. └─mlr3::benchmark(...)
24. └─ResultData$new(grid, data_extra, store_backends = store_backends)
25. └─mlr3 (local) initialize(...)
26. └─mlr3:::.__ResultData__initialize(...)
27. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
28. └─data.table:::`[.data.table`(...)
── Error ('test_AutoFSelector.R:137:3'): AutoFSelector works with GraphLearner ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─at$train(task) at test_AutoFSelector.R:137:3
2. └─mlr3:::.__Learner__train(...)
3. └─mlr3:::learner_train(...)
4. └─mlr3misc::encapsulate(...)
5. ├─mlr3misc::invoke(...)
6. │ └─base::eval.parent(expr, n = 1L)
7. │ └─base::eval(expr, p)
8. │ └─base::eval(expr, p)
9. └─mlr3 (local) .f(learner = `<S3: AutoFSelector>`, task = `<S3: TaskRegr>`)
10. └─get_private(learner)$.train(task)
11. └─mlr3fselect:::.__AutoFSelector__.train(...)
12. └─self$fselector$optimize(instance)
13. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
14. └─bbotk::optimize_batch_default(inst, self)
15. ├─base::tryCatch(...)
16. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
17. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
18. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
19. └─get_private(optimizer)$.optimize(instance)
20. └─mlr3fselect:::.__FSelectorBatchSequential__.optimize(...)
21. └─inst$eval_batch(states)
22. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
23. └─self$objective$eval_many(xss_trafoed)
24. └─bbotk:::.__Objective__eval_many(...)
25. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
26. │ └─base::eval.parent(expr, n = 1L)
27. │ └─base::eval(expr, p)
28. │ └─base::eval(expr, p)
29. └─private$.eval_many(xss = xss, resampling = `<list>`)
30. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
31. └─mlr3::benchmark(...)
32. └─ResultData$new(grid, data_extra, store_backends = store_backends)
33. └─mlr3 (local) initialize(...)
34. └─mlr3:::.__ResultData__initialize(...)
35. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
36. └─data.table:::`[.data.table`(...)
── Error ('test_AutoFSelector.R:166:3'): AutoFSelector get_base_learner method works ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─afs$train(tsk("pima")) at test_AutoFSelector.R:166:3
2. └─mlr3:::.__Learner__train(...)
3. └─mlr3:::learner_train(...)
4. └─mlr3misc::encapsulate(...)
5. ├─mlr3misc::invoke(...)
6. │ └─base::eval.parent(expr, n = 1L)
7. │ └─base::eval(expr, p)
8. │ └─base::eval(expr, p)
9. └─mlr3 (local) .f(learner = `<S3: AutoFSelector>`, task = `<S3: TaskClassif>`)
10. └─get_private(learner)$.train(task)
11. └─mlr3fselect:::.__AutoFSelector__.train(...)
12. └─self$fselector$optimize(instance)
13. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
14. └─bbotk::optimize_batch_default(inst, self)
15. ├─base::tryCatch(...)
16. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
17. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
18. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
19. └─get_private(optimizer)$.optimize(instance)
20. └─mlr3fselect:::.__FSelectorBatchRandomSearch__.optimize(...)
21. └─inst$eval_batch(as.data.table(X))
22. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
23. └─self$objective$eval_many(xss_trafoed)
24. └─bbotk:::.__Objective__eval_many(...)
25. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
26. │ └─base::eval.parent(expr, n = 1L)
27. │ └─base::eval(expr, p)
28. │ └─base::eval(expr, p)
29. └─private$.eval_many(xss = xss, resampling = `<list>`)
30. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
31. └─mlr3::benchmark(...)
32. └─ResultData$new(grid, data_extra, store_backends = store_backends)
33. └─mlr3 (local) initialize(...)
34. └─mlr3:::.__ResultData__initialize(...)
35. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
36. └─data.table:::`[.data.table`(...)
── Error ('test_AutoFSelector.R:211:3'): AutoFSelector hash works #647 in mlr3 ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3::benchmark(grid, store_models = TRUE) at test_AutoFSelector.R:211:3
2. └─mlr3:::future_map(...)
3. └─future.apply::future_mapply(...)
4. └─future.apply:::future_xapply(...)
5. └─base::tryCatch(...)
6. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. └─base (local) tryCatchOne(...)
8. └─value[[3L]](cond)
9. └─future.apply:::onError(e, futures = fs, debug = debug)
── Error ('test_FSelectInstanceMultiCrit.R:16:3'): eval_batch works ────────────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─inst$eval_batch(xdt) at test_FSelectInstanceMultiCrit.R:16:3
2. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
3. └─self$objective$eval_many(xss_trafoed)
4. └─bbotk:::.__Objective__eval_many(...)
5. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
6. │ └─base::eval.parent(expr, n = 1L)
7. │ └─base::eval(expr, p)
8. │ └─base::eval(expr, p)
9. └─private$.eval_many(xss = xss, resampling = `<list>`)
10. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
11. └─mlr3::benchmark(...)
12. └─ResultData$new(grid, data_extra, store_backends = store_backends)
13. └─mlr3 (local) initialize(...)
14. └─mlr3:::.__ResultData__initialize(...)
15. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
16. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectInstanceMultiCrit.R:29:3'): objective_function works ────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─inst$objective_function(c(1, 1, 0, 0)) at test_FSelectInstanceMultiCrit.R:29:3
2. └─bbotk:::.__OptimInstanceBatch__objective_function(...)
3. └─private$.objective_function(x, self, self$objective_multiplicator)
4. └─inst$eval_batch(xdt)
5. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
6. └─self$objective$eval_many(xss_trafoed)
7. └─bbotk:::.__Objective__eval_many(...)
8. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
9. │ └─base::eval.parent(expr, n = 1L)
10. │ └─base::eval(expr, p)
11. │ └─base::eval(expr, p)
12. └─private$.eval_many(xss = xss, resampling = `<list>`)
13. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
14. └─mlr3::benchmark(...)
15. └─ResultData$new(grid, data_extra, store_backends = store_backends)
16. └─mlr3 (local) initialize(...)
17. └─mlr3:::.__ResultData__initialize(...)
18. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
19. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectInstanceMultiCrit.R:37:3'): store_benchmark_result flag works ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─inst$eval_batch(xdt) at test_FSelectInstanceMultiCrit.R:37:3
2. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
3. └─self$objective$eval_many(xss_trafoed)
4. └─bbotk:::.__Objective__eval_many(...)
5. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
6. │ └─base::eval.parent(expr, n = 1L)
7. │ └─base::eval(expr, p)
8. │ └─base::eval(expr, p)
9. └─private$.eval_many(xss = xss, resampling = `<list>`)
10. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
11. └─mlr3::benchmark(...)
12. └─ResultData$new(grid, data_extra, store_backends = store_backends)
13. └─mlr3 (local) initialize(...)
14. └─mlr3:::.__ResultData__initialize(...)
15. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
16. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectInstanceSingleCrit.R:16:3'): eval_batch works ───────────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─inst$eval_batch(xdt) at test_FSelectInstanceSingleCrit.R:16:3
2. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
3. └─self$objective$eval_many(xss_trafoed)
4. └─bbotk:::.__Objective__eval_many(...)
5. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
6. │ └─base::eval.parent(expr, n = 1L)
7. │ └─base::eval(expr, p)
8. │ └─base::eval(expr, p)
9. └─private$.eval_many(xss = xss, resampling = `<list>`)
10. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
11. └─mlr3::benchmark(...)
12. └─ResultData$new(grid, data_extra, store_backends = store_backends)
13. └─mlr3 (local) initialize(...)
14. └─mlr3:::.__ResultData__initialize(...)
15. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
16. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectInstanceSingleCrit.R:40:3'): objective_function works ───
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─inst$objective_function(c(1, 1, 0, 0)) at test_FSelectInstanceSingleCrit.R:40:3
2. └─bbotk:::.__OptimInstanceBatch__objective_function(...)
3. └─private$.objective_function(x, self, self$objective_multiplicator)
4. └─inst$eval_batch(xdt)
5. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
6. └─self$objective$eval_many(xss_trafoed)
7. └─bbotk:::.__Objective__eval_many(...)
8. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
9. │ └─base::eval.parent(expr, n = 1L)
10. │ └─base::eval(expr, p)
11. │ └─base::eval(expr, p)
12. └─private$.eval_many(xss = xss, resampling = `<list>`)
13. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
14. └─mlr3::benchmark(...)
15. └─ResultData$new(grid, data_extra, store_backends = store_backends)
16. └─mlr3 (local) initialize(...)
17. └─mlr3:::.__ResultData__initialize(...)
18. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
19. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectInstanceSingleCrit.R:48:3'): store_benchmark_result flag works ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─inst$eval_batch(xdt) at test_FSelectInstanceSingleCrit.R:48:3
2. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
3. └─self$objective$eval_many(xss_trafoed)
4. └─bbotk:::.__Objective__eval_many(...)
5. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
6. │ └─base::eval.parent(expr, n = 1L)
7. │ └─base::eval(expr, p)
8. │ └─base::eval(expr, p)
9. └─private$.eval_many(xss = xss, resampling = `<list>`)
10. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
11. └─mlr3::benchmark(...)
12. └─ResultData$new(grid, data_extra, store_backends = store_backends)
13. └─mlr3 (local) initialize(...)
14. └─mlr3:::.__ResultData__initialize(...)
15. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
16. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectInstanceSingleCrit.R:77:3'): always include variable works ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3fselect::fselect(...) at test_FSelectInstanceSingleCrit.R:77:3
2. └─fselector$optimize(instance)
3. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
4. └─bbotk::optimize_batch_default(inst, self)
5. ├─base::tryCatch(...)
6. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
8. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
9. └─get_private(optimizer)$.optimize(instance)
10. └─mlr3fselect:::.__FSelectorBatchRandomSearch__.optimize(...)
11. └─inst$eval_batch(as.data.table(X))
12. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
13. └─self$objective$eval_many(xss_trafoed)
14. └─bbotk:::.__Objective__eval_many(...)
15. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
16. │ └─base::eval.parent(expr, n = 1L)
17. │ └─base::eval(expr, p)
18. │ └─base::eval(expr, p)
19. └─private$.eval_many(xss = xss, resampling = `<list>`)
20. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
21. └─mlr3::benchmark(...)
22. └─ResultData$new(grid, data_extra, store_backends = store_backends)
23. └─mlr3 (local) initialize(...)
24. └─mlr3:::.__ResultData__initialize(...)
25. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
26. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectInstanceSingleCrit.R:103:3'): always include variables works ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3fselect::fselect(...) at test_FSelectInstanceSingleCrit.R:103:3
2. └─fselector$optimize(instance)
3. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
4. └─bbotk::optimize_batch_default(inst, self)
5. ├─base::tryCatch(...)
6. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
8. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
9. └─get_private(optimizer)$.optimize(instance)
10. └─mlr3fselect:::.__FSelectorBatchRandomSearch__.optimize(...)
11. └─inst$eval_batch(as.data.table(X))
12. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
13. └─self$objective$eval_many(xss_trafoed)
14. └─bbotk:::.__Objective__eval_many(...)
15. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
16. │ └─base::eval.parent(expr, n = 1L)
17. │ └─base::eval(expr, p)
18. │ └─base::eval(expr, p)
19. └─private$.eval_many(xss = xss, resampling = `<list>`)
20. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
21. └─mlr3::benchmark(...)
22. └─ResultData$new(grid, data_extra, store_backends = store_backends)
23. └─mlr3 (local) initialize(...)
24. └─mlr3:::.__ResultData__initialize(...)
25. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
26. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectInstanceSingleCrit.R:131:3'): objective contains no benchmark results ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─fselector$optimize(instance) at test_FSelectInstanceSingleCrit.R:131:3
2. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
3. └─bbotk::optimize_batch_default(inst, self)
4. ├─base::tryCatch(...)
5. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
6. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
7. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
8. └─get_private(optimizer)$.optimize(instance)
9. └─mlr3fselect:::.__FSelectorBatchRandomSearch__.optimize(...)
10. └─inst$eval_batch(as.data.table(X))
11. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
12. └─self$objective$eval_many(xss_trafoed)
13. └─bbotk:::.__Objective__eval_many(...)
14. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
15. │ └─base::eval.parent(expr, n = 1L)
16. │ └─base::eval(expr, p)
17. │ └─base::eval(expr, p)
18. └─private$.eval_many(xss = xss, resampling = `<list>`)
19. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
20. └─mlr3::benchmark(...)
21. └─ResultData$new(grid, data_extra, store_backends = store_backends)
22. └─mlr3 (local) initialize(...)
23. └─mlr3:::.__ResultData__initialize(...)
24. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
25. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorBatchDesignPoints.R:8:3'): default parameters work ────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─global test_fselector("design_points", design = design) at test_FSelectorBatchDesignPoints.R:8:3
2. └─mlr3fselect::fselect(...)
3. └─fselector$optimize(instance)
4. └─mlr3fselect:::.__FSelectorBatchFromOptimizerBatch__optimize(...)
5. └─private$.optimizer$optimize(inst)
6. └─bbotk:::.__OptimizerBatch__optimize(...)
7. └─bbotk::optimize_batch_default(inst, self)
8. ├─base::tryCatch(...)
9. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
10. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
11. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
12. └─get_private(optimizer)$.optimize(instance)
13. └─bbotk:::.__OptimizerBatchDesignPoints__.optimize(...)
14. └─instance$eval_batch(design[inds, ])
15. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
16. └─self$objective$eval_many(xss_trafoed)
17. └─bbotk:::.__Objective__eval_many(...)
18. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
19. │ └─base::eval.parent(expr, n = 1L)
20. │ └─base::eval(expr, p)
21. │ └─base::eval(expr, p)
22. └─private$.eval_many(xss = xss, resampling = `<list>`)
23. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
24. └─mlr3::benchmark(...)
25. └─ResultData$new(grid, data_extra, store_backends = store_backends)
26. └─mlr3 (local) initialize(...)
27. └─mlr3:::.__ResultData__initialize(...)
28. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
29. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorBatchDesignPoints.R:20:3'): multi-crit works ──────────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─global test_fselector_2D("design_points", design = design) at test_FSelectorBatchDesignPoints.R:20:3
2. └─mlr3fselect::fselect(...)
3. └─fselector$optimize(instance)
4. └─mlr3fselect:::.__FSelectorBatchFromOptimizerBatch__optimize(...)
5. └─private$.optimizer$optimize(inst)
6. └─bbotk:::.__OptimizerBatch__optimize(...)
7. └─bbotk::optimize_batch_default(inst, self)
8. ├─base::tryCatch(...)
9. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
10. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
11. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
12. └─get_private(optimizer)$.optimize(instance)
13. └─bbotk:::.__OptimizerBatchDesignPoints__.optimize(...)
14. └─instance$eval_batch(design[inds, ])
15. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
16. └─self$objective$eval_many(xss_trafoed)
17. └─bbotk:::.__Objective__eval_many(...)
18. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
19. │ └─base::eval.parent(expr, n = 1L)
20. │ └─base::eval(expr, p)
21. │ └─base::eval(expr, p)
22. └─private$.eval_many(xss = xss, resampling = `<list>`)
23. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
24. └─mlr3::benchmark(...)
25. └─ResultData$new(grid, data_extra, store_backends = store_backends)
26. └─mlr3 (local) initialize(...)
27. └─mlr3:::.__ResultData__initialize(...)
28. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
29. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorExhaustiveSearch.R:2:3'): default parameters work ─────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─global test_fselector("exhaustive_search") at test_FSelectorExhaustiveSearch.R:2:3
2. └─mlr3fselect::fselect(...)
3. └─fselector$optimize(instance)
4. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
5. └─bbotk::optimize_batch_default(inst, self)
6. ├─base::tryCatch(...)
7. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
8. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
9. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
10. └─get_private(optimizer)$.optimize(instance)
11. └─mlr3fselect:::.__FSelectorBatchExhaustiveSearch__.optimize(...)
12. └─mlr3misc::walk(chunks, function(row_ids) inst$eval_batch(states[row_ids]))
13. └─mlr3fselect (local) .f(.xi, ...)
14. └─inst$eval_batch(states[row_ids])
15. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
16. └─self$objective$eval_many(xss_trafoed)
17. └─bbotk:::.__Objective__eval_many(...)
18. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
19. │ └─base::eval.parent(expr, n = 1L)
20. │ └─base::eval(expr, p)
21. │ └─base::eval(expr, p)
22. └─private$.eval_many(xss = xss, resampling = `<list>`)
23. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
24. └─mlr3::benchmark(...)
25. └─ResultData$new(grid, data_extra, store_backends = store_backends)
26. └─mlr3 (local) initialize(...)
27. └─mlr3:::.__ResultData__initialize(...)
28. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
29. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorExhaustiveSearch.R:14:3'): max_features parameter works ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─global test_fselector("exhaustive_search", max_features = 2) at test_FSelectorExhaustiveSearch.R:14:3
2. └─mlr3fselect::fselect(...)
3. └─fselector$optimize(instance)
4. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
5. └─bbotk::optimize_batch_default(inst, self)
6. ├─base::tryCatch(...)
7. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
8. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
9. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
10. └─get_private(optimizer)$.optimize(instance)
11. └─mlr3fselect:::.__FSelectorBatchExhaustiveSearch__.optimize(...)
12. └─mlr3misc::walk(chunks, function(row_ids) inst$eval_batch(states[row_ids]))
13. └─mlr3fselect (local) .f(.xi, ...)
14. └─inst$eval_batch(states[row_ids])
15. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
16. └─self$objective$eval_many(xss_trafoed)
17. └─bbotk:::.__Objective__eval_many(...)
18. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
19. │ └─base::eval.parent(expr, n = 1L)
20. │ └─base::eval(expr, p)
21. │ └─base::eval(expr, p)
22. └─private$.eval_many(xss = xss, resampling = `<list>`)
23. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
24. └─mlr3::benchmark(...)
25. └─ResultData$new(grid, data_extra, store_backends = store_backends)
26. └─mlr3 (local) initialize(...)
27. └─mlr3:::.__ResultData__initialize(...)
28. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
29. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorExhaustiveSearch.R:23:3'): multi-crit works ───────────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─global test_fselector_2D("exhaustive_search") at test_FSelectorExhaustiveSearch.R:23:3
2. └─mlr3fselect::fselect(...)
3. └─fselector$optimize(instance)
4. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
5. └─bbotk::optimize_batch_default(inst, self)
6. ├─base::tryCatch(...)
7. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
8. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
9. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
10. └─get_private(optimizer)$.optimize(instance)
11. └─mlr3fselect:::.__FSelectorBatchExhaustiveSearch__.optimize(...)
12. └─mlr3misc::walk(chunks, function(row_ids) inst$eval_batch(states[row_ids]))
13. └─mlr3fselect (local) .f(.xi, ...)
14. └─inst$eval_batch(states[row_ids])
15. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
16. └─self$objective$eval_many(xss_trafoed)
17. └─bbotk:::.__Objective__eval_many(...)
18. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
19. │ └─base::eval.parent(expr, n = 1L)
20. │ └─base::eval(expr, p)
21. │ └─base::eval(expr, p)
22. └─private$.eval_many(xss = xss, resampling = `<list>`)
23. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
24. └─mlr3::benchmark(...)
25. └─ResultData$new(grid, data_extra, store_backends = store_backends)
26. └─mlr3 (local) initialize(...)
27. └─mlr3:::.__ResultData__initialize(...)
28. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
29. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorExhaustiveSearch.R:27:3'): batch_size parameter works ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─global test_fselector("exhaustive_search", batch_size = 2) at test_FSelectorExhaustiveSearch.R:27:3
2. └─mlr3fselect::fselect(...)
3. └─fselector$optimize(instance)
4. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
5. └─bbotk::optimize_batch_default(inst, self)
6. ├─base::tryCatch(...)
7. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
8. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
9. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
10. └─get_private(optimizer)$.optimize(instance)
11. └─mlr3fselect:::.__FSelectorBatchExhaustiveSearch__.optimize(...)
12. └─mlr3misc::walk(chunks, function(row_ids) inst$eval_batch(states[row_ids]))
13. └─mlr3fselect (local) .f(.xi, ...)
14. └─inst$eval_batch(states[row_ids])
15. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
16. └─self$objective$eval_many(xss_trafoed)
17. └─bbotk:::.__Objective__eval_many(...)
18. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
19. │ └─base::eval.parent(expr, n = 1L)
20. │ └─base::eval(expr, p)
21. │ └─base::eval(expr, p)
22. └─private$.eval_many(xss = xss, resampling = `<list>`)
23. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
24. └─mlr3::benchmark(...)
25. └─ResultData$new(grid, data_extra, store_backends = store_backends)
26. └─mlr3 (local) initialize(...)
27. └─mlr3:::.__ResultData__initialize(...)
28. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
29. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorGeneticSearch.R:4:3'): default parameters work ────────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─global test_fselector("genetic_search", term_evals = 10) at test_FSelectorGeneticSearch.R:4:3
2. └─mlr3fselect::fselect(...)
3. └─fselector$optimize(instance)
4. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
5. └─bbotk::optimize_batch_default(inst, self)
6. ├─base::tryCatch(...)
7. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
8. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
9. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
10. └─get_private(optimizer)$.optimize(instance)
11. └─mlr3fselect:::.__FSelectorBatchGeneticSearch__.optimize(...)
12. ├─mlr3misc::invoke(...)
13. │ └─base::eval.parent(expr, n = 1L)
14. │ └─base::eval(expr, p)
15. │ └─base::eval(expr, p)
16. └─genalg::rbga.bin(...)
17. └─bbotk (local) evalFunc(population[object, ])
18. └─bbotk:::.__OptimInstanceBatch__objective_function(...)
19. └─private$.objective_function(x, self, self$objective_multiplicator)
20. └─inst$eval_batch(xdt)
21. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
22. └─self$objective$eval_many(xss_trafoed)
23. └─bbotk:::.__Objective__eval_many(...)
24. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
25. │ └─base::eval.parent(expr, n = 1L)
26. │ └─base::eval(expr, p)
27. │ └─base::eval(expr, p)
28. └─private$.eval_many(xss = xss, resampling = `<list>`)
29. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
30. └─mlr3::benchmark(...)
31. └─ResultData$new(grid, data_extra, store_backends = store_backends)
32. └─mlr3 (local) initialize(...)
33. └─mlr3:::.__ResultData__initialize(...)
34. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
35. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorRFE.R:2:3'): importance is stored in the archive ──────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─global test_fselector("rfe", store_models = TRUE) at test_FSelectorRFE.R:2:3
2. └─mlr3fselect::fselect(...)
3. └─fselector$optimize(instance)
4. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
5. └─bbotk::optimize_batch_default(inst, self)
6. ├─base::tryCatch(...)
7. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
8. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
9. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
10. └─get_private(optimizer)$.optimize(instance)
11. └─mlr3fselect:::.__FSelectorBatchRFE__.optimize(...)
12. └─mlr3fselect:::rfe_workhorse(inst, subsets, recursive, aggregation)
13. └─inst$eval_batch(states)
14. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
15. └─self$objective$eval_many(xss_trafoed)
16. └─bbotk:::.__Objective__eval_many(...)
17. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
18. │ └─base::eval.parent(expr, n = 1L)
19. │ └─base::eval(expr, p)
20. │ └─base::eval(expr, p)
21. └─private$.eval_many(xss = xss, resampling = `<list>`)
22. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
23. └─mlr3::benchmark(...)
24. └─ResultData$new(grid, data_extra, store_backends = store_backends)
25. └─mlr3 (local) initialize(...)
26. └─mlr3:::.__ResultData__initialize(...)
27. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
28. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorRFE.R:11:3'): default parameters work ─────────────────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─global test_fselector("rfe", store_models = TRUE) at test_FSelectorRFE.R:11:3
2. └─mlr3fselect::fselect(...)
3. └─fselector$optimize(instance)
4. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
5. └─bbotk::optimize_batch_default(inst, self)
6. ├─base::tryCatch(...)
7. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
8. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
9. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
10. └─get_private(optimizer)$.optimize(instance)
11. └─mlr3fselect:::.__FSelectorBatchRFE__.optimize(...)
12. └─mlr3fselect:::rfe_workhorse(inst, subsets, recursive, aggregation)
13. └─inst$eval_batch(states)
14. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
15. └─self$objective$eval_many(xss_trafoed)
16. └─bbotk:::.__Objective__eval_many(...)
17. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
18. │ └─base::eval.parent(expr, n = 1L)
19. │ └─base::eval(expr, p)
20. │ └─base::eval(expr, p)
21. └─private$.eval_many(xss = xss, resampling = `<list>`)
22. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
23. └─mlr3::benchmark(...)
24. └─ResultData$new(grid, data_extra, store_backends = store_backends)
25. └─mlr3 (local) initialize(...)
26. └─mlr3:::.__ResultData__initialize(...)
27. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
28. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorRFE.R:18:3'): recursive parameter works ───────────────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─global test_fselector("rfe", recursive = FALSE, store_models = TRUE) at test_FSelectorRFE.R:18:3
2. └─mlr3fselect::fselect(...)
3. └─fselector$optimize(instance)
4. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
5. └─bbotk::optimize_batch_default(inst, self)
6. ├─base::tryCatch(...)
7. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
8. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
9. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
10. └─get_private(optimizer)$.optimize(instance)
11. └─mlr3fselect:::.__FSelectorBatchRFE__.optimize(...)
12. └─mlr3fselect:::rfe_workhorse(inst, subsets, recursive, aggregation)
13. └─inst$eval_batch(states)
14. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
15. └─self$objective$eval_many(xss_trafoed)
16. └─bbotk:::.__Objective__eval_many(...)
17. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
18. │ └─base::eval.parent(expr, n = 1L)
19. │ └─base::eval(expr, p)
20. │ └─base::eval(expr, p)
21. └─private$.eval_many(xss = xss, resampling = `<list>`)
22. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
23. └─mlr3::benchmark(...)
24. └─ResultData$new(grid, data_extra, store_backends = store_backends)
25. └─mlr3 (local) initialize(...)
26. └─mlr3:::.__ResultData__initialize(...)
27. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
28. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorRFE.R:27:3'): feature_fraction parameter works ────────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─global test_fselector("rfe", feature_fraction = 0.9, store_models = TRUE) at test_FSelectorRFE.R:27:3
2. └─mlr3fselect::fselect(...)
3. └─fselector$optimize(instance)
4. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
5. └─bbotk::optimize_batch_default(inst, self)
6. ├─base::tryCatch(...)
7. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
8. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
9. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
10. └─get_private(optimizer)$.optimize(instance)
11. └─mlr3fselect:::.__FSelectorBatchRFE__.optimize(...)
12. └─mlr3fselect:::rfe_workhorse(inst, subsets, recursive, aggregation)
13. └─inst$eval_batch(states)
14. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
15. └─self$objective$eval_many(xss_trafoed)
16. └─bbotk:::.__Objective__eval_many(...)
17. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
18. │ └─base::eval.parent(expr, n = 1L)
19. │ └─base::eval(expr, p)
20. │ └─base::eval(expr, p)
21. └─private$.eval_many(xss = xss, resampling = `<list>`)
22. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
23. └─mlr3::benchmark(...)
24. └─ResultData$new(grid, data_extra, store_backends = store_backends)
25. └─mlr3 (local) initialize(...)
26. └─mlr3:::.__ResultData__initialize(...)
27. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
28. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorRFE.R:49:3'): feature_number parameter works ──────────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─global test_fselector("rfe", feature_number = 1, store_models = TRUE) at test_FSelectorRFE.R:49:3
2. └─mlr3fselect::fselect(...)
3. └─fselector$optimize(instance)
4. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
5. └─bbotk::optimize_batch_default(inst, self)
6. ├─base::tryCatch(...)
7. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
8. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
9. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
10. └─get_private(optimizer)$.optimize(instance)
11. └─mlr3fselect:::.__FSelectorBatchRFE__.optimize(...)
12. └─mlr3fselect:::rfe_workhorse(inst, subsets, recursive, aggregation)
13. └─inst$eval_batch(states)
14. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
15. └─self$objective$eval_many(xss_trafoed)
16. └─bbotk:::.__Objective__eval_many(...)
17. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
18. │ └─base::eval.parent(expr, n = 1L)
19. │ └─base::eval(expr, p)
20. │ └─base::eval(expr, p)
21. └─private$.eval_many(xss = xss, resampling = `<list>`)
22. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
23. └─mlr3::benchmark(...)
24. └─ResultData$new(grid, data_extra, store_backends = store_backends)
25. └─mlr3 (local) initialize(...)
26. └─mlr3:::.__ResultData__initialize(...)
27. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
28. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorRFE.R:63:3'): subset_size parameter works ─────────────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─global test_fselector("rfe", subset_sizes = c(3L, 1L), store_models = TRUE) at test_FSelectorRFE.R:63:3
2. └─mlr3fselect::fselect(...)
3. └─fselector$optimize(instance)
4. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
5. └─bbotk::optimize_batch_default(inst, self)
6. ├─base::tryCatch(...)
7. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
8. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
9. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
10. └─get_private(optimizer)$.optimize(instance)
11. └─mlr3fselect:::.__FSelectorBatchRFE__.optimize(...)
12. └─mlr3fselect:::rfe_workhorse(inst, subsets, recursive, aggregation)
13. └─inst$eval_batch(states)
14. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
15. └─self$objective$eval_many(xss_trafoed)
16. └─bbotk:::.__Objective__eval_many(...)
17. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
18. │ └─base::eval.parent(expr, n = 1L)
19. │ └─base::eval(expr, p)
20. │ └─base::eval(expr, p)
21. └─private$.eval_many(xss = xss, resampling = `<list>`)
22. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
23. └─mlr3::benchmark(...)
24. └─ResultData$new(grid, data_extra, store_backends = store_backends)
25. └─mlr3 (local) initialize(...)
26. └─mlr3:::.__ResultData__initialize(...)
27. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
28. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorRFE.R:83:3'): subset is full feature set works ────────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─global test_fselector("rfe", feature_number = 4, store_models = TRUE) at test_FSelectorRFE.R:83:3
2. └─mlr3fselect::fselect(...)
3. └─fselector$optimize(instance)
4. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
5. └─bbotk::optimize_batch_default(inst, self)
6. ├─base::tryCatch(...)
7. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
8. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
9. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
10. └─get_private(optimizer)$.optimize(instance)
11. └─mlr3fselect:::.__FSelectorBatchRFE__.optimize(...)
12. └─mlr3fselect:::rfe_workhorse(inst, subsets, recursive, aggregation)
13. └─inst$eval_batch(states)
14. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
15. └─self$objective$eval_many(xss_trafoed)
16. └─bbotk:::.__Objective__eval_many(...)
17. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
18. │ └─base::eval.parent(expr, n = 1L)
19. │ └─base::eval(expr, p)
20. │ └─base::eval(expr, p)
21. └─private$.eval_many(xss = xss, resampling = `<list>`)
22. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
23. └─mlr3::benchmark(...)
24. └─ResultData$new(grid, data_extra, store_backends = store_backends)
25. └─mlr3 (local) initialize(...)
26. └─mlr3:::.__ResultData__initialize(...)
27. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
28. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorRFE.R:131:3'): rank_importance function works ─────────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3::resample(task, learner, rsmp("cv", folds = 3), store_models = TRUE) at test_FSelectorRFE.R:131:3
2. └─ResultData$new(data, data_extra, store_backends = store_backends)
3. └─mlr3 (local) initialize(...)
4. └─mlr3:::.__ResultData__initialize(...)
5. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
6. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorRFE.R:142:3'): average_importance function works ──────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3::resample(task, learner, rsmp("cv", folds = 3), store_models = TRUE) at test_FSelectorRFE.R:142:3
2. └─ResultData$new(data, data_extra, store_backends = store_backends)
3. └─mlr3 (local) initialize(...)
4. └─mlr3:::.__ResultData__initialize(...)
5. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
6. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorRFE.R:154:3'): works without storing models ───────────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3fselect::fselect(...) at test_FSelectorRFE.R:154:3
2. └─fselector$optimize(instance)
3. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
4. └─bbotk::optimize_batch_default(inst, self)
5. ├─base::tryCatch(...)
6. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
8. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
9. └─get_private(optimizer)$.optimize(instance)
10. └─mlr3fselect:::.__FSelectorBatchRFE__.optimize(...)
11. └─mlr3fselect:::rfe_workhorse(inst, subsets, recursive, aggregation)
12. └─inst$eval_batch(states)
13. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
14. └─self$objective$eval_many(xss_trafoed)
15. └─bbotk:::.__Objective__eval_many(...)
16. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
17. │ └─base::eval.parent(expr, n = 1L)
18. │ └─base::eval(expr, p)
19. │ └─base::eval(expr, p)
20. └─private$.eval_many(xss = xss, resampling = `<list>`)
21. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
22. └─mlr3::benchmark(...)
23. └─ResultData$new(grid, data_extra, store_backends = store_backends)
24. └─mlr3 (local) initialize(...)
25. └─mlr3:::.__ResultData__initialize(...)
26. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
27. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorRFE.R:233:3'): optimal features are selected with rank ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─optimizer$optimize(instance) at test_FSelectorRFE.R:233:3
2. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
3. └─bbotk::optimize_batch_default(inst, self)
4. ├─base::tryCatch(...)
5. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
6. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
7. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
8. └─get_private(optimizer)$.optimize(instance)
9. └─mlr3fselect:::.__FSelectorBatchRFE__.optimize(...)
10. └─mlr3fselect:::rfe_workhorse(inst, subsets, recursive, aggregation)
11. └─inst$eval_batch(states)
12. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
13. └─self$objective$eval_many(xss_trafoed)
14. └─bbotk:::.__Objective__eval_many(...)
15. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
16. │ └─base::eval.parent(expr, n = 1L)
17. │ └─base::eval(expr, p)
18. │ └─base::eval(expr, p)
19. └─private$.eval_many(xss = xss, resampling = `<list>`)
20. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
21. └─mlr3::benchmark(...)
22. └─ResultData$new(grid, data_extra, store_backends = store_backends)
23. └─mlr3 (local) initialize(...)
24. └─mlr3:::.__ResultData__initialize(...)
25. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
26. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorRFE.R:290:3'): optimal features are selected with mean ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─optimizer$optimize(instance) at test_FSelectorRFE.R:290:3
2. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
3. └─bbotk::optimize_batch_default(inst, self)
4. ├─base::tryCatch(...)
5. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
6. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
7. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
8. └─get_private(optimizer)$.optimize(instance)
9. └─mlr3fselect:::.__FSelectorBatchRFE__.optimize(...)
10. └─mlr3fselect:::rfe_workhorse(inst, subsets, recursive, aggregation)
11. └─inst$eval_batch(states)
12. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
13. └─self$objective$eval_many(xss_trafoed)
14. └─bbotk:::.__Objective__eval_many(...)
15. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
16. │ └─base::eval.parent(expr, n = 1L)
17. │ └─base::eval(expr, p)
18. │ └─base::eval(expr, p)
19. └─private$.eval_many(xss = xss, resampling = `<list>`)
20. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
21. └─mlr3::benchmark(...)
22. └─ResultData$new(grid, data_extra, store_backends = store_backends)
23. └─mlr3 (local) initialize(...)
24. └─mlr3:::.__ResultData__initialize(...)
25. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
26. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorRFECV.R:12:3'): extra columns are stored in the archive ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─optimizer$optimize(instance) at test_FSelectorRFECV.R:12:3
2. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
3. └─bbotk::optimize_batch_default(inst, self)
4. ├─base::tryCatch(...)
5. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
6. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
7. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
8. └─get_private(optimizer)$.optimize(instance)
9. └─mlr3fselect:::.__FSelectorBatchRFECV__.optimize(...)
10. └─mlr3fselect:::rfe_workhorse(inst, subsets, recursive, folds = resampling_cv$iters)
11. └─inst$eval_batch(states)
12. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
13. └─self$objective$eval_many(xss_trafoed)
14. └─bbotk:::.__Objective__eval_many(...)
15. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
16. │ └─base::eval.parent(expr, n = 1L)
17. │ └─base::eval(expr, p)
18. │ └─base::eval(expr, p)
19. └─private$.eval_many(xss = xss, resampling = `<list>`)
20. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
21. └─mlr3::benchmark(...)
22. └─ResultData$new(grid, data_extra, store_backends = store_backends)
23. └─mlr3 (local) initialize(...)
24. └─mlr3:::.__ResultData__initialize(...)
25. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
26. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorRFECV.R:32:3'): resampling is converted ───────────────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─optimizer$optimize(instance) at test_FSelectorRFECV.R:32:3
2. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
3. └─bbotk::optimize_batch_default(inst, self)
4. ├─base::tryCatch(...)
5. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
6. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
7. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
8. └─get_private(optimizer)$.optimize(instance)
9. └─mlr3fselect:::.__FSelectorBatchRFECV__.optimize(...)
10. └─mlr3fselect:::rfe_workhorse(inst, subsets, recursive, folds = resampling_cv$iters)
11. └─inst$eval_batch(states)
12. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
13. └─self$objective$eval_many(xss_trafoed)
14. └─bbotk:::.__Objective__eval_many(...)
15. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
16. │ └─base::eval.parent(expr, n = 1L)
17. │ └─base::eval(expr, p)
18. │ └─base::eval(expr, p)
19. └─private$.eval_many(xss = xss, resampling = `<list>`)
20. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
21. └─mlr3::benchmark(...)
22. └─ResultData$new(grid, data_extra, store_backends = store_backends)
23. └─mlr3 (local) initialize(...)
24. └─mlr3:::.__ResultData__initialize(...)
25. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
26. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorRFECV.R:61:3'): default parameters work ───────────────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─optimizer$optimize(instance) at test_FSelectorRFECV.R:61:3
2. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
3. └─bbotk::optimize_batch_default(inst, self)
4. ├─base::tryCatch(...)
5. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
6. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
7. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
8. └─get_private(optimizer)$.optimize(instance)
9. └─mlr3fselect:::.__FSelectorBatchRFECV__.optimize(...)
10. └─mlr3fselect:::rfe_workhorse(inst, subsets, recursive, folds = resampling_cv$iters)
11. └─inst$eval_batch(states)
12. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
13. └─self$objective$eval_many(xss_trafoed)
14. └─bbotk:::.__Objective__eval_many(...)
15. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
16. │ └─base::eval.parent(expr, n = 1L)
17. │ └─base::eval(expr, p)
18. │ └─base::eval(expr, p)
19. └─private$.eval_many(xss = xss, resampling = `<list>`)
20. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
21. └─mlr3::benchmark(...)
22. └─ResultData$new(grid, data_extra, store_backends = store_backends)
23. └─mlr3 (local) initialize(...)
24. └─mlr3:::.__ResultData__initialize(...)
25. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
26. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorRFECV.R:118:3'): optimal features are selected ────────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─optimizer$optimize(instance) at test_FSelectorRFECV.R:118:3
2. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
3. └─bbotk::optimize_batch_default(inst, self)
4. ├─base::tryCatch(...)
5. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
6. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
7. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
8. └─get_private(optimizer)$.optimize(instance)
9. └─mlr3fselect:::.__FSelectorBatchRFECV__.optimize(...)
10. └─mlr3fselect:::rfe_workhorse(inst, subsets, recursive, folds = resampling_cv$iters)
11. └─inst$eval_batch(states)
12. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
13. └─self$objective$eval_many(xss_trafoed)
14. └─bbotk:::.__Objective__eval_many(...)
15. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
16. │ └─base::eval.parent(expr, n = 1L)
17. │ └─base::eval(expr, p)
18. │ └─base::eval(expr, p)
19. └─private$.eval_many(xss = xss, resampling = `<list>`)
20. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
21. └─mlr3::benchmark(...)
22. └─ResultData$new(grid, data_extra, store_backends = store_backends)
23. └─mlr3 (local) initialize(...)
24. └─mlr3:::.__ResultData__initialize(...)
25. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
26. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorRandomSearch.R:2:3'): default parameters work ─────────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─global test_fselector("random_search", batch_size = 5, term_evals = 10) at test_FSelectorRandomSearch.R:2:3
2. └─mlr3fselect::fselect(...)
3. └─fselector$optimize(instance)
4. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
5. └─bbotk::optimize_batch_default(inst, self)
6. ├─base::tryCatch(...)
7. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
8. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
9. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
10. └─get_private(optimizer)$.optimize(instance)
11. └─mlr3fselect:::.__FSelectorBatchRandomSearch__.optimize(...)
12. └─inst$eval_batch(as.data.table(X))
13. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
14. └─self$objective$eval_many(xss_trafoed)
15. └─bbotk:::.__Objective__eval_many(...)
16. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
17. │ └─base::eval.parent(expr, n = 1L)
18. │ └─base::eval(expr, p)
19. │ └─base::eval(expr, p)
20. └─private$.eval_many(xss = xss, resampling = `<list>`)
21. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
22. └─mlr3::benchmark(...)
23. └─ResultData$new(grid, data_extra, store_backends = store_backends)
24. └─mlr3 (local) initialize(...)
25. └─mlr3:::.__ResultData__initialize(...)
26. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
27. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorRandomSearch.R:6:3'): max_features parameter work ─────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─global test_fselector("random_search", max_features = 1, term_evals = 10) at test_FSelectorRandomSearch.R:6:3
2. └─mlr3fselect::fselect(...)
3. └─fselector$optimize(instance)
4. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
5. └─bbotk::optimize_batch_default(inst, self)
6. ├─base::tryCatch(...)
7. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
8. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
9. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
10. └─get_private(optimizer)$.optimize(instance)
11. └─mlr3fselect:::.__FSelectorBatchRandomSearch__.optimize(...)
12. └─inst$eval_batch(as.data.table(X))
13. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
14. └─self$objective$eval_many(xss_trafoed)
15. └─bbotk:::.__Objective__eval_many(...)
16. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
17. │ └─base::eval.parent(expr, n = 1L)
18. │ └─base::eval(expr, p)
19. │ └─base::eval(expr, p)
20. └─private$.eval_many(xss = xss, resampling = `<list>`)
21. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
22. └─mlr3::benchmark(...)
23. └─ResultData$new(grid, data_extra, store_backends = store_backends)
24. └─mlr3 (local) initialize(...)
25. └─mlr3:::.__ResultData__initialize(...)
26. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
27. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorRandomSearch.R:12:3'): multi-crit works ───────────────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─global test_fselector_2D("random_search", batch_size = 5, term_evals = 10) at test_FSelectorRandomSearch.R:12:3
2. └─mlr3fselect::fselect(...)
3. └─fselector$optimize(instance)
4. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
5. └─bbotk::optimize_batch_default(inst, self)
6. ├─base::tryCatch(...)
7. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
8. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
9. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
10. └─get_private(optimizer)$.optimize(instance)
11. └─mlr3fselect:::.__FSelectorBatchRandomSearch__.optimize(...)
12. └─inst$eval_batch(as.data.table(X))
13. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
14. └─self$objective$eval_many(xss_trafoed)
15. └─bbotk:::.__Objective__eval_many(...)
16. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
17. │ └─base::eval.parent(expr, n = 1L)
18. │ └─base::eval(expr, p)
19. │ └─base::eval(expr, p)
20. └─private$.eval_many(xss = xss, resampling = `<list>`)
21. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
22. └─mlr3::benchmark(...)
23. └─ResultData$new(grid, data_extra, store_backends = store_backends)
24. └─mlr3 (local) initialize(...)
25. └─mlr3:::.__ResultData__initialize(...)
26. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
27. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorSequential.R:2:3'): default parameters works ──────────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─global test_fselector("sequential") at test_FSelectorSequential.R:2:3
2. └─mlr3fselect::fselect(...)
3. └─fselector$optimize(instance)
4. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
5. └─bbotk::optimize_batch_default(inst, self)
6. ├─base::tryCatch(...)
7. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
8. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
9. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
10. └─get_private(optimizer)$.optimize(instance)
11. └─mlr3fselect:::.__FSelectorBatchSequential__.optimize(...)
12. └─inst$eval_batch(states)
13. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
14. └─self$objective$eval_many(xss_trafoed)
15. └─bbotk:::.__Objective__eval_many(...)
16. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
17. │ └─base::eval.parent(expr, n = 1L)
18. │ └─base::eval(expr, p)
19. │ └─base::eval(expr, p)
20. └─private$.eval_many(xss = xss, resampling = `<list>`)
21. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
22. └─mlr3::benchmark(...)
23. └─ResultData$new(grid, data_extra, store_backends = store_backends)
24. └─mlr3 (local) initialize(...)
25. └─mlr3:::.__ResultData__initialize(...)
26. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
27. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorSequential.R:11:3'): sbs strategy works ───────────────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─global test_fselector("sequential", strategy = "sbs") at test_FSelectorSequential.R:11:3
2. └─mlr3fselect::fselect(...)
3. └─fselector$optimize(instance)
4. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
5. └─bbotk::optimize_batch_default(inst, self)
6. ├─base::tryCatch(...)
7. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
8. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
9. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
10. └─get_private(optimizer)$.optimize(instance)
11. └─mlr3fselect:::.__FSelectorBatchSequential__.optimize(...)
12. └─inst$eval_batch(states)
13. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
14. └─self$objective$eval_many(xss_trafoed)
15. └─bbotk:::.__Objective__eval_many(...)
16. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
17. │ └─base::eval.parent(expr, n = 1L)
18. │ └─base::eval(expr, p)
19. │ └─base::eval(expr, p)
20. └─private$.eval_many(xss = xss, resampling = `<list>`)
21. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
22. └─mlr3::benchmark(...)
23. └─ResultData$new(grid, data_extra, store_backends = store_backends)
24. └─mlr3 (local) initialize(...)
25. └─mlr3:::.__ResultData__initialize(...)
26. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
27. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorSequential.R:20:3'): sfs strategy works with max_features parameter ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─global test_fselector("sequential", max_features = 2) at test_FSelectorSequential.R:20:3
2. └─mlr3fselect::fselect(...)
3. └─fselector$optimize(instance)
4. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
5. └─bbotk::optimize_batch_default(inst, self)
6. ├─base::tryCatch(...)
7. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
8. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
9. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
10. └─get_private(optimizer)$.optimize(instance)
11. └─mlr3fselect:::.__FSelectorBatchSequential__.optimize(...)
12. └─inst$eval_batch(states)
13. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
14. └─self$objective$eval_many(xss_trafoed)
15. └─bbotk:::.__Objective__eval_many(...)
16. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
17. │ └─base::eval.parent(expr, n = 1L)
18. │ └─base::eval(expr, p)
19. │ └─base::eval(expr, p)
20. └─private$.eval_many(xss = xss, resampling = `<list>`)
21. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
22. └─mlr3::benchmark(...)
23. └─ResultData$new(grid, data_extra, store_backends = store_backends)
24. └─mlr3 (local) initialize(...)
25. └─mlr3:::.__ResultData__initialize(...)
26. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
27. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorSequential.R:26:3'): sbs strategy works with max_features parameter ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─global test_fselector("sequential", max_features = 2, strategy = "sbs") at test_FSelectorSequential.R:26:3
2. └─mlr3fselect::fselect(...)
3. └─fselector$optimize(instance)
4. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
5. └─bbotk::optimize_batch_default(inst, self)
6. ├─base::tryCatch(...)
7. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
8. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
9. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
10. └─get_private(optimizer)$.optimize(instance)
11. └─mlr3fselect:::.__FSelectorBatchSequential__.optimize(...)
12. └─inst$eval_batch(states)
13. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
14. └─self$objective$eval_many(xss_trafoed)
15. └─bbotk:::.__Objective__eval_many(...)
16. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
17. │ └─base::eval.parent(expr, n = 1L)
18. │ └─base::eval(expr, p)
19. │ └─base::eval(expr, p)
20. └─private$.eval_many(xss = xss, resampling = `<list>`)
21. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
22. └─mlr3::benchmark(...)
23. └─ResultData$new(grid, data_extra, store_backends = store_backends)
24. └─mlr3 (local) initialize(...)
25. └─mlr3:::.__ResultData__initialize(...)
26. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
27. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorSequential.R:32:3'): optimization_path method works ───
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─global test_fselector("sequential") at test_FSelectorSequential.R:32:3
2. └─mlr3fselect::fselect(...)
3. └─fselector$optimize(instance)
4. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
5. └─bbotk::optimize_batch_default(inst, self)
6. ├─base::tryCatch(...)
7. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
8. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
9. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
10. └─get_private(optimizer)$.optimize(instance)
11. └─mlr3fselect:::.__FSelectorBatchSequential__.optimize(...)
12. └─inst$eval_batch(states)
13. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
14. └─self$objective$eval_many(xss_trafoed)
15. └─bbotk:::.__Objective__eval_many(...)
16. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
17. │ └─base::eval.parent(expr, n = 1L)
18. │ └─base::eval(expr, p)
19. │ └─base::eval(expr, p)
20. └─private$.eval_many(xss = xss, resampling = `<list>`)
21. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
22. └─mlr3::benchmark(...)
23. └─ResultData$new(grid, data_extra, store_backends = store_backends)
24. └─mlr3 (local) initialize(...)
25. └─mlr3:::.__ResultData__initialize(...)
26. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
27. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorSequential.R:39:3'): optimization_path method works with included uhash ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─global test_fselector("sequential") at test_FSelectorSequential.R:39:3
2. └─mlr3fselect::fselect(...)
3. └─fselector$optimize(instance)
4. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
5. └─bbotk::optimize_batch_default(inst, self)
6. ├─base::tryCatch(...)
7. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
8. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
9. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
10. └─get_private(optimizer)$.optimize(instance)
11. └─mlr3fselect:::.__FSelectorBatchSequential__.optimize(...)
12. └─inst$eval_batch(states)
13. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
14. └─self$objective$eval_many(xss_trafoed)
15. └─bbotk:::.__Objective__eval_many(...)
16. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
17. │ └─base::eval.parent(expr, n = 1L)
18. │ └─base::eval(expr, p)
19. │ └─base::eval(expr, p)
20. └─private$.eval_many(xss = xss, resampling = `<list>`)
21. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
22. └─mlr3::benchmark(...)
23. └─ResultData$new(grid, data_extra, store_backends = store_backends)
24. └─mlr3 (local) initialize(...)
25. └─mlr3:::.__ResultData__initialize(...)
26. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
27. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorShadowVariableSearch.R:2:3'): default parameters work ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─global test_fselector("shadow_variable_search", store_models = TRUE) at test_FSelectorShadowVariableSearch.R:2:3
2. └─mlr3fselect::fselect(...)
3. └─fselector$optimize(instance)
4. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
5. └─bbotk::optimize_batch_default(inst, self)
6. ├─base::tryCatch(...)
7. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
8. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
9. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
10. └─get_private(optimizer)$.optimize(instance)
11. └─mlr3fselect:::.__FSelectorBatchShadowVariableSearch__.optimize(...)
12. └─inst$eval_batch(states)
13. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
14. └─self$objective$eval_many(xss_trafoed)
15. └─bbotk:::.__Objective__eval_many(...)
16. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
17. │ └─base::eval.parent(expr, n = 1L)
18. │ └─base::eval(expr, p)
19. │ └─base::eval(expr, p)
20. └─private$.eval_many(xss = xss, resampling = `<list>`)
21. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
22. └─mlr3::benchmark(...)
23. └─ResultData$new(grid, data_extra, store_backends = store_backends)
24. └─mlr3 (local) initialize(...)
25. └─mlr3:::.__ResultData__initialize(...)
26. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
27. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorShadowVariableSearch.R:14:3'): task is permuted ───────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─fselector$optimize(instance) at test_FSelectorShadowVariableSearch.R:14:3
2. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
3. └─bbotk::optimize_batch_default(inst, self)
4. ├─base::tryCatch(...)
5. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
6. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
7. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
8. └─get_private(optimizer)$.optimize(instance)
9. └─mlr3fselect:::.__FSelectorBatchShadowVariableSearch__.optimize(...)
10. └─inst$eval_batch(states)
11. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
12. └─self$objective$eval_many(xss_trafoed)
13. └─bbotk:::.__Objective__eval_many(...)
14. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
15. │ └─base::eval.parent(expr, n = 1L)
16. │ └─base::eval(expr, p)
17. │ └─base::eval(expr, p)
18. └─private$.eval_many(xss = xss, resampling = `<list>`)
19. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
20. └─mlr3::benchmark(...)
21. └─ResultData$new(grid, data_extra, store_backends = store_backends)
22. └─mlr3 (local) initialize(...)
23. └─mlr3:::.__ResultData__initialize(...)
24. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
25. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorShadowVariableSearch.R:26:3'): first selected feature is a shadow variable works ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. ├─testthat::expect_error(fselector$optimize(instance), regexp = "The first selected feature is a shadow variable.") at test_FSelectorShadowVariableSearch.R:26: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. └─fselector$optimize(instance)
8. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
9. └─bbotk::optimize_batch_default(inst, self)
10. ├─base::tryCatch(...)
11. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
12. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
13. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
14. └─get_private(optimizer)$.optimize(instance)
15. └─mlr3fselect:::.__FSelectorBatchShadowVariableSearch__.optimize(...)
16. └─inst$eval_batch(states)
17. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
18. └─self$objective$eval_many(xss_trafoed)
19. └─bbotk:::.__Objective__eval_many(...)
20. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
21. │ └─base::eval.parent(expr, n = 1L)
22. │ └─base::eval(expr, p)
23. │ └─base::eval(expr, p)
24. └─private$.eval_many(xss = xss, resampling = `<list>`)
25. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
26. └─mlr3::benchmark(...)
27. └─ResultData$new(grid, data_extra, store_backends = store_backends)
28. └─mlr3 (local) initialize(...)
29. └─mlr3:::.__ResultData__initialize(...)
30. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
31. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorShadowVariableSearch.R:35:3'): second selected feature is a shadow variable works ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─fselector$optimize(instance) at test_FSelectorShadowVariableSearch.R:35:3
2. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
3. └─bbotk::optimize_batch_default(inst, self)
4. ├─base::tryCatch(...)
5. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
6. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
7. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
8. └─get_private(optimizer)$.optimize(instance)
9. └─mlr3fselect:::.__FSelectorBatchShadowVariableSearch__.optimize(...)
10. └─inst$eval_batch(states)
11. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
12. └─self$objective$eval_many(xss_trafoed)
13. └─bbotk:::.__Objective__eval_many(...)
14. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
15. │ └─base::eval.parent(expr, n = 1L)
16. │ └─base::eval(expr, p)
17. │ └─base::eval(expr, p)
18. └─private$.eval_many(xss = xss, resampling = `<list>`)
19. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
20. └─mlr3::benchmark(...)
21. └─ResultData$new(grid, data_extra, store_backends = store_backends)
22. └─mlr3 (local) initialize(...)
23. └─mlr3:::.__ResultData__initialize(...)
24. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
25. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorShadowVariableSearch.R:54:3'): search is terminated by terminator works ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─fselector$optimize(instance) at test_FSelectorShadowVariableSearch.R:54:3
2. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
3. └─bbotk::optimize_batch_default(inst, self)
4. ├─base::tryCatch(...)
5. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
6. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
7. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
8. └─get_private(optimizer)$.optimize(instance)
9. └─mlr3fselect:::.__FSelectorBatchShadowVariableSearch__.optimize(...)
10. └─inst$eval_batch(states)
11. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
12. └─self$objective$eval_many(xss_trafoed)
13. └─bbotk:::.__Objective__eval_many(...)
14. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
15. │ └─base::eval.parent(expr, n = 1L)
16. │ └─base::eval(expr, p)
17. │ └─base::eval(expr, p)
18. └─private$.eval_many(xss = xss, resampling = `<list>`)
19. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
20. └─mlr3::benchmark(...)
21. └─ResultData$new(grid, data_extra, store_backends = store_backends)
22. └─mlr3 (local) initialize(...)
23. └─mlr3:::.__ResultData__initialize(...)
24. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
25. └─data.table:::`[.data.table`(...)
── Error ('test_ObjectiveFSelect.R:15:3'): ObjectiveFSelectBatch ───────────────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─obj$eval_many(xss) at test_ObjectiveFSelect.R:15:3
2. └─bbotk:::.__Objective__eval_many(...)
3. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
4. │ └─base::eval.parent(expr, n = 1L)
5. │ └─base::eval(expr, p)
6. │ └─base::eval(expr, p)
7. └─private$.eval_many(xss = xss, resampling = `<list>`)
8. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
9. └─mlr3::benchmark(...)
10. └─ResultData$new(grid, 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_ObjectiveFSelect.R:35:3'): ObjectiveFSelectBatch works with multiple measures ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─obj$eval_many(xss) at test_ObjectiveFSelect.R:35:3
2. └─bbotk:::.__Objective__eval_many(...)
3. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
4. │ └─base::eval.parent(expr, n = 1L)
5. │ └─base::eval(expr, p)
6. │ └─base::eval(expr, p)
7. └─private$.eval_many(xss = xss, resampling = `<list>`)
8. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
9. └─mlr3::benchmark(...)
10. └─ResultData$new(grid, 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_ObjectiveFSelect.R:54:3'): ObjectiveFSelectBatch works with store_models ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─obj$eval_many(xss) at test_ObjectiveFSelect.R:54:3
2. └─bbotk:::.__Objective__eval_many(...)
3. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
4. │ └─base::eval.parent(expr, n = 1L)
5. │ └─base::eval(expr, p)
6. │ └─base::eval(expr, p)
7. └─private$.eval_many(xss = xss, resampling = `<list>`)
8. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
9. └─mlr3::benchmark(...)
10. └─ResultData$new(grid, 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_ObjectiveFSelect.R:67:5'): fast aggregation works ──────────────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. ├─global with_seed(...) at test_ObjectiveFSelect.R:66:3
2. │ └─base::force(expr)
3. └─mlr3fselect::fselect(...) at test_ObjectiveFSelect.R:67:5
4. └─fselector$optimize(instance)
5. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
6. └─bbotk::optimize_batch_default(inst, self)
7. ├─base::tryCatch(...)
8. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
9. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
10. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
11. └─get_private(optimizer)$.optimize(instance)
12. └─mlr3fselect:::.__FSelectorBatchRandomSearch__.optimize(...)
13. └─inst$eval_batch(as.data.table(X))
14. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
15. └─self$objective$eval_many(xss_trafoed)
16. └─bbotk:::.__Objective__eval_many(...)
17. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
18. │ └─base::eval.parent(expr, n = 1L)
19. │ └─base::eval(expr, p)
20. │ └─base::eval(expr, p)
21. └─private$.eval_many(xss = xss, resampling = `<list>`)
22. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
23. └─mlr3::benchmark(...)
24. └─ResultData$new(grid, data_extra, store_backends = store_backends)
25. └─mlr3 (local) initialize(...)
26. └─mlr3:::.__ResultData__initialize(...)
27. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
28. └─data.table:::`[.data.table`(...)
── Error ('test_ObjectiveFSelect.R:119:3'): fast aggregation conditions work ───
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3fselect::fselect(...) at test_ObjectiveFSelect.R:119:3
2. └─fselector$optimize(instance)
3. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
4. └─bbotk::optimize_batch_default(inst, self)
5. ├─base::tryCatch(...)
6. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
8. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
9. └─get_private(optimizer)$.optimize(instance)
10. └─mlr3fselect:::.__FSelectorBatchRandomSearch__.optimize(...)
11. └─inst$eval_batch(as.data.table(X))
12. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
13. └─self$objective$eval_many(xss_trafoed)
14. └─bbotk:::.__Objective__eval_many(...)
15. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
16. │ └─base::eval.parent(expr, n = 1L)
17. │ └─base::eval(expr, p)
18. │ └─base::eval(expr, p)
19. └─private$.eval_many(xss = xss, resampling = `<list>`)
20. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
21. └─mlr3::benchmark(...)
22. └─ResultData$new(grid, data_extra, store_backends = store_backends)
23. └─mlr3 (local) initialize(...)
24. └─mlr3:::.__ResultData__initialize(...)
25. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
26. └─data.table:::`[.data.table`(...)
── Error ('test_ObjectiveFSelectAsync.R:15:3'): objective async works ──────────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─objective$eval(xs) at test_ObjectiveFSelectAsync.R:15:3
2. └─bbotk:::.__Objective__eval(...)
3. ├─mlr3misc::invoke(private$.eval, xs = xs, .args = self$constants$values)
4. │ └─base::eval.parent(expr, n = 1L)
5. │ └─base::eval(expr, p)
6. │ └─base::eval(expr, p)
7. └─private$.eval(xs = xs, resampling = `<list>`)
8. └─mlr3fselect:::.__ObjectiveFSelectAsync__.eval(...)
9. └─mlr3::resample(...)
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_ObjectiveFSelectAsync.R:37:3'): store benchmark result works ───
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─objective$eval(xs) at test_ObjectiveFSelectAsync.R:37:3
2. └─bbotk:::.__Objective__eval(...)
3. ├─mlr3misc::invoke(private$.eval, xs = xs, .args = self$constants$values)
4. │ └─base::eval.parent(expr, n = 1L)
5. │ └─base::eval(expr, p)
6. │ └─base::eval(expr, p)
7. └─private$.eval(xs = xs, resampling = `<list>`)
8. └─mlr3fselect:::.__ObjectiveFSelectAsync__.eval(...)
9. └─mlr3::resample(...)
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_ObjectiveFSelectAsync.R:61:3'): store models works ─────────────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─objective$eval(xs) at test_ObjectiveFSelectAsync.R:61:3
2. └─bbotk:::.__Objective__eval(...)
3. ├─mlr3misc::invoke(private$.eval, xs = xs, .args = self$constants$values)
4. │ └─base::eval.parent(expr, n = 1L)
5. │ └─base::eval(expr, p)
6. │ └─base::eval(expr, p)
7. └─private$.eval(xs = xs, resampling = `<list>`)
8. └─mlr3fselect:::.__ObjectiveFSelectAsync__.eval(...)
9. └─mlr3::resample(...)
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_ObjectiveFSelectAsync.R:85:3'): rush objective with multiple measures works ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─objective$eval(xs) at test_ObjectiveFSelectAsync.R:85:3
2. └─bbotk:::.__Objective__eval(...)
3. ├─mlr3misc::invoke(private$.eval, xs = xs, .args = self$constants$values)
4. │ └─base::eval.parent(expr, n = 1L)
5. │ └─base::eval(expr, p)
6. │ └─base::eval(expr, p)
7. └─private$.eval(xs = xs, resampling = `<list>`)
8. └─mlr3fselect:::.__ObjectiveFSelectAsync__.eval(...)
9. └─mlr3::resample(...)
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_embedded_ensemble_fselect.R:4:5'): embedded efs works ──────────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. ├─global with_seed(...) at test_embedded_ensemble_fselect.R:3:3
2. │ └─base::force(expr)
3. └─mlr3fselect::embedded_ensemble_fselect(...) at test_embedded_ensemble_fselect.R:4:5
4. └─mlr3::benchmark(design, store_models = TRUE)
5. └─ResultData$new(grid, data_extra, store_backends = store_backends)
6. └─mlr3 (local) initialize(...)
7. └─mlr3:::.__ResultData__initialize(...)
8. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
9. └─data.table:::`[.data.table`(...)
── Error ('test_embedded_ensemble_fselect.R:69:5'): combine embedded efs results ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. ├─global with_seed(...) at test_embedded_ensemble_fselect.R:68:3
2. │ └─base::force(expr)
3. └─mlr3fselect::embedded_ensemble_fselect(...) at test_embedded_ensemble_fselect.R:69:5
4. └─mlr3::benchmark(design, store_models = TRUE)
5. └─ResultData$new(grid, data_extra, store_backends = store_backends)
6. └─mlr3 (local) initialize(...)
7. └─mlr3:::.__ResultData__initialize(...)
8. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
9. └─data.table:::`[.data.table`(...)
── Error ('test_ensemble_fselect.R:4:5'): efs works ────────────────────────────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. ├─global with_seed(...) at test_ensemble_fselect.R:3:3
2. │ └─base::force(expr)
3. └─mlr3fselect::ensemble_fselect(...) at test_ensemble_fselect.R:4:5
4. └─mlr3::benchmark(design, store_models = TRUE)
5. └─mlr3:::future_map(...)
6. └─future.apply::future_mapply(...)
7. └─future.apply:::future_xapply(...)
8. └─base::tryCatch(...)
9. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
10. └─base (local) tryCatchOne(...)
11. └─value[[3L]](cond)
12. └─future.apply:::onError(e, futures = fs, debug = debug)
── Error ('test_ensemble_fselect.R:99:5'): efs works with rfe ──────────────────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. ├─global with_seed(...) at test_ensemble_fselect.R:98:3
2. │ └─base::force(expr)
3. └─mlr3fselect::ensemble_fselect(...) at test_ensemble_fselect.R:99:5
4. └─mlr3::benchmark(design, store_models = TRUE)
5. └─mlr3:::future_map(...)
6. └─future.apply::future_mapply(...)
7. └─future.apply:::future_xapply(...)
8. └─base::tryCatch(...)
9. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
10. └─base (local) tryCatchOne(...)
11. └─value[[3L]](cond)
12. └─future.apply:::onError(e, futures = fs, debug = debug)
── Error ('test_ensemble_fselect.R:349:3'): different callbacks can be set ─────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3fselect::ensemble_fselect(...) at test_ensemble_fselect.R:349:3
2. └─mlr3::benchmark(design, store_models = TRUE)
3. └─mlr3:::future_map(...)
4. └─future.apply::future_mapply(...)
5. └─future.apply:::future_xapply(...)
6. └─base::tryCatch(...)
7. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
8. └─base (local) tryCatchOne(...)
9. └─value[[3L]](cond)
10. └─future.apply:::onError(e, futures = fs, debug = debug)
── Error ('test_extract_inner_fselect_archives.R:2:3'): extract_inner_fselect_archives function works with resample and cv ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3fselect::fselect_nested(...) at test_extract_inner_fselect_archives.R:2:3
2. └─mlr3::resample(task, afs, outer_resampling, store_models = TRUE)
3. └─mlr3:::future_map(...)
4. └─future.apply::future_mapply(...)
5. └─future.apply:::future_xapply(...)
6. └─base::tryCatch(...)
7. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
8. └─base (local) tryCatchOne(...)
9. └─value[[3L]](cond)
10. └─future.apply:::onError(e, futures = fs, debug = debug)
── Error ('test_extract_inner_fselect_archives.R:11:3'): extract_inner_fselect_archives function works with resample and repeated cv ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3fselect::fselect_nested(...) at test_extract_inner_fselect_archives.R:11:3
2. └─mlr3::resample(task, afs, outer_resampling, store_models = TRUE)
3. └─mlr3:::future_map(...)
4. └─future.apply::future_mapply(...)
5. └─future.apply:::future_xapply(...)
6. └─base::tryCatch(...)
7. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
8. └─base (local) tryCatchOne(...)
9. └─value[[3L]](cond)
10. └─future.apply:::onError(e, futures = fs, debug = debug)
── Error ('test_extract_inner_fselect_archives.R:24:3'): extract_inner_fselect_archives function works with benchmark and cv ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3::benchmark(grid, store_models = TRUE) at test_extract_inner_fselect_archives.R:24:3
2. └─mlr3:::future_map(...)
3. └─future.apply::future_mapply(...)
4. └─future.apply:::future_xapply(...)
5. └─base::tryCatch(...)
6. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. └─base (local) tryCatchOne(...)
8. └─value[[3L]](cond)
9. └─future.apply:::onError(e, futures = fs, debug = debug)
── Error ('test_extract_inner_fselect_archives.R:37:3'): extract_inner_fselect_archives function works with benchmark and repeated cv ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3::benchmark(grid, store_models = TRUE) at test_extract_inner_fselect_archives.R:37:3
2. └─mlr3:::future_map(...)
3. └─future.apply::future_mapply(...)
4. └─future.apply:::future_xapply(...)
5. └─base::tryCatch(...)
6. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. └─base (local) tryCatchOne(...)
8. └─value[[3L]](cond)
9. └─future.apply:::onError(e, futures = fs, debug = debug)
── Error ('test_extract_inner_fselect_archives.R:50:3'): extract_inner_fselect_archives function works with multiple tasks ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3::benchmark(grid, store_models = TRUE) at test_extract_inner_fselect_archives.R:50:3
2. └─mlr3:::future_map(...)
3. └─future.apply::future_mapply(...)
4. └─future.apply:::future_xapply(...)
5. └─base::tryCatch(...)
6. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. └─base (local) tryCatchOne(...)
8. └─value[[3L]](cond)
9. └─future.apply:::onError(e, futures = fs, debug = debug)
── Error ('test_extract_inner_fselect_archives.R:61:3'): extract_inner_fselect_archives function works with no models ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3::resample(tsk("iris"), at, resampling_outer, store_models = FALSE) at test_extract_inner_fselect_archives.R:61:3
2. └─mlr3:::future_map(...)
3. └─future.apply::future_mapply(...)
4. └─future.apply:::future_xapply(...)
5. └─base::tryCatch(...)
6. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. └─base (local) tryCatchOne(...)
8. └─value[[3L]](cond)
9. └─future.apply:::onError(e, futures = fs, debug = debug)
── Error ('test_extract_inner_fselect_archives.R:70:3'): extract_inner_fselect_archives function works with no instance ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3::resample(tsk("iris"), at, resampling_outer, store_models = TRUE) at test_extract_inner_fselect_archives.R:70:3
2. └─mlr3:::future_map(...)
3. └─future.apply::future_mapply(...)
4. └─future.apply:::future_xapply(...)
5. └─base::tryCatch(...)
6. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. └─base (local) tryCatchOne(...)
8. └─value[[3L]](cond)
9. └─future.apply:::onError(e, futures = fs, debug = debug)
── Error ('test_extract_inner_fselect_archives.R:80:3'): extract_inner_fselect_archives function works with benchmark and no models ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3::benchmark(grid, store_models = FALSE) at test_extract_inner_fselect_archives.R:80:3
2. └─mlr3:::future_map(...)
3. └─future.apply::future_mapply(...)
4. └─future.apply:::future_xapply(...)
5. └─base::tryCatch(...)
6. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. └─base (local) tryCatchOne(...)
8. └─value[[3L]](cond)
9. └─future.apply:::onError(e, futures = fs, debug = debug)
── Error ('test_extract_inner_fselect_archives.R:92:3'): extract_inner_fselect_archives function works with mixed store instance ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3::benchmark(grid, store_models = TRUE) at test_extract_inner_fselect_archives.R:92:3
2. └─mlr3:::future_map(...)
3. └─future.apply::future_mapply(...)
4. └─future.apply:::future_xapply(...)
5. └─base::tryCatch(...)
6. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. └─base (local) tryCatchOne(...)
8. └─value[[3L]](cond)
9. └─future.apply:::onError(e, futures = fs, debug = debug)
── Error ('test_extract_inner_fselect_archives.R:104:3'): extract_inner_fselect_archives function works with autofselector and learner ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3::benchmark(grid, store_models = TRUE) at test_extract_inner_fselect_archives.R:104:3
2. └─mlr3:::future_map(...)
3. └─future.apply::future_mapply(...)
4. └─future.apply:::future_xapply(...)
5. └─base::tryCatch(...)
6. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. └─base (local) tryCatchOne(...)
8. └─value[[3L]](cond)
9. └─future.apply:::onError(e, futures = fs, debug = debug)
── Error ('test_extract_inner_fselect_result.R:2:3'): extract_inner_fselect_results function works with resample and cv ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3fselect::fselect_nested(...) at test_extract_inner_fselect_result.R:2:3
2. └─mlr3::resample(task, afs, outer_resampling, store_models = TRUE)
3. └─mlr3:::future_map(...)
4. └─future.apply::future_mapply(...)
5. └─future.apply:::future_xapply(...)
6. └─base::tryCatch(...)
7. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
8. └─base (local) tryCatchOne(...)
9. └─value[[3L]](cond)
10. └─future.apply:::onError(e, futures = fs, debug = debug)
── Error ('test_extract_inner_fselect_result.R:11:3'): extract_inner_fselect_results function works with resample and repeated cv ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3fselect::fselect_nested(...) at test_extract_inner_fselect_result.R:11:3
2. └─mlr3::resample(task, afs, outer_resampling, store_models = TRUE)
3. └─mlr3:::future_map(...)
4. └─future.apply::future_mapply(...)
5. └─future.apply:::future_xapply(...)
6. └─base::tryCatch(...)
7. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
8. └─base (local) tryCatchOne(...)
9. └─value[[3L]](cond)
10. └─future.apply:::onError(e, futures = fs, debug = debug)
── Error ('test_extract_inner_fselect_result.R:24:3'): extract_inner_fselect_results function works with benchmark and cv ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3::benchmark(grid, store_models = TRUE) at test_extract_inner_fselect_result.R:24:3
2. └─mlr3:::future_map(...)
3. └─future.apply::future_mapply(...)
4. └─future.apply:::future_xapply(...)
5. └─base::tryCatch(...)
6. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. └─base (local) tryCatchOne(...)
8. └─value[[3L]](cond)
9. └─future.apply:::onError(e, futures = fs, debug = debug)
── Error ('test_extract_inner_fselect_result.R:37:3'): extract_inner_fselect_results function works with benchmark and repeated cv ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3::benchmark(grid, store_models = TRUE) at test_extract_inner_fselect_result.R:37:3
2. └─mlr3:::future_map(...)
3. └─future.apply::future_mapply(...)
4. └─future.apply:::future_xapply(...)
5. └─base::tryCatch(...)
6. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. └─base (local) tryCatchOne(...)
8. └─value[[3L]](cond)
9. └─future.apply:::onError(e, futures = fs, debug = debug)
── Error ('test_extract_inner_fselect_result.R:50:3'): extract_inner_fselect_results function works with multiple tasks ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3::benchmark(grid, store_models = TRUE) at test_extract_inner_fselect_result.R:50:3
2. └─mlr3:::future_map(...)
3. └─future.apply::future_mapply(...)
4. └─future.apply:::future_xapply(...)
5. └─base::tryCatch(...)
6. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. └─base (local) tryCatchOne(...)
8. └─value[[3L]](cond)
9. └─future.apply:::onError(e, futures = fs, debug = debug)
── Error ('test_extract_inner_fselect_result.R:61:3'): extract_inner_fselect_results function works with no model ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3::resample(tsk("iris"), at, resampling_outer, store_models = FALSE) at test_extract_inner_fselect_result.R:61:3
2. └─mlr3:::future_map(...)
3. └─future.apply::future_mapply(...)
4. └─future.apply:::future_xapply(...)
5. └─base::tryCatch(...)
6. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. └─base (local) tryCatchOne(...)
8. └─value[[3L]](cond)
9. └─future.apply:::onError(e, futures = fs, debug = debug)
── Error ('test_extract_inner_fselect_result.R:70:3'): extract_inner_fselect_results function works no instance ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3::resample(tsk("iris"), at, resampling_outer, store_models = TRUE) at test_extract_inner_fselect_result.R:70:3
2. └─mlr3:::future_map(...)
3. └─future.apply::future_mapply(...)
4. └─future.apply:::future_xapply(...)
5. └─base::tryCatch(...)
6. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. └─base (local) tryCatchOne(...)
8. └─value[[3L]](cond)
9. └─future.apply:::onError(e, futures = fs, debug = debug)
── Error ('test_extract_inner_fselect_result.R:80:3'): extract_inner_fselect_results function works with benchmark and no models ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3::benchmark(grid, store_models = FALSE) at test_extract_inner_fselect_result.R:80:3
2. └─mlr3:::future_map(...)
3. └─future.apply::future_mapply(...)
4. └─future.apply:::future_xapply(...)
5. └─base::tryCatch(...)
6. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. └─base (local) tryCatchOne(...)
8. └─value[[3L]](cond)
9. └─future.apply:::onError(e, futures = fs, debug = debug)
── Error ('test_extract_inner_fselect_result.R:92:3'): extract_inner_fselect_results function works with mixed store instance ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3::benchmark(grid, store_models = TRUE) at test_extract_inner_fselect_result.R:92:3
2. └─mlr3:::future_map(...)
3. └─future.apply::future_mapply(...)
4. └─future.apply:::future_xapply(...)
5. └─base::tryCatch(...)
6. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. └─base (local) tryCatchOne(...)
8. └─value[[3L]](cond)
9. └─future.apply:::onError(e, futures = fs, debug = debug)
── Error ('test_extract_inner_fselect_result.R:104:3'): extract_inner_fselect_results function works with learner and autotuner ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3::benchmark(grid, store_models = TRUE) at test_extract_inner_fselect_result.R:104:3
2. └─mlr3:::future_map(...)
3. └─future.apply::future_mapply(...)
4. └─future.apply:::future_xapply(...)
5. └─base::tryCatch(...)
6. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. └─base (local) tryCatchOne(...)
8. └─value[[3L]](cond)
9. └─future.apply:::onError(e, futures = fs, debug = debug)
── Error ('test_extract_inner_fselect_result.R:113:3'): extract_inner_fselect_results function works with resample and return of instance ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3fselect::fselect_nested(...) at test_extract_inner_fselect_result.R:113:3
2. └─mlr3::resample(task, afs, outer_resampling, store_models = TRUE)
3. └─mlr3:::future_map(...)
4. └─future.apply::future_mapply(...)
5. └─future.apply:::future_xapply(...)
6. └─base::tryCatch(...)
7. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
8. └─base (local) tryCatchOne(...)
9. └─value[[3L]](cond)
10. └─future.apply:::onError(e, futures = fs, debug = debug)
── Error ('test_extract_inner_fselect_result.R:125:3'): extract_inner_fselect_results function works with benchmark and return of instance ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3::benchmark(grid, store_models = TRUE) at test_extract_inner_fselect_result.R:125:3
2. └─mlr3:::future_map(...)
3. └─future.apply::future_mapply(...)
4. └─future.apply:::future_xapply(...)
5. └─base::tryCatch(...)
6. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. └─base (local) tryCatchOne(...)
8. └─value[[3L]](cond)
9. └─future.apply:::onError(e, futures = fs, debug = debug)
── Error ('test_fselect.R:2:3'): fselect function works with single measure ────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3fselect::fselect(...) at test_fselect.R:2:3
2. └─fselector$optimize(instance)
3. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
4. └─bbotk::optimize_batch_default(inst, self)
5. ├─base::tryCatch(...)
6. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
8. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
9. └─get_private(optimizer)$.optimize(instance)
10. └─mlr3fselect:::.__FSelectorBatchRandomSearch__.optimize(...)
11. └─inst$eval_batch(as.data.table(X))
12. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
13. └─self$objective$eval_many(xss_trafoed)
14. └─bbotk:::.__Objective__eval_many(...)
15. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
16. │ └─base::eval.parent(expr, n = 1L)
17. │ └─base::eval(expr, p)
18. │ └─base::eval(expr, p)
19. └─private$.eval_many(xss = xss, resampling = `<list>`)
20. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
21. └─mlr3::benchmark(...)
22. └─ResultData$new(grid, data_extra, store_backends = store_backends)
23. └─mlr3 (local) initialize(...)
24. └─mlr3:::.__ResultData__initialize(...)
25. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
26. └─data.table:::`[.data.table`(...)
── Error ('test_fselect.R:11:3'): fselect function works with multiple measures ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3fselect::fselect(...) at test_fselect.R:11:3
2. └─fselector$optimize(instance)
3. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
4. └─bbotk::optimize_batch_default(inst, self)
5. ├─base::tryCatch(...)
6. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
8. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
9. └─get_private(optimizer)$.optimize(instance)
10. └─mlr3fselect:::.__FSelectorBatchRandomSearch__.optimize(...)
11. └─inst$eval_batch(as.data.table(X))
12. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
13. └─self$objective$eval_many(xss_trafoed)
14. └─bbotk:::.__Objective__eval_many(...)
15. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
16. │ └─base::eval.parent(expr, n = 1L)
17. │ └─base::eval(expr, p)
18. │ └─base::eval(expr, p)
19. └─private$.eval_many(xss = xss, resampling = `<list>`)
20. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
21. └─mlr3::benchmark(...)
22. └─ResultData$new(grid, data_extra, store_backends = store_backends)
23. └─mlr3 (local) initialize(...)
24. └─mlr3:::.__ResultData__initialize(...)
25. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
26. └─data.table:::`[.data.table`(...)
── Error ('test_fselect.R:20:3'): fselect function accepts string input for method ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3fselect::fselect(...) at test_fselect.R:20:3
2. └─fselector$optimize(instance)
3. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
4. └─bbotk::optimize_batch_default(inst, self)
5. ├─base::tryCatch(...)
6. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
8. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
9. └─get_private(optimizer)$.optimize(instance)
10. └─mlr3fselect:::.__FSelectorBatchRandomSearch__.optimize(...)
11. └─inst$eval_batch(as.data.table(X))
12. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
13. └─self$objective$eval_many(xss_trafoed)
14. └─bbotk:::.__Objective__eval_many(...)
15. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
16. │ └─base::eval.parent(expr, n = 1L)
17. │ └─base::eval(expr, p)
18. │ └─base::eval(expr, p)
19. └─private$.eval_many(xss = xss, resampling = `<list>`)
20. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
21. └─mlr3::benchmark(...)
22. └─ResultData$new(grid, data_extra, store_backends = store_backends)
23. └─mlr3 (local) initialize(...)
24. └─mlr3:::.__ResultData__initialize(...)
25. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
26. └─data.table:::`[.data.table`(...)
── Error ('test_fselect_nested.R:2:3'): fselect_nested function works ──────────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3fselect::fselect_nested(...) at test_fselect_nested.R:2:3
2. └─mlr3::resample(task, afs, outer_resampling, store_models = TRUE)
3. └─mlr3:::future_map(...)
4. └─future.apply::future_mapply(...)
5. └─future.apply:::future_xapply(...)
6. └─base::tryCatch(...)
7. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
8. └─base (local) tryCatchOne(...)
9. └─value[[3L]](cond)
10. └─future.apply:::onError(e, futures = fs, debug = debug)
── Error ('test_mlr_callbacks.R:4:3'): backup callback works ───────────────────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3fselect::fselect(...) at test_mlr_callbacks.R:4:3
2. └─fselector$optimize(instance)
3. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
4. └─bbotk::optimize_batch_default(inst, self)
5. ├─base::tryCatch(...)
6. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
8. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
9. └─get_private(optimizer)$.optimize(instance)
10. └─mlr3fselect:::.__FSelectorBatchRandomSearch__.optimize(...)
11. └─inst$eval_batch(as.data.table(X))
12. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
13. └─self$objective$eval_many(xss_trafoed)
14. └─bbotk:::.__Objective__eval_many(...)
15. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
16. │ └─base::eval.parent(expr, n = 1L)
17. │ └─base::eval(expr, p)
18. │ └─base::eval(expr, p)
19. └─private$.eval_many(xss = xss, resampling = `<list>`)
20. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
21. └─mlr3::benchmark(...)
22. └─ResultData$new(grid, data_extra, store_backends = store_backends)
23. └─mlr3 (local) initialize(...)
24. └─mlr3:::.__ResultData__initialize(...)
25. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
26. └─data.table:::`[.data.table`(...)
── Error ('test_mlr_callbacks.R:23:3'): svm_rfe callbacks works ────────────────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3fselect::fselect(...) at test_mlr_callbacks.R:23:3
2. └─fselector$optimize(instance)
3. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
4. └─bbotk::optimize_batch_default(inst, self)
5. ├─base::tryCatch(...)
6. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
8. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
9. └─get_private(optimizer)$.optimize(instance)
10. └─mlr3fselect:::.__FSelectorBatchRFE__.optimize(...)
11. └─mlr3fselect:::rfe_workhorse(inst, subsets, recursive, aggregation)
12. └─inst$eval_batch(states)
13. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
14. └─self$objective$eval_many(xss_trafoed)
15. └─bbotk:::.__Objective__eval_many(...)
16. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
17. │ └─base::eval.parent(expr, n = 1L)
18. │ └─base::eval(expr, p)
19. │ └─base::eval(expr, p)
20. └─private$.eval_many(xss = xss, resampling = `<list>`)
21. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
22. └─mlr3::benchmark(...)
23. └─ResultData$new(grid, data_extra, store_backends = store_backends)
24. └─mlr3 (local) initialize(...)
25. └─mlr3:::.__ResultData__initialize(...)
26. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
27. └─data.table:::`[.data.table`(...)
── Error ('test_mlr_callbacks.R:46:3'): one_se_rule callback works ─────────────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3fselect::fselect(...) at test_mlr_callbacks.R:46:3
2. └─fselector$optimize(instance)
3. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
4. └─bbotk::optimize_batch_default(inst, self)
5. ├─base::tryCatch(...)
6. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
8. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
9. └─get_private(optimizer)$.optimize(instance)
10. └─mlr3fselect:::.__FSelectorBatchExhaustiveSearch__.optimize(...)
11. └─mlr3misc::walk(chunks, function(row_ids) inst$eval_batch(states[row_ids]))
12. └─mlr3fselect (local) .f(.xi, ...)
13. └─inst$eval_batch(states[row_ids])
14. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
15. └─self$objective$eval_many(xss_trafoed)
16. └─bbotk:::.__Objective__eval_many(...)
17. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
18. │ └─base::eval.parent(expr, n = 1L)
19. │ └─base::eval(expr, p)
20. │ └─base::eval(expr, p)
21. └─private$.eval_many(xss = xss, resampling = `<list>`)
22. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
23. └─mlr3::benchmark(...)
24. └─ResultData$new(grid, data_extra, store_backends = store_backends)
25. └─mlr3 (local) initialize(...)
26. └─mlr3:::.__ResultData__initialize(...)
27. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
28. └─data.table:::`[.data.table`(...)
── Error ('test_mlr_callbacks.R:65:3'): internal tuning callback works ─────────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3fselect::fselect(...) at test_mlr_callbacks.R:65:3
2. └─fselector$optimize(instance)
3. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
4. └─bbotk::optimize_batch_default(inst, self)
5. ├─base::tryCatch(...)
6. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
8. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
9. └─get_private(optimizer)$.optimize(instance)
10. └─mlr3fselect:::.__FSelectorBatchRandomSearch__.optimize(...)
11. └─inst$eval_batch(as.data.table(X))
12. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
13. └─self$objective$eval_many(xss_trafoed)
14. └─bbotk:::.__Objective__eval_many(...)
15. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
16. │ └─base::eval.parent(expr, n = 1L)
17. │ └─base::eval(expr, p)
18. │ └─base::eval(expr, p)
19. └─private$.eval_many(xss = xss, resampling = `<list>`)
20. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
21. └─mlr3::benchmark(...)
22. └─ResultData$new(grid, data_extra, store_backends = store_backends)
23. └─mlr3 (local) initialize(...)
24. └─mlr3:::.__ResultData__initialize(...)
25. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
26. └─data.table:::`[.data.table`(...)
── Error ('test_mlr_callbacks.R:96:3'): internal tuning callback works with AutoFSelector ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─afs$train(tsk("pima")) at test_mlr_callbacks.R:96:3
2. └─mlr3:::.__Learner__train(...)
3. └─mlr3:::learner_train(...)
4. └─mlr3misc::encapsulate(...)
5. ├─mlr3misc::invoke(...)
6. │ └─base::eval.parent(expr, n = 1L)
7. │ └─base::eval(expr, p)
8. │ └─base::eval(expr, p)
9. └─mlr3 (local) .f(learner = `<S3: AutoFSelector>`, task = `<S3: TaskClassif>`)
10. └─get_private(learner)$.train(task)
11. └─mlr3fselect:::.__AutoFSelector__.train(...)
12. └─self$fselector$optimize(instance)
13. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
14. └─bbotk::optimize_batch_default(inst, self)
15. ├─base::tryCatch(...)
16. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
17. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
18. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
19. └─get_private(optimizer)$.optimize(instance)
20. └─mlr3fselect:::.__FSelectorBatchRandomSearch__.optimize(...)
21. └─inst$eval_batch(as.data.table(X))
22. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
23. └─self$objective$eval_many(xss_trafoed)
24. └─bbotk:::.__Objective__eval_many(...)
25. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
26. │ └─base::eval.parent(expr, n = 1L)
27. │ └─base::eval(expr, p)
28. │ └─base::eval(expr, p)
29. └─private$.eval_many(xss = xss, resampling = `<list>`)
30. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
31. └─mlr3::benchmark(...)
32. └─ResultData$new(grid, data_extra, store_backends = store_backends)
33. └─mlr3 (local) initialize(...)
34. └─mlr3:::.__ResultData__initialize(...)
35. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
36. └─data.table:::`[.data.table`(...)
[ FAIL 100 | WARN 27 | SKIP 52 | PASS 235 ]
Error:
! Test failures.
Execution halted
Flavor: r-devel-linux-x86_64-debian-clang
Version: 1.5.0
Check: examples
Result: ERROR
Running examples in ‘mlr3fselect-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: auto_fselector
> ### Title: Function for Automatic Feature Selection
> ### Aliases: auto_fselector
>
> ### ** Examples
>
> afs = auto_fselector(
+ fselector = fs("random_search"),
+ learner = lrn("classif.rpart"),
+ resampling = rsmp("holdout"),
+ measure = msr("classif.ce"),
+ term_evals = 4)
>
> afs$train(tsk("pima"))
INFO [17:13:23.283] [bbotk] Starting to optimize 8 parameter(s) with '<FSelectorBatchRandomSearch>' and '<TerminatorEvals> [n_evals=4, k=0]'
INFO [17:13:23.362] [bbotk] Evaluating 10 configuration(s)
INFO [17:13:23.423] [mlr3] Running benchmark with 10 resampling iterations
INFO [17:13:23.521] [mlr3] Applying learner 'classif.rpart' on task 'pima' (iter 1/1)
INFO [17:13:23.586] [mlr3] Applying learner 'classif.rpart' on task 'pima' (iter 1/1)
INFO [17:13:23.614] [mlr3] Applying learner 'classif.rpart' on task 'pima' (iter 1/1)
INFO [17:13:23.636] [mlr3] Applying learner 'classif.rpart' on task 'pima' (iter 1/1)
INFO [17:13:23.659] [mlr3] Applying learner 'classif.rpart' on task 'pima' (iter 1/1)
INFO [17:13:23.681] [mlr3] Applying learner 'classif.rpart' on task 'pima' (iter 1/1)
INFO [17:13:23.710] [mlr3] Applying learner 'classif.rpart' on task 'pima' (iter 1/1)
INFO [17:13:23.741] [mlr3] Applying learner 'classif.rpart' on task 'pima' (iter 1/1)
INFO [17:13:23.844] [mlr3] Applying learner 'classif.rpart' on task 'pima' (iter 1/1)
INFO [17:13:23.886] [mlr3] Applying learner 'classif.rpart' on task 'pima' (iter 1/1)
INFO [17:13:23.987] [mlr3] Finished benchmark
Error in `[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash") :
attempt access index 9/9 in VECTOR_ELT
Calls: <Anonymous> ... initialize -> .__ResultData__initialize -> [ -> [.data.table
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 1.5.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [117s/170s]
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-8.R
Saving _problems/test_ArchiveBatchFSelect-58.R
Saving _problems/test_ArchiveBatchFSelect-164.R
Saving _problems/test_ArchiveBatchFSelect-204.R
Saving _problems/test_ArchiveBatchFSelect-232.R
Saving _problems/test_ArchiveBatchFSelect-260.R
Saving _problems/test_AutoFSelector-137.R
Saving _problems/test_AutoFSelector-166.R
Saving _problems/test_AutoFSelector-211.R
Saving _problems/test_FSelectInstanceMultiCrit-16.R
Saving _problems/test_FSelectInstanceMultiCrit-29.R
Saving _problems/test_FSelectInstanceMultiCrit-37.R
Saving _problems/test_FSelectInstanceSingleCrit-16.R
Saving _problems/test_FSelectInstanceSingleCrit-40.R
Saving _problems/test_FSelectInstanceSingleCrit-48.R
Saving _problems/test_FSelectInstanceSingleCrit-85.R
Saving _problems/test_FSelectInstanceSingleCrit-111.R
Saving _problems/test_FSelectInstanceSingleCrit-131.R
Saving _problems/test_FSelectorBatchDesignPoints-8.R
Saving _problems/test_FSelectorBatchDesignPoints-20.R
Saving _problems/test_FSelectorExhaustiveSearch-2.R
Saving _problems/test_FSelectorExhaustiveSearch-14.R
Saving _problems/test_FSelectorExhaustiveSearch-23.R
Saving _problems/test_FSelectorExhaustiveSearch-27.R
Saving _problems/test_FSelectorGeneticSearch-4.R
Saving _problems/test_FSelectorRFE-2.R
Saving _problems/test_FSelectorRFE-11.R
Saving _problems/test_FSelectorRFE-18.R
Saving _problems/test_FSelectorRFE-27.R
Saving _problems/test_FSelectorRFE-49.R
Saving _problems/test_FSelectorRFE-63.R
Saving _problems/test_FSelectorRFE-83.R
Saving _problems/test_FSelectorRFE-131.R
Saving _problems/test_FSelectorRFE-142.R
Saving _problems/test_FSelectorRFE-161.R
Saving _problems/test_FSelectorRFE-233.R
Saving _problems/test_FSelectorRFE-290.R
Saving _problems/test_FSelectorRFECV-12.R
Saving _problems/test_FSelectorRFECV-32.R
Saving _problems/test_FSelectorRFECV-61.R
Saving _problems/test_FSelectorRFECV-118.R
Saving _problems/test_FSelectorRandomSearch-2.R
Saving _problems/test_FSelectorRandomSearch-6.R
Saving _problems/test_FSelectorRandomSearch-12.R
Saving _problems/test_FSelectorSequential-2.R
Saving _problems/test_FSelectorSequential-11.R
Saving _problems/test_FSelectorSequential-20.R
Saving _problems/test_FSelectorSequential-26.R
Saving _problems/test_FSelectorSequential-32.R
Saving _problems/test_FSelectorSequential-39.R
Saving _problems/test_FSelectorShadowVariableSearch-2.R
Saving _problems/test_FSelectorShadowVariableSearch-14.R
Saving _problems/test_FSelectorShadowVariableSearch-26.R
Saving _problems/test_FSelectorShadowVariableSearch-35.R
Saving _problems/test_FSelectorShadowVariableSearch-54.R
Saving _problems/test_ObjectiveFSelect-15.R
Saving _problems/test_ObjectiveFSelect-35.R
Saving _problems/test_ObjectiveFSelect-54.R
Saving _problems/test_ObjectiveFSelect-74.R
Saving _problems/test_ObjectiveFSelect-126.R
Saving _problems/test_ObjectiveFSelectAsync-15.R
Saving _problems/test_ObjectiveFSelectAsync-37.R
Saving _problems/test_ObjectiveFSelectAsync-61.R
Saving _problems/test_ObjectiveFSelectAsync-85.R
Saving _problems/test_embedded_ensemble_fselect-9.R
Saving _problems/test_embedded_ensemble_fselect-74.R
Saving _problems/test_ensemble_fselect-13.R
Saving _problems/test_ensemble_fselect-108.R
Saving _problems/test_ensemble_fselect-359.R
Saving _problems/test_extract_inner_fselect_archives-3.R
Saving _problems/test_extract_inner_fselect_archives-12.R
Saving _problems/test_extract_inner_fselect_archives-24.R
Saving _problems/test_extract_inner_fselect_archives-37.R
Saving _problems/test_extract_inner_fselect_archives-50.R
Saving _problems/test_extract_inner_fselect_archives-61.R
Saving _problems/test_extract_inner_fselect_archives-70.R
Saving _problems/test_extract_inner_fselect_archives-80.R
Saving _problems/test_extract_inner_fselect_archives-92.R
Saving _problems/test_extract_inner_fselect_archives-104.R
Saving _problems/test_extract_inner_fselect_result-3.R
Saving _problems/test_extract_inner_fselect_result-12.R
Saving _problems/test_extract_inner_fselect_result-24.R
Saving _problems/test_extract_inner_fselect_result-37.R
Saving _problems/test_extract_inner_fselect_result-50.R
Saving _problems/test_extract_inner_fselect_result-61.R
Saving _problems/test_extract_inner_fselect_result-70.R
Saving _problems/test_extract_inner_fselect_result-80.R
Saving _problems/test_extract_inner_fselect_result-92.R
Saving _problems/test_extract_inner_fselect_result-104.R
Saving _problems/test_extract_inner_fselect_result-113.R
Saving _problems/test_extract_inner_fselect_result-125.R
Saving _problems/test_fselect-3.R
Saving _problems/test_fselect-12.R
Saving _problems/test_fselect-21.R
Saving _problems/test_fselect_nested-4.R
Saving _problems/test_mlr_callbacks-12.R
Saving _problems/test_mlr_callbacks-32.R
Saving _problems/test_mlr_callbacks-53.R
Saving _problems/test_mlr_callbacks-73.R
Saving _problems/test_mlr_callbacks-96.R
[ FAIL 100 | WARN 27 | SKIP 52 | PASS 235 ]
══ Skipped tests (52) ══════════════════════════════════════════════════════════
• On CRAN (52): 'test_ArchiveAsyncFSelect.R:2:3',
'test_ArchiveAsyncFSelect.R:51:3', 'test_ArchiveAsyncFSelect.R:107:3',
'test_ArchiveAsyncFSelect.R:133:3', 'test_ArchiveAsyncFSelect.R:155:3',
'test_ArchiveAsyncFSelect.R:181:3', 'test_ArchiveAsyncFSelectFrozen.R:2:3',
'test_AutoFSelector.R:2:3', 'test_AutoFSelector.R:29:3',
'test_AutoFSelector.R:64:3', 'test_AutoFSelector.R:219:3',
'test_CallbackAsyncFSelect.R:4:3', 'test_CallbackAsyncFSelect.R:32:3',
'test_CallbackAsyncFSelect.R:62:3', 'test_CallbackAsyncFSelect.R:90:3',
'test_CallbackAsyncFSelect.R:120:3', 'test_CallbackAsyncFSelect.R:154:3',
'test_CallbackAsyncFSelect.R:181:3', 'test_CallbackAsyncFSelect.R:213:3',
'test_CallbackAsyncFSelect.R:242:3', 'test_CallbackAsyncFSelect.R:269:3',
'test_CallbackAsyncFSelect.R:298:3', 'test_CallbackAsyncFSelect.R:327:3',
'test_CallbackAsyncFSelect.R:354:3', 'test_CallbackAsyncFSelect.R:383:3',
'test_CallbackAsyncFSelect.R:419:3', 'test_CallbackAsyncFSelect.R:454:3',
'test_CallbackAsyncFSelect.R:488:3',
'test_FSelectInstanceAsyncMultiCrit.R:2:3',
'test_FSelectInstanceAsyncMultiCrit.R:30:3',
'test_FSelectInstanceAsyncMultiCrit.R:53:3',
'test_FSelectInstanceAsyncMultiCrit.R:77:3',
'test_FSelectInstanceAsyncMultiCrit.R:101:3',
'test_FSelectInstanceAsyncMultiCrit.R:129:3',
'test_FSelectInstanceAsyncSingleCrit.R:2:3',
'test_FSelectInstanceAsyncSingleCrit.R:29:3',
'test_FSelectInstanceAsyncSingleCrit.R:50:3',
'test_FSelectInstanceAsyncSingleCrit.R:73:3',
'test_FSelectInstanceAsyncSingleCrit.R:98:3',
'test_FSelectInstanceAsyncSingleCrit.R:124:3',
'test_FSelectorAsyncDesignPoints.R:2:3',
'test_FSelectorAsyncExhaustiveSearch.R:2:3',
'test_FSelectorAsyncRandomSearch.R:2:3', 'test_ObjectiveFSelectAsync.R:96:3',
'test_ObjectiveFSelectAsync.R:160:3', 'test_auto_fselector.R:24:3',
'test_auto_fselector.R:47:3', 'test_fsi_async.R:2:3',
'test_fsi_async.R:16:3', 'test_fsi_async.R:30:3', 'test_fsi_async.R:42:3',
'test_mlr_callbacks.R:108:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test_ArchiveBatchFSelect.R:2:3'): ArchiveBatchFSelect access methods work ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3fselect::fselect(...) at test_ArchiveBatchFSelect.R:2:3
2. └─fselector$optimize(instance)
3. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
4. └─bbotk::optimize_batch_default(inst, self)
5. ├─base::tryCatch(...)
6. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
8. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
9. └─get_private(optimizer)$.optimize(instance)
10. └─mlr3fselect:::.__FSelectorBatchRandomSearch__.optimize(...)
11. └─inst$eval_batch(as.data.table(X))
12. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
13. └─self$objective$eval_many(xss_trafoed)
14. └─bbotk:::.__Objective__eval_many(...)
15. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
16. │ └─base::eval.parent(expr, n = 1L)
17. │ └─base::eval(expr, p)
18. │ └─base::eval(expr, p)
19. └─private$.eval_many(xss = xss, resampling = `<list>`)
20. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
21. └─mlr3::benchmark(...)
22. └─ResultData$new(grid, data_extra, store_backends = store_backends)
23. └─mlr3 (local) initialize(...)
24. └─mlr3:::.__ResultData__initialize(...)
25. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
26. └─data.table:::`[.data.table`(...)
── Error ('test_ArchiveBatchFSelect.R:52:3'): ArchiveBatchFSelect as.data.table function works ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3fselect::fselect(...) at test_ArchiveBatchFSelect.R:52:3
2. └─fselector$optimize(instance)
3. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
4. └─bbotk::optimize_batch_default(inst, self)
5. ├─base::tryCatch(...)
6. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
8. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
9. └─get_private(optimizer)$.optimize(instance)
10. └─mlr3fselect:::.__FSelectorBatchRandomSearch__.optimize(...)
11. └─inst$eval_batch(as.data.table(X))
12. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
13. └─self$objective$eval_many(xss_trafoed)
14. └─bbotk:::.__Objective__eval_many(...)
15. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
16. │ └─base::eval.parent(expr, n = 1L)
17. │ └─base::eval(expr, p)
18. │ └─base::eval(expr, p)
19. └─private$.eval_many(xss = xss, resampling = `<list>`)
20. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
21. └─mlr3::benchmark(...)
22. └─ResultData$new(grid, data_extra, store_backends = store_backends)
23. └─mlr3 (local) initialize(...)
24. └─mlr3:::.__ResultData__initialize(...)
25. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
26. └─data.table:::`[.data.table`(...)
── Error ('test_ArchiveBatchFSelect.R:157:3'): global ties method works ────────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3fselect::fselect(...) at test_ArchiveBatchFSelect.R:157:3
2. └─fselector$optimize(instance)
3. └─mlr3fselect:::.__FSelectorBatchFromOptimizerBatch__optimize(...)
4. └─private$.optimizer$optimize(inst)
5. └─bbotk:::.__OptimizerBatch__optimize(...)
6. └─bbotk::optimize_batch_default(inst, self)
7. ├─base::tryCatch(...)
8. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
9. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
10. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
11. └─get_private(optimizer)$.optimize(instance)
12. └─bbotk:::.__OptimizerBatchDesignPoints__.optimize(...)
13. └─instance$eval_batch(design[inds, ])
14. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
15. └─self$objective$eval_many(xss_trafoed)
16. └─bbotk:::.__Objective__eval_many(...)
17. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
18. │ └─base::eval.parent(expr, n = 1L)
19. │ └─base::eval(expr, p)
20. │ └─base::eval(expr, p)
21. └─private$.eval_many(xss = xss, resampling = `<list>`)
22. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
23. └─mlr3::benchmark(...)
24. └─ResultData$new(grid, data_extra, store_backends = store_backends)
25. └─mlr3 (local) initialize(...)
26. └─mlr3:::.__ResultData__initialize(...)
27. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
28. └─data.table:::`[.data.table`(...)
── Error ('test_ArchiveBatchFSelect.R:198:3'): local ties method works when maximize measure ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3fselect::fselect(...) at test_ArchiveBatchFSelect.R:198:3
2. └─fselector$optimize(instance)
3. └─mlr3fselect:::.__FSelectorBatchFromOptimizerBatch__optimize(...)
4. └─private$.optimizer$optimize(inst)
5. └─bbotk:::.__OptimizerBatch__optimize(...)
6. └─bbotk::optimize_batch_default(inst, self)
7. ├─base::tryCatch(...)
8. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
9. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
10. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
11. └─get_private(optimizer)$.optimize(instance)
12. └─bbotk:::.__OptimizerBatchDesignPoints__.optimize(...)
13. └─instance$eval_batch(design[inds, ])
14. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
15. └─self$objective$eval_many(xss_trafoed)
16. └─bbotk:::.__Objective__eval_many(...)
17. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
18. │ └─base::eval.parent(expr, n = 1L)
19. │ └─base::eval(expr, p)
20. │ └─base::eval(expr, p)
21. └─private$.eval_many(xss = xss, resampling = `<list>`)
22. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
23. └─mlr3::benchmark(...)
24. └─ResultData$new(grid, data_extra, store_backends = store_backends)
25. └─mlr3 (local) initialize(...)
26. └─mlr3:::.__ResultData__initialize(...)
27. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
28. └─data.table:::`[.data.table`(...)
── Error ('test_ArchiveBatchFSelect.R:226:3'): local ties method works when minimize measure ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3fselect::fselect(...) at test_ArchiveBatchFSelect.R:226:3
2. └─fselector$optimize(instance)
3. └─mlr3fselect:::.__FSelectorBatchFromOptimizerBatch__optimize(...)
4. └─private$.optimizer$optimize(inst)
5. └─bbotk:::.__OptimizerBatch__optimize(...)
6. └─bbotk::optimize_batch_default(inst, self)
7. ├─base::tryCatch(...)
8. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
9. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
10. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
11. └─get_private(optimizer)$.optimize(instance)
12. └─bbotk:::.__OptimizerBatchDesignPoints__.optimize(...)
13. └─instance$eval_batch(design[inds, ])
14. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
15. └─self$objective$eval_many(xss_trafoed)
16. └─bbotk:::.__Objective__eval_many(...)
17. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
18. │ └─base::eval.parent(expr, n = 1L)
19. │ └─base::eval(expr, p)
20. │ └─base::eval(expr, p)
21. └─private$.eval_many(xss = xss, resampling = `<list>`)
22. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
23. └─mlr3::benchmark(...)
24. └─ResultData$new(grid, data_extra, store_backends = store_backends)
25. └─mlr3 (local) initialize(...)
26. └─mlr3:::.__ResultData__initialize(...)
27. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
28. └─data.table:::`[.data.table`(...)
── Error ('test_ArchiveBatchFSelect.R:254:3'): local ties method works with batches ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3fselect::fselect(...) at test_ArchiveBatchFSelect.R:254:3
2. └─fselector$optimize(instance)
3. └─mlr3fselect:::.__FSelectorBatchFromOptimizerBatch__optimize(...)
4. └─private$.optimizer$optimize(inst)
5. └─bbotk:::.__OptimizerBatch__optimize(...)
6. └─bbotk::optimize_batch_default(inst, self)
7. ├─base::tryCatch(...)
8. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
9. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
10. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
11. └─get_private(optimizer)$.optimize(instance)
12. └─bbotk:::.__OptimizerBatchDesignPoints__.optimize(...)
13. └─instance$eval_batch(design[inds, ])
14. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
15. └─self$objective$eval_many(xss_trafoed)
16. └─bbotk:::.__Objective__eval_many(...)
17. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
18. │ └─base::eval.parent(expr, n = 1L)
19. │ └─base::eval(expr, p)
20. │ └─base::eval(expr, p)
21. └─private$.eval_many(xss = xss, resampling = `<list>`)
22. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
23. └─mlr3::benchmark(...)
24. └─ResultData$new(grid, data_extra, store_backends = store_backends)
25. └─mlr3 (local) initialize(...)
26. └─mlr3:::.__ResultData__initialize(...)
27. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
28. └─data.table:::`[.data.table`(...)
── Error ('test_AutoFSelector.R:137:3'): AutoFSelector works with GraphLearner ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─at$train(task) at test_AutoFSelector.R:137:3
2. └─mlr3:::.__Learner__train(...)
3. └─mlr3:::learner_train(...)
4. └─mlr3misc::encapsulate(...)
5. ├─mlr3misc::invoke(...)
6. │ └─base::eval.parent(expr, n = 1L)
7. │ └─base::eval(expr, p)
8. │ └─base::eval(expr, p)
9. └─mlr3 (local) .f(learner = `<S3: AutoFSelector>`, task = `<S3: TaskRegr>`)
10. └─get_private(learner)$.train(task)
11. └─mlr3fselect:::.__AutoFSelector__.train(...)
12. └─self$fselector$optimize(instance)
13. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
14. └─bbotk::optimize_batch_default(inst, self)
15. ├─base::tryCatch(...)
16. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
17. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
18. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
19. └─get_private(optimizer)$.optimize(instance)
20. └─mlr3fselect:::.__FSelectorBatchSequential__.optimize(...)
21. └─inst$eval_batch(states)
22. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
23. └─self$objective$eval_many(xss_trafoed)
24. └─bbotk:::.__Objective__eval_many(...)
25. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
26. │ └─base::eval.parent(expr, n = 1L)
27. │ └─base::eval(expr, p)
28. │ └─base::eval(expr, p)
29. └─private$.eval_many(xss = xss, resampling = `<list>`)
30. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
31. └─mlr3::benchmark(...)
32. └─ResultData$new(grid, data_extra, store_backends = store_backends)
33. └─mlr3 (local) initialize(...)
34. └─mlr3:::.__ResultData__initialize(...)
35. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
36. └─data.table:::`[.data.table`(...)
── Error ('test_AutoFSelector.R:166:3'): AutoFSelector get_base_learner method works ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─afs$train(tsk("pima")) at test_AutoFSelector.R:166:3
2. └─mlr3:::.__Learner__train(...)
3. └─mlr3:::learner_train(...)
4. └─mlr3misc::encapsulate(...)
5. ├─mlr3misc::invoke(...)
6. │ └─base::eval.parent(expr, n = 1L)
7. │ └─base::eval(expr, p)
8. │ └─base::eval(expr, p)
9. └─mlr3 (local) .f(learner = `<S3: AutoFSelector>`, task = `<S3: TaskClassif>`)
10. └─get_private(learner)$.train(task)
11. └─mlr3fselect:::.__AutoFSelector__.train(...)
12. └─self$fselector$optimize(instance)
13. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
14. └─bbotk::optimize_batch_default(inst, self)
15. ├─base::tryCatch(...)
16. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
17. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
18. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
19. └─get_private(optimizer)$.optimize(instance)
20. └─mlr3fselect:::.__FSelectorBatchRandomSearch__.optimize(...)
21. └─inst$eval_batch(as.data.table(X))
22. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
23. └─self$objective$eval_many(xss_trafoed)
24. └─bbotk:::.__Objective__eval_many(...)
25. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
26. │ └─base::eval.parent(expr, n = 1L)
27. │ └─base::eval(expr, p)
28. │ └─base::eval(expr, p)
29. └─private$.eval_many(xss = xss, resampling = `<list>`)
30. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
31. └─mlr3::benchmark(...)
32. └─ResultData$new(grid, data_extra, store_backends = store_backends)
33. └─mlr3 (local) initialize(...)
34. └─mlr3:::.__ResultData__initialize(...)
35. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
36. └─data.table:::`[.data.table`(...)
── Error ('test_AutoFSelector.R:211:3'): AutoFSelector hash works #647 in mlr3 ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3::benchmark(grid, store_models = TRUE) at test_AutoFSelector.R:211:3
2. └─mlr3:::future_map(...)
3. └─future.apply::future_mapply(...)
4. └─future.apply:::future_xapply(...)
5. └─base::tryCatch(...)
6. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. └─base (local) tryCatchOne(...)
8. └─value[[3L]](cond)
9. └─future.apply:::onError(e, futures = fs, debug = debug)
── Error ('test_FSelectInstanceMultiCrit.R:16:3'): eval_batch works ────────────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─inst$eval_batch(xdt) at test_FSelectInstanceMultiCrit.R:16:3
2. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
3. └─self$objective$eval_many(xss_trafoed)
4. └─bbotk:::.__Objective__eval_many(...)
5. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
6. │ └─base::eval.parent(expr, n = 1L)
7. │ └─base::eval(expr, p)
8. │ └─base::eval(expr, p)
9. └─private$.eval_many(xss = xss, resampling = `<list>`)
10. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
11. └─mlr3::benchmark(...)
12. └─ResultData$new(grid, data_extra, store_backends = store_backends)
13. └─mlr3 (local) initialize(...)
14. └─mlr3:::.__ResultData__initialize(...)
15. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
16. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectInstanceMultiCrit.R:29:3'): objective_function works ────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─inst$objective_function(c(1, 1, 0, 0)) at test_FSelectInstanceMultiCrit.R:29:3
2. └─bbotk:::.__OptimInstanceBatch__objective_function(...)
3. └─private$.objective_function(x, self, self$objective_multiplicator)
4. └─inst$eval_batch(xdt)
5. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
6. └─self$objective$eval_many(xss_trafoed)
7. └─bbotk:::.__Objective__eval_many(...)
8. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
9. │ └─base::eval.parent(expr, n = 1L)
10. │ └─base::eval(expr, p)
11. │ └─base::eval(expr, p)
12. └─private$.eval_many(xss = xss, resampling = `<list>`)
13. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
14. └─mlr3::benchmark(...)
15. └─ResultData$new(grid, data_extra, store_backends = store_backends)
16. └─mlr3 (local) initialize(...)
17. └─mlr3:::.__ResultData__initialize(...)
18. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
19. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectInstanceMultiCrit.R:37:3'): store_benchmark_result flag works ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─inst$eval_batch(xdt) at test_FSelectInstanceMultiCrit.R:37:3
2. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
3. └─self$objective$eval_many(xss_trafoed)
4. └─bbotk:::.__Objective__eval_many(...)
5. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
6. │ └─base::eval.parent(expr, n = 1L)
7. │ └─base::eval(expr, p)
8. │ └─base::eval(expr, p)
9. └─private$.eval_many(xss = xss, resampling = `<list>`)
10. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
11. └─mlr3::benchmark(...)
12. └─ResultData$new(grid, data_extra, store_backends = store_backends)
13. └─mlr3 (local) initialize(...)
14. └─mlr3:::.__ResultData__initialize(...)
15. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
16. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectInstanceSingleCrit.R:16:3'): eval_batch works ───────────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─inst$eval_batch(xdt) at test_FSelectInstanceSingleCrit.R:16:3
2. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
3. └─self$objective$eval_many(xss_trafoed)
4. └─bbotk:::.__Objective__eval_many(...)
5. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
6. │ └─base::eval.parent(expr, n = 1L)
7. │ └─base::eval(expr, p)
8. │ └─base::eval(expr, p)
9. └─private$.eval_many(xss = xss, resampling = `<list>`)
10. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
11. └─mlr3::benchmark(...)
12. └─ResultData$new(grid, data_extra, store_backends = store_backends)
13. └─mlr3 (local) initialize(...)
14. └─mlr3:::.__ResultData__initialize(...)
15. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
16. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectInstanceSingleCrit.R:40:3'): objective_function works ───
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─inst$objective_function(c(1, 1, 0, 0)) at test_FSelectInstanceSingleCrit.R:40:3
2. └─bbotk:::.__OptimInstanceBatch__objective_function(...)
3. └─private$.objective_function(x, self, self$objective_multiplicator)
4. └─inst$eval_batch(xdt)
5. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
6. └─self$objective$eval_many(xss_trafoed)
7. └─bbotk:::.__Objective__eval_many(...)
8. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
9. │ └─base::eval.parent(expr, n = 1L)
10. │ └─base::eval(expr, p)
11. │ └─base::eval(expr, p)
12. └─private$.eval_many(xss = xss, resampling = `<list>`)
13. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
14. └─mlr3::benchmark(...)
15. └─ResultData$new(grid, data_extra, store_backends = store_backends)
16. └─mlr3 (local) initialize(...)
17. └─mlr3:::.__ResultData__initialize(...)
18. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
19. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectInstanceSingleCrit.R:48:3'): store_benchmark_result flag works ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─inst$eval_batch(xdt) at test_FSelectInstanceSingleCrit.R:48:3
2. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
3. └─self$objective$eval_many(xss_trafoed)
4. └─bbotk:::.__Objective__eval_many(...)
5. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
6. │ └─base::eval.parent(expr, n = 1L)
7. │ └─base::eval(expr, p)
8. │ └─base::eval(expr, p)
9. └─private$.eval_many(xss = xss, resampling = `<list>`)
10. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
11. └─mlr3::benchmark(...)
12. └─ResultData$new(grid, data_extra, store_backends = store_backends)
13. └─mlr3 (local) initialize(...)
14. └─mlr3:::.__ResultData__initialize(...)
15. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
16. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectInstanceSingleCrit.R:77:3'): always include variable works ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3fselect::fselect(...) at test_FSelectInstanceSingleCrit.R:77:3
2. └─fselector$optimize(instance)
3. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
4. └─bbotk::optimize_batch_default(inst, self)
5. ├─base::tryCatch(...)
6. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
8. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
9. └─get_private(optimizer)$.optimize(instance)
10. └─mlr3fselect:::.__FSelectorBatchRandomSearch__.optimize(...)
11. └─inst$eval_batch(as.data.table(X))
12. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
13. └─self$objective$eval_many(xss_trafoed)
14. └─bbotk:::.__Objective__eval_many(...)
15. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
16. │ └─base::eval.parent(expr, n = 1L)
17. │ └─base::eval(expr, p)
18. │ └─base::eval(expr, p)
19. └─private$.eval_many(xss = xss, resampling = `<list>`)
20. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
21. └─mlr3::benchmark(...)
22. └─ResultData$new(grid, data_extra, store_backends = store_backends)
23. └─mlr3 (local) initialize(...)
24. └─mlr3:::.__ResultData__initialize(...)
25. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
26. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectInstanceSingleCrit.R:103:3'): always include variables works ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3fselect::fselect(...) at test_FSelectInstanceSingleCrit.R:103:3
2. └─fselector$optimize(instance)
3. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
4. └─bbotk::optimize_batch_default(inst, self)
5. ├─base::tryCatch(...)
6. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
8. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
9. └─get_private(optimizer)$.optimize(instance)
10. └─mlr3fselect:::.__FSelectorBatchRandomSearch__.optimize(...)
11. └─inst$eval_batch(as.data.table(X))
12. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
13. └─self$objective$eval_many(xss_trafoed)
14. └─bbotk:::.__Objective__eval_many(...)
15. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
16. │ └─base::eval.parent(expr, n = 1L)
17. │ └─base::eval(expr, p)
18. │ └─base::eval(expr, p)
19. └─private$.eval_many(xss = xss, resampling = `<list>`)
20. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
21. └─mlr3::benchmark(...)
22. └─ResultData$new(grid, data_extra, store_backends = store_backends)
23. └─mlr3 (local) initialize(...)
24. └─mlr3:::.__ResultData__initialize(...)
25. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
26. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectInstanceSingleCrit.R:131:3'): objective contains no benchmark results ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─fselector$optimize(instance) at test_FSelectInstanceSingleCrit.R:131:3
2. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
3. └─bbotk::optimize_batch_default(inst, self)
4. ├─base::tryCatch(...)
5. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
6. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
7. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
8. └─get_private(optimizer)$.optimize(instance)
9. └─mlr3fselect:::.__FSelectorBatchRandomSearch__.optimize(...)
10. └─inst$eval_batch(as.data.table(X))
11. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
12. └─self$objective$eval_many(xss_trafoed)
13. └─bbotk:::.__Objective__eval_many(...)
14. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
15. │ └─base::eval.parent(expr, n = 1L)
16. │ └─base::eval(expr, p)
17. │ └─base::eval(expr, p)
18. └─private$.eval_many(xss = xss, resampling = `<list>`)
19. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
20. └─mlr3::benchmark(...)
21. └─ResultData$new(grid, data_extra, store_backends = store_backends)
22. └─mlr3 (local) initialize(...)
23. └─mlr3:::.__ResultData__initialize(...)
24. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
25. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorBatchDesignPoints.R:8:3'): default parameters work ────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─global test_fselector("design_points", design = design) at test_FSelectorBatchDesignPoints.R:8:3
2. └─mlr3fselect::fselect(...)
3. └─fselector$optimize(instance)
4. └─mlr3fselect:::.__FSelectorBatchFromOptimizerBatch__optimize(...)
5. └─private$.optimizer$optimize(inst)
6. └─bbotk:::.__OptimizerBatch__optimize(...)
7. └─bbotk::optimize_batch_default(inst, self)
8. ├─base::tryCatch(...)
9. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
10. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
11. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
12. └─get_private(optimizer)$.optimize(instance)
13. └─bbotk:::.__OptimizerBatchDesignPoints__.optimize(...)
14. └─instance$eval_batch(design[inds, ])
15. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
16. └─self$objective$eval_many(xss_trafoed)
17. └─bbotk:::.__Objective__eval_many(...)
18. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
19. │ └─base::eval.parent(expr, n = 1L)
20. │ └─base::eval(expr, p)
21. │ └─base::eval(expr, p)
22. └─private$.eval_many(xss = xss, resampling = `<list>`)
23. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
24. └─mlr3::benchmark(...)
25. └─ResultData$new(grid, data_extra, store_backends = store_backends)
26. └─mlr3 (local) initialize(...)
27. └─mlr3:::.__ResultData__initialize(...)
28. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
29. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorBatchDesignPoints.R:20:3'): multi-crit works ──────────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─global test_fselector_2D("design_points", design = design) at test_FSelectorBatchDesignPoints.R:20:3
2. └─mlr3fselect::fselect(...)
3. └─fselector$optimize(instance)
4. └─mlr3fselect:::.__FSelectorBatchFromOptimizerBatch__optimize(...)
5. └─private$.optimizer$optimize(inst)
6. └─bbotk:::.__OptimizerBatch__optimize(...)
7. └─bbotk::optimize_batch_default(inst, self)
8. ├─base::tryCatch(...)
9. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
10. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
11. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
12. └─get_private(optimizer)$.optimize(instance)
13. └─bbotk:::.__OptimizerBatchDesignPoints__.optimize(...)
14. └─instance$eval_batch(design[inds, ])
15. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
16. └─self$objective$eval_many(xss_trafoed)
17. └─bbotk:::.__Objective__eval_many(...)
18. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
19. │ └─base::eval.parent(expr, n = 1L)
20. │ └─base::eval(expr, p)
21. │ └─base::eval(expr, p)
22. └─private$.eval_many(xss = xss, resampling = `<list>`)
23. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
24. └─mlr3::benchmark(...)
25. └─ResultData$new(grid, data_extra, store_backends = store_backends)
26. └─mlr3 (local) initialize(...)
27. └─mlr3:::.__ResultData__initialize(...)
28. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
29. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorExhaustiveSearch.R:2:3'): default parameters work ─────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─global test_fselector("exhaustive_search") at test_FSelectorExhaustiveSearch.R:2:3
2. └─mlr3fselect::fselect(...)
3. └─fselector$optimize(instance)
4. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
5. └─bbotk::optimize_batch_default(inst, self)
6. ├─base::tryCatch(...)
7. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
8. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
9. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
10. └─get_private(optimizer)$.optimize(instance)
11. └─mlr3fselect:::.__FSelectorBatchExhaustiveSearch__.optimize(...)
12. └─mlr3misc::walk(chunks, function(row_ids) inst$eval_batch(states[row_ids]))
13. └─mlr3fselect (local) .f(.xi, ...)
14. └─inst$eval_batch(states[row_ids])
15. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
16. └─self$objective$eval_many(xss_trafoed)
17. └─bbotk:::.__Objective__eval_many(...)
18. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
19. │ └─base::eval.parent(expr, n = 1L)
20. │ └─base::eval(expr, p)
21. │ └─base::eval(expr, p)
22. └─private$.eval_many(xss = xss, resampling = `<list>`)
23. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
24. └─mlr3::benchmark(...)
25. └─ResultData$new(grid, data_extra, store_backends = store_backends)
26. └─mlr3 (local) initialize(...)
27. └─mlr3:::.__ResultData__initialize(...)
28. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
29. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorExhaustiveSearch.R:14:3'): max_features parameter works ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─global test_fselector("exhaustive_search", max_features = 2) at test_FSelectorExhaustiveSearch.R:14:3
2. └─mlr3fselect::fselect(...)
3. └─fselector$optimize(instance)
4. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
5. └─bbotk::optimize_batch_default(inst, self)
6. ├─base::tryCatch(...)
7. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
8. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
9. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
10. └─get_private(optimizer)$.optimize(instance)
11. └─mlr3fselect:::.__FSelectorBatchExhaustiveSearch__.optimize(...)
12. └─mlr3misc::walk(chunks, function(row_ids) inst$eval_batch(states[row_ids]))
13. └─mlr3fselect (local) .f(.xi, ...)
14. └─inst$eval_batch(states[row_ids])
15. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
16. └─self$objective$eval_many(xss_trafoed)
17. └─bbotk:::.__Objective__eval_many(...)
18. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
19. │ └─base::eval.parent(expr, n = 1L)
20. │ └─base::eval(expr, p)
21. │ └─base::eval(expr, p)
22. └─private$.eval_many(xss = xss, resampling = `<list>`)
23. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
24. └─mlr3::benchmark(...)
25. └─ResultData$new(grid, data_extra, store_backends = store_backends)
26. └─mlr3 (local) initialize(...)
27. └─mlr3:::.__ResultData__initialize(...)
28. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
29. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorExhaustiveSearch.R:23:3'): multi-crit works ───────────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─global test_fselector_2D("exhaustive_search") at test_FSelectorExhaustiveSearch.R:23:3
2. └─mlr3fselect::fselect(...)
3. └─fselector$optimize(instance)
4. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
5. └─bbotk::optimize_batch_default(inst, self)
6. ├─base::tryCatch(...)
7. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
8. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
9. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
10. └─get_private(optimizer)$.optimize(instance)
11. └─mlr3fselect:::.__FSelectorBatchExhaustiveSearch__.optimize(...)
12. └─mlr3misc::walk(chunks, function(row_ids) inst$eval_batch(states[row_ids]))
13. └─mlr3fselect (local) .f(.xi, ...)
14. └─inst$eval_batch(states[row_ids])
15. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
16. └─self$objective$eval_many(xss_trafoed)
17. └─bbotk:::.__Objective__eval_many(...)
18. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
19. │ └─base::eval.parent(expr, n = 1L)
20. │ └─base::eval(expr, p)
21. │ └─base::eval(expr, p)
22. └─private$.eval_many(xss = xss, resampling = `<list>`)
23. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
24. └─mlr3::benchmark(...)
25. └─ResultData$new(grid, data_extra, store_backends = store_backends)
26. └─mlr3 (local) initialize(...)
27. └─mlr3:::.__ResultData__initialize(...)
28. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
29. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorExhaustiveSearch.R:27:3'): batch_size parameter works ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─global test_fselector("exhaustive_search", batch_size = 2) at test_FSelectorExhaustiveSearch.R:27:3
2. └─mlr3fselect::fselect(...)
3. └─fselector$optimize(instance)
4. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
5. └─bbotk::optimize_batch_default(inst, self)
6. ├─base::tryCatch(...)
7. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
8. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
9. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
10. └─get_private(optimizer)$.optimize(instance)
11. └─mlr3fselect:::.__FSelectorBatchExhaustiveSearch__.optimize(...)
12. └─mlr3misc::walk(chunks, function(row_ids) inst$eval_batch(states[row_ids]))
13. └─mlr3fselect (local) .f(.xi, ...)
14. └─inst$eval_batch(states[row_ids])
15. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
16. └─self$objective$eval_many(xss_trafoed)
17. └─bbotk:::.__Objective__eval_many(...)
18. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
19. │ └─base::eval.parent(expr, n = 1L)
20. │ └─base::eval(expr, p)
21. │ └─base::eval(expr, p)
22. └─private$.eval_many(xss = xss, resampling = `<list>`)
23. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
24. └─mlr3::benchmark(...)
25. └─ResultData$new(grid, data_extra, store_backends = store_backends)
26. └─mlr3 (local) initialize(...)
27. └─mlr3:::.__ResultData__initialize(...)
28. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
29. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorGeneticSearch.R:4:3'): default parameters work ────────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─global test_fselector("genetic_search", term_evals = 10) at test_FSelectorGeneticSearch.R:4:3
2. └─mlr3fselect::fselect(...)
3. └─fselector$optimize(instance)
4. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
5. └─bbotk::optimize_batch_default(inst, self)
6. ├─base::tryCatch(...)
7. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
8. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
9. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
10. └─get_private(optimizer)$.optimize(instance)
11. └─mlr3fselect:::.__FSelectorBatchGeneticSearch__.optimize(...)
12. ├─mlr3misc::invoke(...)
13. │ └─base::eval.parent(expr, n = 1L)
14. │ └─base::eval(expr, p)
15. │ └─base::eval(expr, p)
16. └─genalg::rbga.bin(...)
17. └─bbotk (local) evalFunc(population[object, ])
18. └─bbotk:::.__OptimInstanceBatch__objective_function(...)
19. └─private$.objective_function(x, self, self$objective_multiplicator)
20. └─inst$eval_batch(xdt)
21. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
22. └─self$objective$eval_many(xss_trafoed)
23. └─bbotk:::.__Objective__eval_many(...)
24. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
25. │ └─base::eval.parent(expr, n = 1L)
26. │ └─base::eval(expr, p)
27. │ └─base::eval(expr, p)
28. └─private$.eval_many(xss = xss, resampling = `<list>`)
29. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
30. └─mlr3::benchmark(...)
31. └─ResultData$new(grid, data_extra, store_backends = store_backends)
32. └─mlr3 (local) initialize(...)
33. └─mlr3:::.__ResultData__initialize(...)
34. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
35. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorRFE.R:2:3'): importance is stored in the archive ──────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─global test_fselector("rfe", store_models = TRUE) at test_FSelectorRFE.R:2:3
2. └─mlr3fselect::fselect(...)
3. └─fselector$optimize(instance)
4. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
5. └─bbotk::optimize_batch_default(inst, self)
6. ├─base::tryCatch(...)
7. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
8. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
9. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
10. └─get_private(optimizer)$.optimize(instance)
11. └─mlr3fselect:::.__FSelectorBatchRFE__.optimize(...)
12. └─mlr3fselect:::rfe_workhorse(inst, subsets, recursive, aggregation)
13. └─inst$eval_batch(states)
14. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
15. └─self$objective$eval_many(xss_trafoed)
16. └─bbotk:::.__Objective__eval_many(...)
17. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
18. │ └─base::eval.parent(expr, n = 1L)
19. │ └─base::eval(expr, p)
20. │ └─base::eval(expr, p)
21. └─private$.eval_many(xss = xss, resampling = `<list>`)
22. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
23. └─mlr3::benchmark(...)
24. └─ResultData$new(grid, data_extra, store_backends = store_backends)
25. └─mlr3 (local) initialize(...)
26. └─mlr3:::.__ResultData__initialize(...)
27. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
28. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorRFE.R:11:3'): default parameters work ─────────────────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─global test_fselector("rfe", store_models = TRUE) at test_FSelectorRFE.R:11:3
2. └─mlr3fselect::fselect(...)
3. └─fselector$optimize(instance)
4. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
5. └─bbotk::optimize_batch_default(inst, self)
6. ├─base::tryCatch(...)
7. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
8. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
9. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
10. └─get_private(optimizer)$.optimize(instance)
11. └─mlr3fselect:::.__FSelectorBatchRFE__.optimize(...)
12. └─mlr3fselect:::rfe_workhorse(inst, subsets, recursive, aggregation)
13. └─inst$eval_batch(states)
14. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
15. └─self$objective$eval_many(xss_trafoed)
16. └─bbotk:::.__Objective__eval_many(...)
17. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
18. │ └─base::eval.parent(expr, n = 1L)
19. │ └─base::eval(expr, p)
20. │ └─base::eval(expr, p)
21. └─private$.eval_many(xss = xss, resampling = `<list>`)
22. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
23. └─mlr3::benchmark(...)
24. └─ResultData$new(grid, data_extra, store_backends = store_backends)
25. └─mlr3 (local) initialize(...)
26. └─mlr3:::.__ResultData__initialize(...)
27. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
28. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorRFE.R:18:3'): recursive parameter works ───────────────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─global test_fselector("rfe", recursive = FALSE, store_models = TRUE) at test_FSelectorRFE.R:18:3
2. └─mlr3fselect::fselect(...)
3. └─fselector$optimize(instance)
4. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
5. └─bbotk::optimize_batch_default(inst, self)
6. ├─base::tryCatch(...)
7. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
8. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
9. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
10. └─get_private(optimizer)$.optimize(instance)
11. └─mlr3fselect:::.__FSelectorBatchRFE__.optimize(...)
12. └─mlr3fselect:::rfe_workhorse(inst, subsets, recursive, aggregation)
13. └─inst$eval_batch(states)
14. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
15. └─self$objective$eval_many(xss_trafoed)
16. └─bbotk:::.__Objective__eval_many(...)
17. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
18. │ └─base::eval.parent(expr, n = 1L)
19. │ └─base::eval(expr, p)
20. │ └─base::eval(expr, p)
21. └─private$.eval_many(xss = xss, resampling = `<list>`)
22. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
23. └─mlr3::benchmark(...)
24. └─ResultData$new(grid, data_extra, store_backends = store_backends)
25. └─mlr3 (local) initialize(...)
26. └─mlr3:::.__ResultData__initialize(...)
27. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
28. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorRFE.R:27:3'): feature_fraction parameter works ────────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─global test_fselector("rfe", feature_fraction = 0.9, store_models = TRUE) at test_FSelectorRFE.R:27:3
2. └─mlr3fselect::fselect(...)
3. └─fselector$optimize(instance)
4. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
5. └─bbotk::optimize_batch_default(inst, self)
6. ├─base::tryCatch(...)
7. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
8. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
9. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
10. └─get_private(optimizer)$.optimize(instance)
11. └─mlr3fselect:::.__FSelectorBatchRFE__.optimize(...)
12. └─mlr3fselect:::rfe_workhorse(inst, subsets, recursive, aggregation)
13. └─inst$eval_batch(states)
14. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
15. └─self$objective$eval_many(xss_trafoed)
16. └─bbotk:::.__Objective__eval_many(...)
17. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
18. │ └─base::eval.parent(expr, n = 1L)
19. │ └─base::eval(expr, p)
20. │ └─base::eval(expr, p)
21. └─private$.eval_many(xss = xss, resampling = `<list>`)
22. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
23. └─mlr3::benchmark(...)
24. └─ResultData$new(grid, data_extra, store_backends = store_backends)
25. └─mlr3 (local) initialize(...)
26. └─mlr3:::.__ResultData__initialize(...)
27. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
28. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorRFE.R:49:3'): feature_number parameter works ──────────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─global test_fselector("rfe", feature_number = 1, store_models = TRUE) at test_FSelectorRFE.R:49:3
2. └─mlr3fselect::fselect(...)
3. └─fselector$optimize(instance)
4. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
5. └─bbotk::optimize_batch_default(inst, self)
6. ├─base::tryCatch(...)
7. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
8. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
9. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
10. └─get_private(optimizer)$.optimize(instance)
11. └─mlr3fselect:::.__FSelectorBatchRFE__.optimize(...)
12. └─mlr3fselect:::rfe_workhorse(inst, subsets, recursive, aggregation)
13. └─inst$eval_batch(states)
14. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
15. └─self$objective$eval_many(xss_trafoed)
16. └─bbotk:::.__Objective__eval_many(...)
17. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
18. │ └─base::eval.parent(expr, n = 1L)
19. │ └─base::eval(expr, p)
20. │ └─base::eval(expr, p)
21. └─private$.eval_many(xss = xss, resampling = `<list>`)
22. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
23. └─mlr3::benchmark(...)
24. └─ResultData$new(grid, data_extra, store_backends = store_backends)
25. └─mlr3 (local) initialize(...)
26. └─mlr3:::.__ResultData__initialize(...)
27. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
28. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorRFE.R:63:3'): subset_size parameter works ─────────────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─global test_fselector("rfe", subset_sizes = c(3L, 1L), store_models = TRUE) at test_FSelectorRFE.R:63:3
2. └─mlr3fselect::fselect(...)
3. └─fselector$optimize(instance)
4. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
5. └─bbotk::optimize_batch_default(inst, self)
6. ├─base::tryCatch(...)
7. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
8. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
9. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
10. └─get_private(optimizer)$.optimize(instance)
11. └─mlr3fselect:::.__FSelectorBatchRFE__.optimize(...)
12. └─mlr3fselect:::rfe_workhorse(inst, subsets, recursive, aggregation)
13. └─inst$eval_batch(states)
14. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
15. └─self$objective$eval_many(xss_trafoed)
16. └─bbotk:::.__Objective__eval_many(...)
17. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
18. │ └─base::eval.parent(expr, n = 1L)
19. │ └─base::eval(expr, p)
20. │ └─base::eval(expr, p)
21. └─private$.eval_many(xss = xss, resampling = `<list>`)
22. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
23. └─mlr3::benchmark(...)
24. └─ResultData$new(grid, data_extra, store_backends = store_backends)
25. └─mlr3 (local) initialize(...)
26. └─mlr3:::.__ResultData__initialize(...)
27. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
28. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorRFE.R:83:3'): subset is full feature set works ────────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─global test_fselector("rfe", feature_number = 4, store_models = TRUE) at test_FSelectorRFE.R:83:3
2. └─mlr3fselect::fselect(...)
3. └─fselector$optimize(instance)
4. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
5. └─bbotk::optimize_batch_default(inst, self)
6. ├─base::tryCatch(...)
7. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
8. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
9. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
10. └─get_private(optimizer)$.optimize(instance)
11. └─mlr3fselect:::.__FSelectorBatchRFE__.optimize(...)
12. └─mlr3fselect:::rfe_workhorse(inst, subsets, recursive, aggregation)
13. └─inst$eval_batch(states)
14. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
15. └─self$objective$eval_many(xss_trafoed)
16. └─bbotk:::.__Objective__eval_many(...)
17. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
18. │ └─base::eval.parent(expr, n = 1L)
19. │ └─base::eval(expr, p)
20. │ └─base::eval(expr, p)
21. └─private$.eval_many(xss = xss, resampling = `<list>`)
22. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
23. └─mlr3::benchmark(...)
24. └─ResultData$new(grid, data_extra, store_backends = store_backends)
25. └─mlr3 (local) initialize(...)
26. └─mlr3:::.__ResultData__initialize(...)
27. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
28. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorRFE.R:131:3'): rank_importance function works ─────────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3::resample(task, learner, rsmp("cv", folds = 3), store_models = TRUE) at test_FSelectorRFE.R:131:3
2. └─ResultData$new(data, data_extra, store_backends = store_backends)
3. └─mlr3 (local) initialize(...)
4. └─mlr3:::.__ResultData__initialize(...)
5. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
6. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorRFE.R:142:3'): average_importance function works ──────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3::resample(task, learner, rsmp("cv", folds = 3), store_models = TRUE) at test_FSelectorRFE.R:142:3
2. └─ResultData$new(data, data_extra, store_backends = store_backends)
3. └─mlr3 (local) initialize(...)
4. └─mlr3:::.__ResultData__initialize(...)
5. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
6. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorRFE.R:154:3'): works without storing models ───────────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3fselect::fselect(...) at test_FSelectorRFE.R:154:3
2. └─fselector$optimize(instance)
3. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
4. └─bbotk::optimize_batch_default(inst, self)
5. ├─base::tryCatch(...)
6. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
8. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
9. └─get_private(optimizer)$.optimize(instance)
10. └─mlr3fselect:::.__FSelectorBatchRFE__.optimize(...)
11. └─mlr3fselect:::rfe_workhorse(inst, subsets, recursive, aggregation)
12. └─inst$eval_batch(states)
13. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
14. └─self$objective$eval_many(xss_trafoed)
15. └─bbotk:::.__Objective__eval_many(...)
16. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
17. │ └─base::eval.parent(expr, n = 1L)
18. │ └─base::eval(expr, p)
19. │ └─base::eval(expr, p)
20. └─private$.eval_many(xss = xss, resampling = `<list>`)
21. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
22. └─mlr3::benchmark(...)
23. └─ResultData$new(grid, data_extra, store_backends = store_backends)
24. └─mlr3 (local) initialize(...)
25. └─mlr3:::.__ResultData__initialize(...)
26. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
27. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorRFE.R:233:3'): optimal features are selected with rank ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─optimizer$optimize(instance) at test_FSelectorRFE.R:233:3
2. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
3. └─bbotk::optimize_batch_default(inst, self)
4. ├─base::tryCatch(...)
5. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
6. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
7. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
8. └─get_private(optimizer)$.optimize(instance)
9. └─mlr3fselect:::.__FSelectorBatchRFE__.optimize(...)
10. └─mlr3fselect:::rfe_workhorse(inst, subsets, recursive, aggregation)
11. └─inst$eval_batch(states)
12. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
13. └─self$objective$eval_many(xss_trafoed)
14. └─bbotk:::.__Objective__eval_many(...)
15. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
16. │ └─base::eval.parent(expr, n = 1L)
17. │ └─base::eval(expr, p)
18. │ └─base::eval(expr, p)
19. └─private$.eval_many(xss = xss, resampling = `<list>`)
20. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
21. └─mlr3::benchmark(...)
22. └─ResultData$new(grid, data_extra, store_backends = store_backends)
23. └─mlr3 (local) initialize(...)
24. └─mlr3:::.__ResultData__initialize(...)
25. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
26. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorRFE.R:290:3'): optimal features are selected with mean ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─optimizer$optimize(instance) at test_FSelectorRFE.R:290:3
2. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
3. └─bbotk::optimize_batch_default(inst, self)
4. ├─base::tryCatch(...)
5. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
6. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
7. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
8. └─get_private(optimizer)$.optimize(instance)
9. └─mlr3fselect:::.__FSelectorBatchRFE__.optimize(...)
10. └─mlr3fselect:::rfe_workhorse(inst, subsets, recursive, aggregation)
11. └─inst$eval_batch(states)
12. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
13. └─self$objective$eval_many(xss_trafoed)
14. └─bbotk:::.__Objective__eval_many(...)
15. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
16. │ └─base::eval.parent(expr, n = 1L)
17. │ └─base::eval(expr, p)
18. │ └─base::eval(expr, p)
19. └─private$.eval_many(xss = xss, resampling = `<list>`)
20. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
21. └─mlr3::benchmark(...)
22. └─ResultData$new(grid, data_extra, store_backends = store_backends)
23. └─mlr3 (local) initialize(...)
24. └─mlr3:::.__ResultData__initialize(...)
25. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
26. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorRFECV.R:12:3'): extra columns are stored in the archive ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─optimizer$optimize(instance) at test_FSelectorRFECV.R:12:3
2. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
3. └─bbotk::optimize_batch_default(inst, self)
4. ├─base::tryCatch(...)
5. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
6. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
7. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
8. └─get_private(optimizer)$.optimize(instance)
9. └─mlr3fselect:::.__FSelectorBatchRFECV__.optimize(...)
10. └─mlr3fselect:::rfe_workhorse(inst, subsets, recursive, folds = resampling_cv$iters)
11. └─inst$eval_batch(states)
12. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
13. └─self$objective$eval_many(xss_trafoed)
14. └─bbotk:::.__Objective__eval_many(...)
15. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
16. │ └─base::eval.parent(expr, n = 1L)
17. │ └─base::eval(expr, p)
18. │ └─base::eval(expr, p)
19. └─private$.eval_many(xss = xss, resampling = `<list>`)
20. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
21. └─mlr3::benchmark(...)
22. └─ResultData$new(grid, data_extra, store_backends = store_backends)
23. └─mlr3 (local) initialize(...)
24. └─mlr3:::.__ResultData__initialize(...)
25. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
26. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorRFECV.R:32:3'): resampling is converted ───────────────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─optimizer$optimize(instance) at test_FSelectorRFECV.R:32:3
2. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
3. └─bbotk::optimize_batch_default(inst, self)
4. ├─base::tryCatch(...)
5. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
6. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
7. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
8. └─get_private(optimizer)$.optimize(instance)
9. └─mlr3fselect:::.__FSelectorBatchRFECV__.optimize(...)
10. └─mlr3fselect:::rfe_workhorse(inst, subsets, recursive, folds = resampling_cv$iters)
11. └─inst$eval_batch(states)
12. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
13. └─self$objective$eval_many(xss_trafoed)
14. └─bbotk:::.__Objective__eval_many(...)
15. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
16. │ └─base::eval.parent(expr, n = 1L)
17. │ └─base::eval(expr, p)
18. │ └─base::eval(expr, p)
19. └─private$.eval_many(xss = xss, resampling = `<list>`)
20. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
21. └─mlr3::benchmark(...)
22. └─ResultData$new(grid, data_extra, store_backends = store_backends)
23. └─mlr3 (local) initialize(...)
24. └─mlr3:::.__ResultData__initialize(...)
25. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
26. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorRFECV.R:61:3'): default parameters work ───────────────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─optimizer$optimize(instance) at test_FSelectorRFECV.R:61:3
2. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
3. └─bbotk::optimize_batch_default(inst, self)
4. ├─base::tryCatch(...)
5. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
6. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
7. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
8. └─get_private(optimizer)$.optimize(instance)
9. └─mlr3fselect:::.__FSelectorBatchRFECV__.optimize(...)
10. └─mlr3fselect:::rfe_workhorse(inst, subsets, recursive, folds = resampling_cv$iters)
11. └─inst$eval_batch(states)
12. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
13. └─self$objective$eval_many(xss_trafoed)
14. └─bbotk:::.__Objective__eval_many(...)
15. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
16. │ └─base::eval.parent(expr, n = 1L)
17. │ └─base::eval(expr, p)
18. │ └─base::eval(expr, p)
19. └─private$.eval_many(xss = xss, resampling = `<list>`)
20. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
21. └─mlr3::benchmark(...)
22. └─ResultData$new(grid, data_extra, store_backends = store_backends)
23. └─mlr3 (local) initialize(...)
24. └─mlr3:::.__ResultData__initialize(...)
25. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
26. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorRFECV.R:118:3'): optimal features are selected ────────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─optimizer$optimize(instance) at test_FSelectorRFECV.R:118:3
2. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
3. └─bbotk::optimize_batch_default(inst, self)
4. ├─base::tryCatch(...)
5. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
6. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
7. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
8. └─get_private(optimizer)$.optimize(instance)
9. └─mlr3fselect:::.__FSelectorBatchRFECV__.optimize(...)
10. └─mlr3fselect:::rfe_workhorse(inst, subsets, recursive, folds = resampling_cv$iters)
11. └─inst$eval_batch(states)
12. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
13. └─self$objective$eval_many(xss_trafoed)
14. └─bbotk:::.__Objective__eval_many(...)
15. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
16. │ └─base::eval.parent(expr, n = 1L)
17. │ └─base::eval(expr, p)
18. │ └─base::eval(expr, p)
19. └─private$.eval_many(xss = xss, resampling = `<list>`)
20. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
21. └─mlr3::benchmark(...)
22. └─ResultData$new(grid, data_extra, store_backends = store_backends)
23. └─mlr3 (local) initialize(...)
24. └─mlr3:::.__ResultData__initialize(...)
25. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
26. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorRandomSearch.R:2:3'): default parameters work ─────────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─global test_fselector("random_search", batch_size = 5, term_evals = 10) at test_FSelectorRandomSearch.R:2:3
2. └─mlr3fselect::fselect(...)
3. └─fselector$optimize(instance)
4. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
5. └─bbotk::optimize_batch_default(inst, self)
6. ├─base::tryCatch(...)
7. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
8. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
9. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
10. └─get_private(optimizer)$.optimize(instance)
11. └─mlr3fselect:::.__FSelectorBatchRandomSearch__.optimize(...)
12. └─inst$eval_batch(as.data.table(X))
13. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
14. └─self$objective$eval_many(xss_trafoed)
15. └─bbotk:::.__Objective__eval_many(...)
16. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
17. │ └─base::eval.parent(expr, n = 1L)
18. │ └─base::eval(expr, p)
19. │ └─base::eval(expr, p)
20. └─private$.eval_many(xss = xss, resampling = `<list>`)
21. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
22. └─mlr3::benchmark(...)
23. └─ResultData$new(grid, data_extra, store_backends = store_backends)
24. └─mlr3 (local) initialize(...)
25. └─mlr3:::.__ResultData__initialize(...)
26. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
27. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorRandomSearch.R:6:3'): max_features parameter work ─────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─global test_fselector("random_search", max_features = 1, term_evals = 10) at test_FSelectorRandomSearch.R:6:3
2. └─mlr3fselect::fselect(...)
3. └─fselector$optimize(instance)
4. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
5. └─bbotk::optimize_batch_default(inst, self)
6. ├─base::tryCatch(...)
7. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
8. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
9. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
10. └─get_private(optimizer)$.optimize(instance)
11. └─mlr3fselect:::.__FSelectorBatchRandomSearch__.optimize(...)
12. └─inst$eval_batch(as.data.table(X))
13. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
14. └─self$objective$eval_many(xss_trafoed)
15. └─bbotk:::.__Objective__eval_many(...)
16. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
17. │ └─base::eval.parent(expr, n = 1L)
18. │ └─base::eval(expr, p)
19. │ └─base::eval(expr, p)
20. └─private$.eval_many(xss = xss, resampling = `<list>`)
21. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
22. └─mlr3::benchmark(...)
23. └─ResultData$new(grid, data_extra, store_backends = store_backends)
24. └─mlr3 (local) initialize(...)
25. └─mlr3:::.__ResultData__initialize(...)
26. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
27. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorRandomSearch.R:12:3'): multi-crit works ───────────────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─global test_fselector_2D("random_search", batch_size = 5, term_evals = 10) at test_FSelectorRandomSearch.R:12:3
2. └─mlr3fselect::fselect(...)
3. └─fselector$optimize(instance)
4. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
5. └─bbotk::optimize_batch_default(inst, self)
6. ├─base::tryCatch(...)
7. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
8. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
9. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
10. └─get_private(optimizer)$.optimize(instance)
11. └─mlr3fselect:::.__FSelectorBatchRandomSearch__.optimize(...)
12. └─inst$eval_batch(as.data.table(X))
13. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
14. └─self$objective$eval_many(xss_trafoed)
15. └─bbotk:::.__Objective__eval_many(...)
16. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
17. │ └─base::eval.parent(expr, n = 1L)
18. │ └─base::eval(expr, p)
19. │ └─base::eval(expr, p)
20. └─private$.eval_many(xss = xss, resampling = `<list>`)
21. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
22. └─mlr3::benchmark(...)
23. └─ResultData$new(grid, data_extra, store_backends = store_backends)
24. └─mlr3 (local) initialize(...)
25. └─mlr3:::.__ResultData__initialize(...)
26. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
27. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorSequential.R:2:3'): default parameters works ──────────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─global test_fselector("sequential") at test_FSelectorSequential.R:2:3
2. └─mlr3fselect::fselect(...)
3. └─fselector$optimize(instance)
4. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
5. └─bbotk::optimize_batch_default(inst, self)
6. ├─base::tryCatch(...)
7. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
8. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
9. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
10. └─get_private(optimizer)$.optimize(instance)
11. └─mlr3fselect:::.__FSelectorBatchSequential__.optimize(...)
12. └─inst$eval_batch(states)
13. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
14. └─self$objective$eval_many(xss_trafoed)
15. └─bbotk:::.__Objective__eval_many(...)
16. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
17. │ └─base::eval.parent(expr, n = 1L)
18. │ └─base::eval(expr, p)
19. │ └─base::eval(expr, p)
20. └─private$.eval_many(xss = xss, resampling = `<list>`)
21. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
22. └─mlr3::benchmark(...)
23. └─ResultData$new(grid, data_extra, store_backends = store_backends)
24. └─mlr3 (local) initialize(...)
25. └─mlr3:::.__ResultData__initialize(...)
26. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
27. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorSequential.R:11:3'): sbs strategy works ───────────────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─global test_fselector("sequential", strategy = "sbs") at test_FSelectorSequential.R:11:3
2. └─mlr3fselect::fselect(...)
3. └─fselector$optimize(instance)
4. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
5. └─bbotk::optimize_batch_default(inst, self)
6. ├─base::tryCatch(...)
7. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
8. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
9. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
10. └─get_private(optimizer)$.optimize(instance)
11. └─mlr3fselect:::.__FSelectorBatchSequential__.optimize(...)
12. └─inst$eval_batch(states)
13. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
14. └─self$objective$eval_many(xss_trafoed)
15. └─bbotk:::.__Objective__eval_many(...)
16. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
17. │ └─base::eval.parent(expr, n = 1L)
18. │ └─base::eval(expr, p)
19. │ └─base::eval(expr, p)
20. └─private$.eval_many(xss = xss, resampling = `<list>`)
21. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
22. └─mlr3::benchmark(...)
23. └─ResultData$new(grid, data_extra, store_backends = store_backends)
24. └─mlr3 (local) initialize(...)
25. └─mlr3:::.__ResultData__initialize(...)
26. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
27. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorSequential.R:20:3'): sfs strategy works with max_features parameter ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─global test_fselector("sequential", max_features = 2) at test_FSelectorSequential.R:20:3
2. └─mlr3fselect::fselect(...)
3. └─fselector$optimize(instance)
4. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
5. └─bbotk::optimize_batch_default(inst, self)
6. ├─base::tryCatch(...)
7. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
8. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
9. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
10. └─get_private(optimizer)$.optimize(instance)
11. └─mlr3fselect:::.__FSelectorBatchSequential__.optimize(...)
12. └─inst$eval_batch(states)
13. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
14. └─self$objective$eval_many(xss_trafoed)
15. └─bbotk:::.__Objective__eval_many(...)
16. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
17. │ └─base::eval.parent(expr, n = 1L)
18. │ └─base::eval(expr, p)
19. │ └─base::eval(expr, p)
20. └─private$.eval_many(xss = xss, resampling = `<list>`)
21. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
22. └─mlr3::benchmark(...)
23. └─ResultData$new(grid, data_extra, store_backends = store_backends)
24. └─mlr3 (local) initialize(...)
25. └─mlr3:::.__ResultData__initialize(...)
26. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
27. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorSequential.R:26:3'): sbs strategy works with max_features parameter ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─global test_fselector("sequential", max_features = 2, strategy = "sbs") at test_FSelectorSequential.R:26:3
2. └─mlr3fselect::fselect(...)
3. └─fselector$optimize(instance)
4. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
5. └─bbotk::optimize_batch_default(inst, self)
6. ├─base::tryCatch(...)
7. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
8. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
9. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
10. └─get_private(optimizer)$.optimize(instance)
11. └─mlr3fselect:::.__FSelectorBatchSequential__.optimize(...)
12. └─inst$eval_batch(states)
13. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
14. └─self$objective$eval_many(xss_trafoed)
15. └─bbotk:::.__Objective__eval_many(...)
16. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
17. │ └─base::eval.parent(expr, n = 1L)
18. │ └─base::eval(expr, p)
19. │ └─base::eval(expr, p)
20. └─private$.eval_many(xss = xss, resampling = `<list>`)
21. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
22. └─mlr3::benchmark(...)
23. └─ResultData$new(grid, data_extra, store_backends = store_backends)
24. └─mlr3 (local) initialize(...)
25. └─mlr3:::.__ResultData__initialize(...)
26. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
27. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorSequential.R:32:3'): optimization_path method works ───
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─global test_fselector("sequential") at test_FSelectorSequential.R:32:3
2. └─mlr3fselect::fselect(...)
3. └─fselector$optimize(instance)
4. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
5. └─bbotk::optimize_batch_default(inst, self)
6. ├─base::tryCatch(...)
7. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
8. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
9. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
10. └─get_private(optimizer)$.optimize(instance)
11. └─mlr3fselect:::.__FSelectorBatchSequential__.optimize(...)
12. └─inst$eval_batch(states)
13. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
14. └─self$objective$eval_many(xss_trafoed)
15. └─bbotk:::.__Objective__eval_many(...)
16. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
17. │ └─base::eval.parent(expr, n = 1L)
18. │ └─base::eval(expr, p)
19. │ └─base::eval(expr, p)
20. └─private$.eval_many(xss = xss, resampling = `<list>`)
21. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
22. └─mlr3::benchmark(...)
23. └─ResultData$new(grid, data_extra, store_backends = store_backends)
24. └─mlr3 (local) initialize(...)
25. └─mlr3:::.__ResultData__initialize(...)
26. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
27. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorSequential.R:39:3'): optimization_path method works with included uhash ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─global test_fselector("sequential") at test_FSelectorSequential.R:39:3
2. └─mlr3fselect::fselect(...)
3. └─fselector$optimize(instance)
4. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
5. └─bbotk::optimize_batch_default(inst, self)
6. ├─base::tryCatch(...)
7. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
8. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
9. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
10. └─get_private(optimizer)$.optimize(instance)
11. └─mlr3fselect:::.__FSelectorBatchSequential__.optimize(...)
12. └─inst$eval_batch(states)
13. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
14. └─self$objective$eval_many(xss_trafoed)
15. └─bbotk:::.__Objective__eval_many(...)
16. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
17. │ └─base::eval.parent(expr, n = 1L)
18. │ └─base::eval(expr, p)
19. │ └─base::eval(expr, p)
20. └─private$.eval_many(xss = xss, resampling = `<list>`)
21. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
22. └─mlr3::benchmark(...)
23. └─ResultData$new(grid, data_extra, store_backends = store_backends)
24. └─mlr3 (local) initialize(...)
25. └─mlr3:::.__ResultData__initialize(...)
26. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
27. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorShadowVariableSearch.R:2:3'): default parameters work ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─global test_fselector("shadow_variable_search", store_models = TRUE) at test_FSelectorShadowVariableSearch.R:2:3
2. └─mlr3fselect::fselect(...)
3. └─fselector$optimize(instance)
4. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
5. └─bbotk::optimize_batch_default(inst, self)
6. ├─base::tryCatch(...)
7. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
8. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
9. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
10. └─get_private(optimizer)$.optimize(instance)
11. └─mlr3fselect:::.__FSelectorBatchShadowVariableSearch__.optimize(...)
12. └─inst$eval_batch(states)
13. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
14. └─self$objective$eval_many(xss_trafoed)
15. └─bbotk:::.__Objective__eval_many(...)
16. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
17. │ └─base::eval.parent(expr, n = 1L)
18. │ └─base::eval(expr, p)
19. │ └─base::eval(expr, p)
20. └─private$.eval_many(xss = xss, resampling = `<list>`)
21. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
22. └─mlr3::benchmark(...)
23. └─ResultData$new(grid, data_extra, store_backends = store_backends)
24. └─mlr3 (local) initialize(...)
25. └─mlr3:::.__ResultData__initialize(...)
26. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
27. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorShadowVariableSearch.R:14:3'): task is permuted ───────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─fselector$optimize(instance) at test_FSelectorShadowVariableSearch.R:14:3
2. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
3. └─bbotk::optimize_batch_default(inst, self)
4. ├─base::tryCatch(...)
5. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
6. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
7. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
8. └─get_private(optimizer)$.optimize(instance)
9. └─mlr3fselect:::.__FSelectorBatchShadowVariableSearch__.optimize(...)
10. └─inst$eval_batch(states)
11. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
12. └─self$objective$eval_many(xss_trafoed)
13. └─bbotk:::.__Objective__eval_many(...)
14. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
15. │ └─base::eval.parent(expr, n = 1L)
16. │ └─base::eval(expr, p)
17. │ └─base::eval(expr, p)
18. └─private$.eval_many(xss = xss, resampling = `<list>`)
19. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
20. └─mlr3::benchmark(...)
21. └─ResultData$new(grid, data_extra, store_backends = store_backends)
22. └─mlr3 (local) initialize(...)
23. └─mlr3:::.__ResultData__initialize(...)
24. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
25. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorShadowVariableSearch.R:26:3'): first selected feature is a shadow variable works ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. ├─testthat::expect_error(fselector$optimize(instance), regexp = "The first selected feature is a shadow variable.") at test_FSelectorShadowVariableSearch.R:26: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. └─fselector$optimize(instance)
8. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
9. └─bbotk::optimize_batch_default(inst, self)
10. ├─base::tryCatch(...)
11. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
12. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
13. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
14. └─get_private(optimizer)$.optimize(instance)
15. └─mlr3fselect:::.__FSelectorBatchShadowVariableSearch__.optimize(...)
16. └─inst$eval_batch(states)
17. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
18. └─self$objective$eval_many(xss_trafoed)
19. └─bbotk:::.__Objective__eval_many(...)
20. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
21. │ └─base::eval.parent(expr, n = 1L)
22. │ └─base::eval(expr, p)
23. │ └─base::eval(expr, p)
24. └─private$.eval_many(xss = xss, resampling = `<list>`)
25. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
26. └─mlr3::benchmark(...)
27. └─ResultData$new(grid, data_extra, store_backends = store_backends)
28. └─mlr3 (local) initialize(...)
29. └─mlr3:::.__ResultData__initialize(...)
30. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
31. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorShadowVariableSearch.R:35:3'): second selected feature is a shadow variable works ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─fselector$optimize(instance) at test_FSelectorShadowVariableSearch.R:35:3
2. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
3. └─bbotk::optimize_batch_default(inst, self)
4. ├─base::tryCatch(...)
5. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
6. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
7. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
8. └─get_private(optimizer)$.optimize(instance)
9. └─mlr3fselect:::.__FSelectorBatchShadowVariableSearch__.optimize(...)
10. └─inst$eval_batch(states)
11. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
12. └─self$objective$eval_many(xss_trafoed)
13. └─bbotk:::.__Objective__eval_many(...)
14. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
15. │ └─base::eval.parent(expr, n = 1L)
16. │ └─base::eval(expr, p)
17. │ └─base::eval(expr, p)
18. └─private$.eval_many(xss = xss, resampling = `<list>`)
19. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
20. └─mlr3::benchmark(...)
21. └─ResultData$new(grid, data_extra, store_backends = store_backends)
22. └─mlr3 (local) initialize(...)
23. └─mlr3:::.__ResultData__initialize(...)
24. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
25. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorShadowVariableSearch.R:54:3'): search is terminated by terminator works ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─fselector$optimize(instance) at test_FSelectorShadowVariableSearch.R:54:3
2. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
3. └─bbotk::optimize_batch_default(inst, self)
4. ├─base::tryCatch(...)
5. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
6. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
7. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
8. └─get_private(optimizer)$.optimize(instance)
9. └─mlr3fselect:::.__FSelectorBatchShadowVariableSearch__.optimize(...)
10. └─inst$eval_batch(states)
11. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
12. └─self$objective$eval_many(xss_trafoed)
13. └─bbotk:::.__Objective__eval_many(...)
14. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
15. │ └─base::eval.parent(expr, n = 1L)
16. │ └─base::eval(expr, p)
17. │ └─base::eval(expr, p)
18. └─private$.eval_many(xss = xss, resampling = `<list>`)
19. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
20. └─mlr3::benchmark(...)
21. └─ResultData$new(grid, data_extra, store_backends = store_backends)
22. └─mlr3 (local) initialize(...)
23. └─mlr3:::.__ResultData__initialize(...)
24. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
25. └─data.table:::`[.data.table`(...)
── Error ('test_ObjectiveFSelect.R:15:3'): ObjectiveFSelectBatch ───────────────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─obj$eval_many(xss) at test_ObjectiveFSelect.R:15:3
2. └─bbotk:::.__Objective__eval_many(...)
3. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
4. │ └─base::eval.parent(expr, n = 1L)
5. │ └─base::eval(expr, p)
6. │ └─base::eval(expr, p)
7. └─private$.eval_many(xss = xss, resampling = `<list>`)
8. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
9. └─mlr3::benchmark(...)
10. └─ResultData$new(grid, 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_ObjectiveFSelect.R:35:3'): ObjectiveFSelectBatch works with multiple measures ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─obj$eval_many(xss) at test_ObjectiveFSelect.R:35:3
2. └─bbotk:::.__Objective__eval_many(...)
3. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
4. │ └─base::eval.parent(expr, n = 1L)
5. │ └─base::eval(expr, p)
6. │ └─base::eval(expr, p)
7. └─private$.eval_many(xss = xss, resampling = `<list>`)
8. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
9. └─mlr3::benchmark(...)
10. └─ResultData$new(grid, 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_ObjectiveFSelect.R:54:3'): ObjectiveFSelectBatch works with store_models ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─obj$eval_many(xss) at test_ObjectiveFSelect.R:54:3
2. └─bbotk:::.__Objective__eval_many(...)
3. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
4. │ └─base::eval.parent(expr, n = 1L)
5. │ └─base::eval(expr, p)
6. │ └─base::eval(expr, p)
7. └─private$.eval_many(xss = xss, resampling = `<list>`)
8. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
9. └─mlr3::benchmark(...)
10. └─ResultData$new(grid, 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_ObjectiveFSelect.R:67:5'): fast aggregation works ──────────────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. ├─global with_seed(...) at test_ObjectiveFSelect.R:66:3
2. │ └─base::force(expr)
3. └─mlr3fselect::fselect(...) at test_ObjectiveFSelect.R:67:5
4. └─fselector$optimize(instance)
5. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
6. └─bbotk::optimize_batch_default(inst, self)
7. ├─base::tryCatch(...)
8. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
9. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
10. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
11. └─get_private(optimizer)$.optimize(instance)
12. └─mlr3fselect:::.__FSelectorBatchRandomSearch__.optimize(...)
13. └─inst$eval_batch(as.data.table(X))
14. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
15. └─self$objective$eval_many(xss_trafoed)
16. └─bbotk:::.__Objective__eval_many(...)
17. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
18. │ └─base::eval.parent(expr, n = 1L)
19. │ └─base::eval(expr, p)
20. │ └─base::eval(expr, p)
21. └─private$.eval_many(xss = xss, resampling = `<list>`)
22. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
23. └─mlr3::benchmark(...)
24. └─ResultData$new(grid, data_extra, store_backends = store_backends)
25. └─mlr3 (local) initialize(...)
26. └─mlr3:::.__ResultData__initialize(...)
27. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
28. └─data.table:::`[.data.table`(...)
── Error ('test_ObjectiveFSelect.R:119:3'): fast aggregation conditions work ───
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3fselect::fselect(...) at test_ObjectiveFSelect.R:119:3
2. └─fselector$optimize(instance)
3. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
4. └─bbotk::optimize_batch_default(inst, self)
5. ├─base::tryCatch(...)
6. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
8. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
9. └─get_private(optimizer)$.optimize(instance)
10. └─mlr3fselect:::.__FSelectorBatchRandomSearch__.optimize(...)
11. └─inst$eval_batch(as.data.table(X))
12. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
13. └─self$objective$eval_many(xss_trafoed)
14. └─bbotk:::.__Objective__eval_many(...)
15. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
16. │ └─base::eval.parent(expr, n = 1L)
17. │ └─base::eval(expr, p)
18. │ └─base::eval(expr, p)
19. └─private$.eval_many(xss = xss, resampling = `<list>`)
20. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
21. └─mlr3::benchmark(...)
22. └─ResultData$new(grid, data_extra, store_backends = store_backends)
23. └─mlr3 (local) initialize(...)
24. └─mlr3:::.__ResultData__initialize(...)
25. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
26. └─data.table:::`[.data.table`(...)
── Error ('test_ObjectiveFSelectAsync.R:15:3'): objective async works ──────────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─objective$eval(xs) at test_ObjectiveFSelectAsync.R:15:3
2. └─bbotk:::.__Objective__eval(...)
3. ├─mlr3misc::invoke(private$.eval, xs = xs, .args = self$constants$values)
4. │ └─base::eval.parent(expr, n = 1L)
5. │ └─base::eval(expr, p)
6. │ └─base::eval(expr, p)
7. └─private$.eval(xs = xs, resampling = `<list>`)
8. └─mlr3fselect:::.__ObjectiveFSelectAsync__.eval(...)
9. └─mlr3::resample(...)
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_ObjectiveFSelectAsync.R:37:3'): store benchmark result works ───
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─objective$eval(xs) at test_ObjectiveFSelectAsync.R:37:3
2. └─bbotk:::.__Objective__eval(...)
3. ├─mlr3misc::invoke(private$.eval, xs = xs, .args = self$constants$values)
4. │ └─base::eval.parent(expr, n = 1L)
5. │ └─base::eval(expr, p)
6. │ └─base::eval(expr, p)
7. └─private$.eval(xs = xs, resampling = `<list>`)
8. └─mlr3fselect:::.__ObjectiveFSelectAsync__.eval(...)
9. └─mlr3::resample(...)
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_ObjectiveFSelectAsync.R:61:3'): store models works ─────────────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─objective$eval(xs) at test_ObjectiveFSelectAsync.R:61:3
2. └─bbotk:::.__Objective__eval(...)
3. ├─mlr3misc::invoke(private$.eval, xs = xs, .args = self$constants$values)
4. │ └─base::eval.parent(expr, n = 1L)
5. │ └─base::eval(expr, p)
6. │ └─base::eval(expr, p)
7. └─private$.eval(xs = xs, resampling = `<list>`)
8. └─mlr3fselect:::.__ObjectiveFSelectAsync__.eval(...)
9. └─mlr3::resample(...)
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_ObjectiveFSelectAsync.R:85:3'): rush objective with multiple measures works ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─objective$eval(xs) at test_ObjectiveFSelectAsync.R:85:3
2. └─bbotk:::.__Objective__eval(...)
3. ├─mlr3misc::invoke(private$.eval, xs = xs, .args = self$constants$values)
4. │ └─base::eval.parent(expr, n = 1L)
5. │ └─base::eval(expr, p)
6. │ └─base::eval(expr, p)
7. └─private$.eval(xs = xs, resampling = `<list>`)
8. └─mlr3fselect:::.__ObjectiveFSelectAsync__.eval(...)
9. └─mlr3::resample(...)
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_embedded_ensemble_fselect.R:4:5'): embedded efs works ──────────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. ├─global with_seed(...) at test_embedded_ensemble_fselect.R:3:3
2. │ └─base::force(expr)
3. └─mlr3fselect::embedded_ensemble_fselect(...) at test_embedded_ensemble_fselect.R:4:5
4. └─mlr3::benchmark(design, store_models = TRUE)
5. └─ResultData$new(grid, data_extra, store_backends = store_backends)
6. └─mlr3 (local) initialize(...)
7. └─mlr3:::.__ResultData__initialize(...)
8. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
9. └─data.table:::`[.data.table`(...)
── Error ('test_embedded_ensemble_fselect.R:69:5'): combine embedded efs results ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. ├─global with_seed(...) at test_embedded_ensemble_fselect.R:68:3
2. │ └─base::force(expr)
3. └─mlr3fselect::embedded_ensemble_fselect(...) at test_embedded_ensemble_fselect.R:69:5
4. └─mlr3::benchmark(design, store_models = TRUE)
5. └─ResultData$new(grid, data_extra, store_backends = store_backends)
6. └─mlr3 (local) initialize(...)
7. └─mlr3:::.__ResultData__initialize(...)
8. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
9. └─data.table:::`[.data.table`(...)
── Error ('test_ensemble_fselect.R:4:5'): efs works ────────────────────────────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. ├─global with_seed(...) at test_ensemble_fselect.R:3:3
2. │ └─base::force(expr)
3. └─mlr3fselect::ensemble_fselect(...) at test_ensemble_fselect.R:4:5
4. └─mlr3::benchmark(design, store_models = TRUE)
5. └─mlr3:::future_map(...)
6. └─future.apply::future_mapply(...)
7. └─future.apply:::future_xapply(...)
8. └─base::tryCatch(...)
9. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
10. └─base (local) tryCatchOne(...)
11. └─value[[3L]](cond)
12. └─future.apply:::onError(e, futures = fs, debug = debug)
── Error ('test_ensemble_fselect.R:99:5'): efs works with rfe ──────────────────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. ├─global with_seed(...) at test_ensemble_fselect.R:98:3
2. │ └─base::force(expr)
3. └─mlr3fselect::ensemble_fselect(...) at test_ensemble_fselect.R:99:5
4. └─mlr3::benchmark(design, store_models = TRUE)
5. └─mlr3:::future_map(...)
6. └─future.apply::future_mapply(...)
7. └─future.apply:::future_xapply(...)
8. └─base::tryCatch(...)
9. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
10. └─base (local) tryCatchOne(...)
11. └─value[[3L]](cond)
12. └─future.apply:::onError(e, futures = fs, debug = debug)
── Error ('test_ensemble_fselect.R:349:3'): different callbacks can be set ─────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3fselect::ensemble_fselect(...) at test_ensemble_fselect.R:349:3
2. └─mlr3::benchmark(design, store_models = TRUE)
3. └─mlr3:::future_map(...)
4. └─future.apply::future_mapply(...)
5. └─future.apply:::future_xapply(...)
6. └─base::tryCatch(...)
7. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
8. └─base (local) tryCatchOne(...)
9. └─value[[3L]](cond)
10. └─future.apply:::onError(e, futures = fs, debug = debug)
── Error ('test_extract_inner_fselect_archives.R:2:3'): extract_inner_fselect_archives function works with resample and cv ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3fselect::fselect_nested(...) at test_extract_inner_fselect_archives.R:2:3
2. └─mlr3::resample(task, afs, outer_resampling, store_models = TRUE)
3. └─mlr3:::future_map(...)
4. └─future.apply::future_mapply(...)
5. └─future.apply:::future_xapply(...)
6. └─base::tryCatch(...)
7. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
8. └─base (local) tryCatchOne(...)
9. └─value[[3L]](cond)
10. └─future.apply:::onError(e, futures = fs, debug = debug)
── Error ('test_extract_inner_fselect_archives.R:11:3'): extract_inner_fselect_archives function works with resample and repeated cv ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3fselect::fselect_nested(...) at test_extract_inner_fselect_archives.R:11:3
2. └─mlr3::resample(task, afs, outer_resampling, store_models = TRUE)
3. └─mlr3:::future_map(...)
4. └─future.apply::future_mapply(...)
5. └─future.apply:::future_xapply(...)
6. └─base::tryCatch(...)
7. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
8. └─base (local) tryCatchOne(...)
9. └─value[[3L]](cond)
10. └─future.apply:::onError(e, futures = fs, debug = debug)
── Error ('test_extract_inner_fselect_archives.R:24:3'): extract_inner_fselect_archives function works with benchmark and cv ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3::benchmark(grid, store_models = TRUE) at test_extract_inner_fselect_archives.R:24:3
2. └─mlr3:::future_map(...)
3. └─future.apply::future_mapply(...)
4. └─future.apply:::future_xapply(...)
5. └─base::tryCatch(...)
6. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. └─base (local) tryCatchOne(...)
8. └─value[[3L]](cond)
9. └─future.apply:::onError(e, futures = fs, debug = debug)
── Error ('test_extract_inner_fselect_archives.R:37:3'): extract_inner_fselect_archives function works with benchmark and repeated cv ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3::benchmark(grid, store_models = TRUE) at test_extract_inner_fselect_archives.R:37:3
2. └─mlr3:::future_map(...)
3. └─future.apply::future_mapply(...)
4. └─future.apply:::future_xapply(...)
5. └─base::tryCatch(...)
6. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. └─base (local) tryCatchOne(...)
8. └─value[[3L]](cond)
9. └─future.apply:::onError(e, futures = fs, debug = debug)
── Error ('test_extract_inner_fselect_archives.R:50:3'): extract_inner_fselect_archives function works with multiple tasks ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3::benchmark(grid, store_models = TRUE) at test_extract_inner_fselect_archives.R:50:3
2. └─mlr3:::future_map(...)
3. └─future.apply::future_mapply(...)
4. └─future.apply:::future_xapply(...)
5. └─base::tryCatch(...)
6. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. └─base (local) tryCatchOne(...)
8. └─value[[3L]](cond)
9. └─future.apply:::onError(e, futures = fs, debug = debug)
── Error ('test_extract_inner_fselect_archives.R:61:3'): extract_inner_fselect_archives function works with no models ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3::resample(tsk("iris"), at, resampling_outer, store_models = FALSE) at test_extract_inner_fselect_archives.R:61:3
2. └─mlr3:::future_map(...)
3. └─future.apply::future_mapply(...)
4. └─future.apply:::future_xapply(...)
5. └─base::tryCatch(...)
6. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. └─base (local) tryCatchOne(...)
8. └─value[[3L]](cond)
9. └─future.apply:::onError(e, futures = fs, debug = debug)
── Error ('test_extract_inner_fselect_archives.R:70:3'): extract_inner_fselect_archives function works with no instance ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3::resample(tsk("iris"), at, resampling_outer, store_models = TRUE) at test_extract_inner_fselect_archives.R:70:3
2. └─mlr3:::future_map(...)
3. └─future.apply::future_mapply(...)
4. └─future.apply:::future_xapply(...)
5. └─base::tryCatch(...)
6. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. └─base (local) tryCatchOne(...)
8. └─value[[3L]](cond)
9. └─future.apply:::onError(e, futures = fs, debug = debug)
── Error ('test_extract_inner_fselect_archives.R:80:3'): extract_inner_fselect_archives function works with benchmark and no models ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3::benchmark(grid, store_models = FALSE) at test_extract_inner_fselect_archives.R:80:3
2. └─mlr3:::future_map(...)
3. └─future.apply::future_mapply(...)
4. └─future.apply:::future_xapply(...)
5. └─base::tryCatch(...)
6. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. └─base (local) tryCatchOne(...)
8. └─value[[3L]](cond)
9. └─future.apply:::onError(e, futures = fs, debug = debug)
── Error ('test_extract_inner_fselect_archives.R:92:3'): extract_inner_fselect_archives function works with mixed store instance ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3::benchmark(grid, store_models = TRUE) at test_extract_inner_fselect_archives.R:92:3
2. └─mlr3:::future_map(...)
3. └─future.apply::future_mapply(...)
4. └─future.apply:::future_xapply(...)
5. └─base::tryCatch(...)
6. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. └─base (local) tryCatchOne(...)
8. └─value[[3L]](cond)
9. └─future.apply:::onError(e, futures = fs, debug = debug)
── Error ('test_extract_inner_fselect_archives.R:104:3'): extract_inner_fselect_archives function works with autofselector and learner ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3::benchmark(grid, store_models = TRUE) at test_extract_inner_fselect_archives.R:104:3
2. └─mlr3:::future_map(...)
3. └─future.apply::future_mapply(...)
4. └─future.apply:::future_xapply(...)
5. └─base::tryCatch(...)
6. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. └─base (local) tryCatchOne(...)
8. └─value[[3L]](cond)
9. └─future.apply:::onError(e, futures = fs, debug = debug)
── Error ('test_extract_inner_fselect_result.R:2:3'): extract_inner_fselect_results function works with resample and cv ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3fselect::fselect_nested(...) at test_extract_inner_fselect_result.R:2:3
2. └─mlr3::resample(task, afs, outer_resampling, store_models = TRUE)
3. └─mlr3:::future_map(...)
4. └─future.apply::future_mapply(...)
5. └─future.apply:::future_xapply(...)
6. └─base::tryCatch(...)
7. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
8. └─base (local) tryCatchOne(...)
9. └─value[[3L]](cond)
10. └─future.apply:::onError(e, futures = fs, debug = debug)
── Error ('test_extract_inner_fselect_result.R:11:3'): extract_inner_fselect_results function works with resample and repeated cv ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3fselect::fselect_nested(...) at test_extract_inner_fselect_result.R:11:3
2. └─mlr3::resample(task, afs, outer_resampling, store_models = TRUE)
3. └─mlr3:::future_map(...)
4. └─future.apply::future_mapply(...)
5. └─future.apply:::future_xapply(...)
6. └─base::tryCatch(...)
7. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
8. └─base (local) tryCatchOne(...)
9. └─value[[3L]](cond)
10. └─future.apply:::onError(e, futures = fs, debug = debug)
── Error ('test_extract_inner_fselect_result.R:24:3'): extract_inner_fselect_results function works with benchmark and cv ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3::benchmark(grid, store_models = TRUE) at test_extract_inner_fselect_result.R:24:3
2. └─mlr3:::future_map(...)
3. └─future.apply::future_mapply(...)
4. └─future.apply:::future_xapply(...)
5. └─base::tryCatch(...)
6. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. └─base (local) tryCatchOne(...)
8. └─value[[3L]](cond)
9. └─future.apply:::onError(e, futures = fs, debug = debug)
── Error ('test_extract_inner_fselect_result.R:37:3'): extract_inner_fselect_results function works with benchmark and repeated cv ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3::benchmark(grid, store_models = TRUE) at test_extract_inner_fselect_result.R:37:3
2. └─mlr3:::future_map(...)
3. └─future.apply::future_mapply(...)
4. └─future.apply:::future_xapply(...)
5. └─base::tryCatch(...)
6. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. └─base (local) tryCatchOne(...)
8. └─value[[3L]](cond)
9. └─future.apply:::onError(e, futures = fs, debug = debug)
── Error ('test_extract_inner_fselect_result.R:50:3'): extract_inner_fselect_results function works with multiple tasks ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3::benchmark(grid, store_models = TRUE) at test_extract_inner_fselect_result.R:50:3
2. └─mlr3:::future_map(...)
3. └─future.apply::future_mapply(...)
4. └─future.apply:::future_xapply(...)
5. └─base::tryCatch(...)
6. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. └─base (local) tryCatchOne(...)
8. └─value[[3L]](cond)
9. └─future.apply:::onError(e, futures = fs, debug = debug)
── Error ('test_extract_inner_fselect_result.R:61:3'): extract_inner_fselect_results function works with no model ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3::resample(tsk("iris"), at, resampling_outer, store_models = FALSE) at test_extract_inner_fselect_result.R:61:3
2. └─mlr3:::future_map(...)
3. └─future.apply::future_mapply(...)
4. └─future.apply:::future_xapply(...)
5. └─base::tryCatch(...)
6. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. └─base (local) tryCatchOne(...)
8. └─value[[3L]](cond)
9. └─future.apply:::onError(e, futures = fs, debug = debug)
── Error ('test_extract_inner_fselect_result.R:70:3'): extract_inner_fselect_results function works no instance ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3::resample(tsk("iris"), at, resampling_outer, store_models = TRUE) at test_extract_inner_fselect_result.R:70:3
2. └─mlr3:::future_map(...)
3. └─future.apply::future_mapply(...)
4. └─future.apply:::future_xapply(...)
5. └─base::tryCatch(...)
6. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. └─base (local) tryCatchOne(...)
8. └─value[[3L]](cond)
9. └─future.apply:::onError(e, futures = fs, debug = debug)
── Error ('test_extract_inner_fselect_result.R:80:3'): extract_inner_fselect_results function works with benchmark and no models ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3::benchmark(grid, store_models = FALSE) at test_extract_inner_fselect_result.R:80:3
2. └─mlr3:::future_map(...)
3. └─future.apply::future_mapply(...)
4. └─future.apply:::future_xapply(...)
5. └─base::tryCatch(...)
6. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. └─base (local) tryCatchOne(...)
8. └─value[[3L]](cond)
9. └─future.apply:::onError(e, futures = fs, debug = debug)
── Error ('test_extract_inner_fselect_result.R:92:3'): extract_inner_fselect_results function works with mixed store instance ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3::benchmark(grid, store_models = TRUE) at test_extract_inner_fselect_result.R:92:3
2. └─mlr3:::future_map(...)
3. └─future.apply::future_mapply(...)
4. └─future.apply:::future_xapply(...)
5. └─base::tryCatch(...)
6. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. └─base (local) tryCatchOne(...)
8. └─value[[3L]](cond)
9. └─future.apply:::onError(e, futures = fs, debug = debug)
── Error ('test_extract_inner_fselect_result.R:104:3'): extract_inner_fselect_results function works with learner and autotuner ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3::benchmark(grid, store_models = TRUE) at test_extract_inner_fselect_result.R:104:3
2. └─mlr3:::future_map(...)
3. └─future.apply::future_mapply(...)
4. └─future.apply:::future_xapply(...)
5. └─base::tryCatch(...)
6. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. └─base (local) tryCatchOne(...)
8. └─value[[3L]](cond)
9. └─future.apply:::onError(e, futures = fs, debug = debug)
── Error ('test_extract_inner_fselect_result.R:113:3'): extract_inner_fselect_results function works with resample and return of instance ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3fselect::fselect_nested(...) at test_extract_inner_fselect_result.R:113:3
2. └─mlr3::resample(task, afs, outer_resampling, store_models = TRUE)
3. └─mlr3:::future_map(...)
4. └─future.apply::future_mapply(...)
5. └─future.apply:::future_xapply(...)
6. └─base::tryCatch(...)
7. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
8. └─base (local) tryCatchOne(...)
9. └─value[[3L]](cond)
10. └─future.apply:::onError(e, futures = fs, debug = debug)
── Error ('test_extract_inner_fselect_result.R:125:3'): extract_inner_fselect_results function works with benchmark and return of instance ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3::benchmark(grid, store_models = TRUE) at test_extract_inner_fselect_result.R:125:3
2. └─mlr3:::future_map(...)
3. └─future.apply::future_mapply(...)
4. └─future.apply:::future_xapply(...)
5. └─base::tryCatch(...)
6. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. └─base (local) tryCatchOne(...)
8. └─value[[3L]](cond)
9. └─future.apply:::onError(e, futures = fs, debug = debug)
── Error ('test_fselect.R:2:3'): fselect function works with single measure ────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3fselect::fselect(...) at test_fselect.R:2:3
2. └─fselector$optimize(instance)
3. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
4. └─bbotk::optimize_batch_default(inst, self)
5. ├─base::tryCatch(...)
6. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
8. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
9. └─get_private(optimizer)$.optimize(instance)
10. └─mlr3fselect:::.__FSelectorBatchRandomSearch__.optimize(...)
11. └─inst$eval_batch(as.data.table(X))
12. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
13. └─self$objective$eval_many(xss_trafoed)
14. └─bbotk:::.__Objective__eval_many(...)
15. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
16. │ └─base::eval.parent(expr, n = 1L)
17. │ └─base::eval(expr, p)
18. │ └─base::eval(expr, p)
19. └─private$.eval_many(xss = xss, resampling = `<list>`)
20. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
21. └─mlr3::benchmark(...)
22. └─ResultData$new(grid, data_extra, store_backends = store_backends)
23. └─mlr3 (local) initialize(...)
24. └─mlr3:::.__ResultData__initialize(...)
25. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
26. └─data.table:::`[.data.table`(...)
── Error ('test_fselect.R:11:3'): fselect function works with multiple measures ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3fselect::fselect(...) at test_fselect.R:11:3
2. └─fselector$optimize(instance)
3. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
4. └─bbotk::optimize_batch_default(inst, self)
5. ├─base::tryCatch(...)
6. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
8. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
9. └─get_private(optimizer)$.optimize(instance)
10. └─mlr3fselect:::.__FSelectorBatchRandomSearch__.optimize(...)
11. └─inst$eval_batch(as.data.table(X))
12. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
13. └─self$objective$eval_many(xss_trafoed)
14. └─bbotk:::.__Objective__eval_many(...)
15. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
16. │ └─base::eval.parent(expr, n = 1L)
17. │ └─base::eval(expr, p)
18. │ └─base::eval(expr, p)
19. └─private$.eval_many(xss = xss, resampling = `<list>`)
20. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
21. └─mlr3::benchmark(...)
22. └─ResultData$new(grid, data_extra, store_backends = store_backends)
23. └─mlr3 (local) initialize(...)
24. └─mlr3:::.__ResultData__initialize(...)
25. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
26. └─data.table:::`[.data.table`(...)
── Error ('test_fselect.R:20:3'): fselect function accepts string input for method ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3fselect::fselect(...) at test_fselect.R:20:3
2. └─fselector$optimize(instance)
3. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
4. └─bbotk::optimize_batch_default(inst, self)
5. ├─base::tryCatch(...)
6. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
8. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
9. └─get_private(optimizer)$.optimize(instance)
10. └─mlr3fselect:::.__FSelectorBatchRandomSearch__.optimize(...)
11. └─inst$eval_batch(as.data.table(X))
12. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
13. └─self$objective$eval_many(xss_trafoed)
14. └─bbotk:::.__Objective__eval_many(...)
15. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
16. │ └─base::eval.parent(expr, n = 1L)
17. │ └─base::eval(expr, p)
18. │ └─base::eval(expr, p)
19. └─private$.eval_many(xss = xss, resampling = `<list>`)
20. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
21. └─mlr3::benchmark(...)
22. └─ResultData$new(grid, data_extra, store_backends = store_backends)
23. └─mlr3 (local) initialize(...)
24. └─mlr3:::.__ResultData__initialize(...)
25. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
26. └─data.table:::`[.data.table`(...)
── Error ('test_fselect_nested.R:2:3'): fselect_nested function works ──────────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3fselect::fselect_nested(...) at test_fselect_nested.R:2:3
2. └─mlr3::resample(task, afs, outer_resampling, store_models = TRUE)
3. └─mlr3:::future_map(...)
4. └─future.apply::future_mapply(...)
5. └─future.apply:::future_xapply(...)
6. └─base::tryCatch(...)
7. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
8. └─base (local) tryCatchOne(...)
9. └─value[[3L]](cond)
10. └─future.apply:::onError(e, futures = fs, debug = debug)
── Error ('test_mlr_callbacks.R:4:3'): backup callback works ───────────────────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3fselect::fselect(...) at test_mlr_callbacks.R:4:3
2. └─fselector$optimize(instance)
3. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
4. └─bbotk::optimize_batch_default(inst, self)
5. ├─base::tryCatch(...)
6. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
8. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
9. └─get_private(optimizer)$.optimize(instance)
10. └─mlr3fselect:::.__FSelectorBatchRandomSearch__.optimize(...)
11. └─inst$eval_batch(as.data.table(X))
12. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
13. └─self$objective$eval_many(xss_trafoed)
14. └─bbotk:::.__Objective__eval_many(...)
15. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
16. │ └─base::eval.parent(expr, n = 1L)
17. │ └─base::eval(expr, p)
18. │ └─base::eval(expr, p)
19. └─private$.eval_many(xss = xss, resampling = `<list>`)
20. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
21. └─mlr3::benchmark(...)
22. └─ResultData$new(grid, data_extra, store_backends = store_backends)
23. └─mlr3 (local) initialize(...)
24. └─mlr3:::.__ResultData__initialize(...)
25. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
26. └─data.table:::`[.data.table`(...)
── Error ('test_mlr_callbacks.R:23:3'): svm_rfe callbacks works ────────────────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3fselect::fselect(...) at test_mlr_callbacks.R:23:3
2. └─fselector$optimize(instance)
3. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
4. └─bbotk::optimize_batch_default(inst, self)
5. ├─base::tryCatch(...)
6. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
8. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
9. └─get_private(optimizer)$.optimize(instance)
10. └─mlr3fselect:::.__FSelectorBatchRFE__.optimize(...)
11. └─mlr3fselect:::rfe_workhorse(inst, subsets, recursive, aggregation)
12. └─inst$eval_batch(states)
13. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
14. └─self$objective$eval_many(xss_trafoed)
15. └─bbotk:::.__Objective__eval_many(...)
16. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
17. │ └─base::eval.parent(expr, n = 1L)
18. │ └─base::eval(expr, p)
19. │ └─base::eval(expr, p)
20. └─private$.eval_many(xss = xss, resampling = `<list>`)
21. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
22. └─mlr3::benchmark(...)
23. └─ResultData$new(grid, data_extra, store_backends = store_backends)
24. └─mlr3 (local) initialize(...)
25. └─mlr3:::.__ResultData__initialize(...)
26. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
27. └─data.table:::`[.data.table`(...)
── Error ('test_mlr_callbacks.R:46:3'): one_se_rule callback works ─────────────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3fselect::fselect(...) at test_mlr_callbacks.R:46:3
2. └─fselector$optimize(instance)
3. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
4. └─bbotk::optimize_batch_default(inst, self)
5. ├─base::tryCatch(...)
6. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
8. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
9. └─get_private(optimizer)$.optimize(instance)
10. └─mlr3fselect:::.__FSelectorBatchExhaustiveSearch__.optimize(...)
11. └─mlr3misc::walk(chunks, function(row_ids) inst$eval_batch(states[row_ids]))
12. └─mlr3fselect (local) .f(.xi, ...)
13. └─inst$eval_batch(states[row_ids])
14. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
15. └─self$objective$eval_many(xss_trafoed)
16. └─bbotk:::.__Objective__eval_many(...)
17. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
18. │ └─base::eval.parent(expr, n = 1L)
19. │ └─base::eval(expr, p)
20. │ └─base::eval(expr, p)
21. └─private$.eval_many(xss = xss, resampling = `<list>`)
22. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
23. └─mlr3::benchmark(...)
24. └─ResultData$new(grid, data_extra, store_backends = store_backends)
25. └─mlr3 (local) initialize(...)
26. └─mlr3:::.__ResultData__initialize(...)
27. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
28. └─data.table:::`[.data.table`(...)
── Error ('test_mlr_callbacks.R:65:3'): internal tuning callback works ─────────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3fselect::fselect(...) at test_mlr_callbacks.R:65:3
2. └─fselector$optimize(instance)
3. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
4. └─bbotk::optimize_batch_default(inst, self)
5. ├─base::tryCatch(...)
6. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
8. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
9. └─get_private(optimizer)$.optimize(instance)
10. └─mlr3fselect:::.__FSelectorBatchRandomSearch__.optimize(...)
11. └─inst$eval_batch(as.data.table(X))
12. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
13. └─self$objective$eval_many(xss_trafoed)
14. └─bbotk:::.__Objective__eval_many(...)
15. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
16. │ └─base::eval.parent(expr, n = 1L)
17. │ └─base::eval(expr, p)
18. │ └─base::eval(expr, p)
19. └─private$.eval_many(xss = xss, resampling = `<list>`)
20. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
21. └─mlr3::benchmark(...)
22. └─ResultData$new(grid, data_extra, store_backends = store_backends)
23. └─mlr3 (local) initialize(...)
24. └─mlr3:::.__ResultData__initialize(...)
25. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
26. └─data.table:::`[.data.table`(...)
── Error ('test_mlr_callbacks.R:96:3'): internal tuning callback works with AutoFSelector ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─afs$train(tsk("pima")) at test_mlr_callbacks.R:96:3
2. └─mlr3:::.__Learner__train(...)
3. └─mlr3:::learner_train(...)
4. └─mlr3misc::encapsulate(...)
5. ├─mlr3misc::invoke(...)
6. │ └─base::eval.parent(expr, n = 1L)
7. │ └─base::eval(expr, p)
8. │ └─base::eval(expr, p)
9. └─mlr3 (local) .f(learner = `<S3: AutoFSelector>`, task = `<S3: TaskClassif>`)
10. └─get_private(learner)$.train(task)
11. └─mlr3fselect:::.__AutoFSelector__.train(...)
12. └─self$fselector$optimize(instance)
13. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
14. └─bbotk::optimize_batch_default(inst, self)
15. ├─base::tryCatch(...)
16. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
17. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
18. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
19. └─get_private(optimizer)$.optimize(instance)
20. └─mlr3fselect:::.__FSelectorBatchRandomSearch__.optimize(...)
21. └─inst$eval_batch(as.data.table(X))
22. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
23. └─self$objective$eval_many(xss_trafoed)
24. └─bbotk:::.__Objective__eval_many(...)
25. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
26. │ └─base::eval.parent(expr, n = 1L)
27. │ └─base::eval(expr, p)
28. │ └─base::eval(expr, p)
29. └─private$.eval_many(xss = xss, resampling = `<list>`)
30. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
31. └─mlr3::benchmark(...)
32. └─ResultData$new(grid, data_extra, store_backends = store_backends)
33. └─mlr3 (local) initialize(...)
34. └─mlr3:::.__ResultData__initialize(...)
35. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
36. └─data.table:::`[.data.table`(...)
[ FAIL 100 | WARN 27 | SKIP 52 | PASS 235 ]
Error:
! Test failures.
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 1.5.0
Check: examples
Result: ERROR
Running examples in ‘mlr3fselect-Ex.R’ failed
The error most likely occurred in:
> ### Name: auto_fselector
> ### Title: Function for Automatic Feature Selection
> ### Aliases: auto_fselector
>
> ### ** Examples
>
> afs = auto_fselector(
+ fselector = fs("random_search"),
+ learner = lrn("classif.rpart"),
+ resampling = rsmp("holdout"),
+ measure = msr("classif.ce"),
+ term_evals = 4)
>
> afs$train(tsk("pima"))
INFO [17:46:14.464] [bbotk] Starting to optimize 8 parameter(s) with '<FSelectorBatchRandomSearch>' and '<TerminatorEvals> [n_evals=4, k=0]'
INFO [17:46:14.838] [bbotk] Evaluating 10 configuration(s)
INFO [17:46:15.200] [mlr3] Running benchmark with 10 resampling iterations
INFO [17:46:15.561] [mlr3] Applying learner 'classif.rpart' on task 'pima' (iter 1/1)
INFO [17:46:15.701] [mlr3] Applying learner 'classif.rpart' on task 'pima' (iter 1/1)
INFO [17:46:15.832] [mlr3] Applying learner 'classif.rpart' on task 'pima' (iter 1/1)
INFO [17:46:15.954] [mlr3] Applying learner 'classif.rpart' on task 'pima' (iter 1/1)
INFO [17:46:16.084] [mlr3] Applying learner 'classif.rpart' on task 'pima' (iter 1/1)
INFO [17:46:16.240] [mlr3] Applying learner 'classif.rpart' on task 'pima' (iter 1/1)
INFO [17:46:16.422] [mlr3] Applying learner 'classif.rpart' on task 'pima' (iter 1/1)
INFO [17:46:16.547] [mlr3] Applying learner 'classif.rpart' on task 'pima' (iter 1/1)
INFO [17:46:16.688] [mlr3] Applying learner 'classif.rpart' on task 'pima' (iter 1/1)
INFO [17:46:16.801] [mlr3] Applying learner 'classif.rpart' on task 'pima' (iter 1/1)
INFO [17:46:16.940] [mlr3] Finished benchmark
Error in `[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash") :
attempt access index 9/9 in VECTOR_ELT
Calls: <Anonymous> ... initialize -> .__ResultData__initialize -> [ -> [.data.table
Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang
Version: 1.5.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [258s/495s]
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-8.R
Saving _problems/test_ArchiveBatchFSelect-58.R
Saving _problems/test_ArchiveBatchFSelect-164.R
Saving _problems/test_ArchiveBatchFSelect-204.R
Saving _problems/test_ArchiveBatchFSelect-232.R
Saving _problems/test_ArchiveBatchFSelect-260.R
Saving _problems/test_AutoFSelector-137.R
Saving _problems/test_AutoFSelector-166.R
Saving _problems/test_AutoFSelector-211.R
Saving _problems/test_FSelectInstanceMultiCrit-16.R
Saving _problems/test_FSelectInstanceMultiCrit-29.R
Saving _problems/test_FSelectInstanceMultiCrit-37.R
Saving _problems/test_FSelectInstanceSingleCrit-16.R
Saving _problems/test_FSelectInstanceSingleCrit-40.R
Saving _problems/test_FSelectInstanceSingleCrit-48.R
Saving _problems/test_FSelectInstanceSingleCrit-85.R
Saving _problems/test_FSelectInstanceSingleCrit-111.R
Saving _problems/test_FSelectInstanceSingleCrit-131.R
Saving _problems/test_FSelectorBatchDesignPoints-8.R
Saving _problems/test_FSelectorBatchDesignPoints-20.R
Saving _problems/test_FSelectorExhaustiveSearch-2.R
Saving _problems/test_FSelectorExhaustiveSearch-14.R
Saving _problems/test_FSelectorExhaustiveSearch-23.R
Saving _problems/test_FSelectorExhaustiveSearch-27.R
Saving _problems/test_FSelectorGeneticSearch-4.R
Saving _problems/test_FSelectorRFE-2.R
Saving _problems/test_FSelectorRFE-11.R
Saving _problems/test_FSelectorRFE-18.R
Saving _problems/test_FSelectorRFE-27.R
Saving _problems/test_FSelectorRFE-49.R
Saving _problems/test_FSelectorRFE-63.R
Saving _problems/test_FSelectorRFE-83.R
Saving _problems/test_FSelectorRFE-131.R
Saving _problems/test_FSelectorRFE-142.R
Saving _problems/test_FSelectorRFE-161.R
Saving _problems/test_FSelectorRFE-233.R
Saving _problems/test_FSelectorRFE-290.R
Saving _problems/test_FSelectorRFECV-12.R
Saving _problems/test_FSelectorRFECV-32.R
Saving _problems/test_FSelectorRFECV-61.R
Saving _problems/test_FSelectorRFECV-118.R
Saving _problems/test_FSelectorRandomSearch-2.R
Saving _problems/test_FSelectorRandomSearch-6.R
Saving _problems/test_FSelectorRandomSearch-12.R
Saving _problems/test_FSelectorSequential-2.R
Saving _problems/test_FSelectorSequential-11.R
Saving _problems/test_FSelectorSequential-20.R
Saving _problems/test_FSelectorSequential-26.R
Saving _problems/test_FSelectorSequential-32.R
Saving _problems/test_FSelectorSequential-39.R
Saving _problems/test_FSelectorShadowVariableSearch-2.R
Saving _problems/test_FSelectorShadowVariableSearch-14.R
Saving _problems/test_FSelectorShadowVariableSearch-26.R
Saving _problems/test_FSelectorShadowVariableSearch-35.R
Saving _problems/test_FSelectorShadowVariableSearch-54.R
Saving _problems/test_ObjectiveFSelect-15.R
Saving _problems/test_ObjectiveFSelect-35.R
Saving _problems/test_ObjectiveFSelect-54.R
Saving _problems/test_ObjectiveFSelect-74.R
Saving _problems/test_ObjectiveFSelect-126.R
Saving _problems/test_ObjectiveFSelectAsync-15.R
Saving _problems/test_ObjectiveFSelectAsync-37.R
Saving _problems/test_ObjectiveFSelectAsync-61.R
Saving _problems/test_ObjectiveFSelectAsync-85.R
Saving _problems/test_embedded_ensemble_fselect-9.R
Saving _problems/test_embedded_ensemble_fselect-74.R
Saving _problems/test_ensemble_fselect-13.R
Saving _problems/test_ensemble_fselect-108.R
Saving _problems/test_ensemble_fselect-359.R
Saving _problems/test_extract_inner_fselect_archives-3.R
Saving _problems/test_extract_inner_fselect_archives-12.R
Saving _problems/test_extract_inner_fselect_archives-24.R
Saving _problems/test_extract_inner_fselect_archives-37.R
Saving _problems/test_extract_inner_fselect_archives-50.R
Saving _problems/test_extract_inner_fselect_archives-61.R
Saving _problems/test_extract_inner_fselect_archives-70.R
Saving _problems/test_extract_inner_fselect_archives-80.R
Saving _problems/test_extract_inner_fselect_archives-92.R
Saving _problems/test_extract_inner_fselect_archives-104.R
Saving _problems/test_extract_inner_fselect_result-3.R
Saving _problems/test_extract_inner_fselect_result-12.R
Saving _problems/test_extract_inner_fselect_result-24.R
Saving _problems/test_extract_inner_fselect_result-37.R
Saving _problems/test_extract_inner_fselect_result-50.R
Saving _problems/test_extract_inner_fselect_result-61.R
Saving _problems/test_extract_inner_fselect_result-70.R
Saving _problems/test_extract_inner_fselect_result-80.R
Saving _problems/test_extract_inner_fselect_result-92.R
Saving _problems/test_extract_inner_fselect_result-104.R
Saving _problems/test_extract_inner_fselect_result-113.R
Saving _problems/test_extract_inner_fselect_result-125.R
Saving _problems/test_fselect-3.R
Saving _problems/test_fselect-12.R
Saving _problems/test_fselect-21.R
Saving _problems/test_fselect_nested-4.R
Saving _problems/test_mlr_callbacks-12.R
Saving _problems/test_mlr_callbacks-32.R
Saving _problems/test_mlr_callbacks-53.R
Saving _problems/test_mlr_callbacks-73.R
Saving _problems/test_mlr_callbacks-96.R
[ FAIL 100 | WARN 27 | SKIP 52 | PASS 235 ]
══ Skipped tests (52) ══════════════════════════════════════════════════════════
• On CRAN (52): 'test_ArchiveAsyncFSelect.R:2:3',
'test_ArchiveAsyncFSelect.R:51:3', 'test_ArchiveAsyncFSelect.R:107:3',
'test_ArchiveAsyncFSelect.R:133:3', 'test_ArchiveAsyncFSelect.R:155:3',
'test_ArchiveAsyncFSelect.R:181:3', 'test_ArchiveAsyncFSelectFrozen.R:2:3',
'test_AutoFSelector.R:2:3', 'test_AutoFSelector.R:29:3',
'test_AutoFSelector.R:64:3', 'test_AutoFSelector.R:219:3',
'test_CallbackAsyncFSelect.R:4:3', 'test_CallbackAsyncFSelect.R:32:3',
'test_CallbackAsyncFSelect.R:62:3', 'test_CallbackAsyncFSelect.R:90:3',
'test_CallbackAsyncFSelect.R:120:3', 'test_CallbackAsyncFSelect.R:154:3',
'test_CallbackAsyncFSelect.R:181:3', 'test_CallbackAsyncFSelect.R:213:3',
'test_CallbackAsyncFSelect.R:242:3', 'test_CallbackAsyncFSelect.R:269:3',
'test_CallbackAsyncFSelect.R:298:3', 'test_CallbackAsyncFSelect.R:327:3',
'test_CallbackAsyncFSelect.R:354:3', 'test_CallbackAsyncFSelect.R:383:3',
'test_CallbackAsyncFSelect.R:419:3', 'test_CallbackAsyncFSelect.R:454:3',
'test_CallbackAsyncFSelect.R:488:3',
'test_FSelectInstanceAsyncMultiCrit.R:2:3',
'test_FSelectInstanceAsyncMultiCrit.R:30:3',
'test_FSelectInstanceAsyncMultiCrit.R:53:3',
'test_FSelectInstanceAsyncMultiCrit.R:77:3',
'test_FSelectInstanceAsyncMultiCrit.R:101:3',
'test_FSelectInstanceAsyncMultiCrit.R:129:3',
'test_FSelectInstanceAsyncSingleCrit.R:2:3',
'test_FSelectInstanceAsyncSingleCrit.R:29:3',
'test_FSelectInstanceAsyncSingleCrit.R:50:3',
'test_FSelectInstanceAsyncSingleCrit.R:73:3',
'test_FSelectInstanceAsyncSingleCrit.R:98:3',
'test_FSelectInstanceAsyncSingleCrit.R:124:3',
'test_FSelectorAsyncDesignPoints.R:2:3',
'test_FSelectorAsyncExhaustiveSearch.R:2:3',
'test_FSelectorAsyncRandomSearch.R:2:3', 'test_ObjectiveFSelectAsync.R:96:3',
'test_ObjectiveFSelectAsync.R:160:3', 'test_auto_fselector.R:24:3',
'test_auto_fselector.R:47:3', 'test_fsi_async.R:2:3',
'test_fsi_async.R:16:3', 'test_fsi_async.R:30:3', 'test_fsi_async.R:42:3',
'test_mlr_callbacks.R:108:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test_ArchiveBatchFSelect.R:2:3'): ArchiveBatchFSelect access methods work ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3fselect::fselect(...) at test_ArchiveBatchFSelect.R:2:3
2. └─fselector$optimize(instance)
3. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
4. └─bbotk::optimize_batch_default(inst, self)
5. ├─base::tryCatch(...)
6. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
8. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
9. └─get_private(optimizer)$.optimize(instance)
10. └─mlr3fselect:::.__FSelectorBatchRandomSearch__.optimize(...)
11. └─inst$eval_batch(as.data.table(X))
12. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
13. └─self$objective$eval_many(xss_trafoed)
14. └─bbotk:::.__Objective__eval_many(...)
15. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
16. │ └─base::eval.parent(expr, n = 1L)
17. │ └─base::eval(expr, p)
18. │ └─base::eval(expr, p)
19. └─private$.eval_many(xss = xss, resampling = `<list>`)
20. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
21. └─mlr3::benchmark(...)
22. └─ResultData$new(grid, data_extra, store_backends = store_backends)
23. └─mlr3 (local) initialize(...)
24. └─mlr3:::.__ResultData__initialize(...)
25. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
26. └─data.table:::`[.data.table`(...)
── Error ('test_ArchiveBatchFSelect.R:52:3'): ArchiveBatchFSelect as.data.table function works ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3fselect::fselect(...) at test_ArchiveBatchFSelect.R:52:3
2. └─fselector$optimize(instance)
3. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
4. └─bbotk::optimize_batch_default(inst, self)
5. ├─base::tryCatch(...)
6. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
8. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
9. └─get_private(optimizer)$.optimize(instance)
10. └─mlr3fselect:::.__FSelectorBatchRandomSearch__.optimize(...)
11. └─inst$eval_batch(as.data.table(X))
12. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
13. └─self$objective$eval_many(xss_trafoed)
14. └─bbotk:::.__Objective__eval_many(...)
15. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
16. │ └─base::eval.parent(expr, n = 1L)
17. │ └─base::eval(expr, p)
18. │ └─base::eval(expr, p)
19. └─private$.eval_many(xss = xss, resampling = `<list>`)
20. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
21. └─mlr3::benchmark(...)
22. └─ResultData$new(grid, data_extra, store_backends = store_backends)
23. └─mlr3 (local) initialize(...)
24. └─mlr3:::.__ResultData__initialize(...)
25. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
26. └─data.table:::`[.data.table`(...)
── Error ('test_ArchiveBatchFSelect.R:157:3'): global ties method works ────────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3fselect::fselect(...) at test_ArchiveBatchFSelect.R:157:3
2. └─fselector$optimize(instance)
3. └─mlr3fselect:::.__FSelectorBatchFromOptimizerBatch__optimize(...)
4. └─private$.optimizer$optimize(inst)
5. └─bbotk:::.__OptimizerBatch__optimize(...)
6. └─bbotk::optimize_batch_default(inst, self)
7. ├─base::tryCatch(...)
8. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
9. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
10. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
11. └─get_private(optimizer)$.optimize(instance)
12. └─bbotk:::.__OptimizerBatchDesignPoints__.optimize(...)
13. └─instance$eval_batch(design[inds, ])
14. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
15. └─self$objective$eval_many(xss_trafoed)
16. └─bbotk:::.__Objective__eval_many(...)
17. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
18. │ └─base::eval.parent(expr, n = 1L)
19. │ └─base::eval(expr, p)
20. │ └─base::eval(expr, p)
21. └─private$.eval_many(xss = xss, resampling = `<list>`)
22. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
23. └─mlr3::benchmark(...)
24. └─ResultData$new(grid, data_extra, store_backends = store_backends)
25. └─mlr3 (local) initialize(...)
26. └─mlr3:::.__ResultData__initialize(...)
27. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
28. └─data.table:::`[.data.table`(...)
── Error ('test_ArchiveBatchFSelect.R:198:3'): local ties method works when maximize measure ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3fselect::fselect(...) at test_ArchiveBatchFSelect.R:198:3
2. └─fselector$optimize(instance)
3. └─mlr3fselect:::.__FSelectorBatchFromOptimizerBatch__optimize(...)
4. └─private$.optimizer$optimize(inst)
5. └─bbotk:::.__OptimizerBatch__optimize(...)
6. └─bbotk::optimize_batch_default(inst, self)
7. ├─base::tryCatch(...)
8. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
9. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
10. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
11. └─get_private(optimizer)$.optimize(instance)
12. └─bbotk:::.__OptimizerBatchDesignPoints__.optimize(...)
13. └─instance$eval_batch(design[inds, ])
14. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
15. └─self$objective$eval_many(xss_trafoed)
16. └─bbotk:::.__Objective__eval_many(...)
17. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
18. │ └─base::eval.parent(expr, n = 1L)
19. │ └─base::eval(expr, p)
20. │ └─base::eval(expr, p)
21. └─private$.eval_many(xss = xss, resampling = `<list>`)
22. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
23. └─mlr3::benchmark(...)
24. └─ResultData$new(grid, data_extra, store_backends = store_backends)
25. └─mlr3 (local) initialize(...)
26. └─mlr3:::.__ResultData__initialize(...)
27. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
28. └─data.table:::`[.data.table`(...)
── Error ('test_ArchiveBatchFSelect.R:226:3'): local ties method works when minimize measure ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3fselect::fselect(...) at test_ArchiveBatchFSelect.R:226:3
2. └─fselector$optimize(instance)
3. └─mlr3fselect:::.__FSelectorBatchFromOptimizerBatch__optimize(...)
4. └─private$.optimizer$optimize(inst)
5. └─bbotk:::.__OptimizerBatch__optimize(...)
6. └─bbotk::optimize_batch_default(inst, self)
7. ├─base::tryCatch(...)
8. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
9. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
10. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
11. └─get_private(optimizer)$.optimize(instance)
12. └─bbotk:::.__OptimizerBatchDesignPoints__.optimize(...)
13. └─instance$eval_batch(design[inds, ])
14. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
15. └─self$objective$eval_many(xss_trafoed)
16. └─bbotk:::.__Objective__eval_many(...)
17. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
18. │ └─base::eval.parent(expr, n = 1L)
19. │ └─base::eval(expr, p)
20. │ └─base::eval(expr, p)
21. └─private$.eval_many(xss = xss, resampling = `<list>`)
22. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
23. └─mlr3::benchmark(...)
24. └─ResultData$new(grid, data_extra, store_backends = store_backends)
25. └─mlr3 (local) initialize(...)
26. └─mlr3:::.__ResultData__initialize(...)
27. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
28. └─data.table:::`[.data.table`(...)
── Error ('test_ArchiveBatchFSelect.R:254:3'): local ties method works with batches ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3fselect::fselect(...) at test_ArchiveBatchFSelect.R:254:3
2. └─fselector$optimize(instance)
3. └─mlr3fselect:::.__FSelectorBatchFromOptimizerBatch__optimize(...)
4. └─private$.optimizer$optimize(inst)
5. └─bbotk:::.__OptimizerBatch__optimize(...)
6. └─bbotk::optimize_batch_default(inst, self)
7. ├─base::tryCatch(...)
8. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
9. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
10. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
11. └─get_private(optimizer)$.optimize(instance)
12. └─bbotk:::.__OptimizerBatchDesignPoints__.optimize(...)
13. └─instance$eval_batch(design[inds, ])
14. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
15. └─self$objective$eval_many(xss_trafoed)
16. └─bbotk:::.__Objective__eval_many(...)
17. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
18. │ └─base::eval.parent(expr, n = 1L)
19. │ └─base::eval(expr, p)
20. │ └─base::eval(expr, p)
21. └─private$.eval_many(xss = xss, resampling = `<list>`)
22. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
23. └─mlr3::benchmark(...)
24. └─ResultData$new(grid, data_extra, store_backends = store_backends)
25. └─mlr3 (local) initialize(...)
26. └─mlr3:::.__ResultData__initialize(...)
27. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
28. └─data.table:::`[.data.table`(...)
── Error ('test_AutoFSelector.R:137:3'): AutoFSelector works with GraphLearner ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─at$train(task) at test_AutoFSelector.R:137:3
2. └─mlr3:::.__Learner__train(...)
3. └─mlr3:::learner_train(...)
4. └─mlr3misc::encapsulate(...)
5. ├─mlr3misc::invoke(...)
6. │ └─base::eval.parent(expr, n = 1L)
7. │ └─base::eval(expr, p)
8. │ └─base::eval(expr, p)
9. └─mlr3 (local) .f(learner = `<S3: AutoFSelector>`, task = `<S3: TaskRegr>`)
10. └─get_private(learner)$.train(task)
11. └─mlr3fselect:::.__AutoFSelector__.train(...)
12. └─self$fselector$optimize(instance)
13. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
14. └─bbotk::optimize_batch_default(inst, self)
15. ├─base::tryCatch(...)
16. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
17. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
18. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
19. └─get_private(optimizer)$.optimize(instance)
20. └─mlr3fselect:::.__FSelectorBatchSequential__.optimize(...)
21. └─inst$eval_batch(states)
22. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
23. └─self$objective$eval_many(xss_trafoed)
24. └─bbotk:::.__Objective__eval_many(...)
25. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
26. │ └─base::eval.parent(expr, n = 1L)
27. │ └─base::eval(expr, p)
28. │ └─base::eval(expr, p)
29. └─private$.eval_many(xss = xss, resampling = `<list>`)
30. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
31. └─mlr3::benchmark(...)
32. └─ResultData$new(grid, data_extra, store_backends = store_backends)
33. └─mlr3 (local) initialize(...)
34. └─mlr3:::.__ResultData__initialize(...)
35. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
36. └─data.table:::`[.data.table`(...)
── Error ('test_AutoFSelector.R:166:3'): AutoFSelector get_base_learner method works ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─afs$train(tsk("pima")) at test_AutoFSelector.R:166:3
2. └─mlr3:::.__Learner__train(...)
3. └─mlr3:::learner_train(...)
4. └─mlr3misc::encapsulate(...)
5. ├─mlr3misc::invoke(...)
6. │ └─base::eval.parent(expr, n = 1L)
7. │ └─base::eval(expr, p)
8. │ └─base::eval(expr, p)
9. └─mlr3 (local) .f(learner = `<S3: AutoFSelector>`, task = `<S3: TaskClassif>`)
10. └─get_private(learner)$.train(task)
11. └─mlr3fselect:::.__AutoFSelector__.train(...)
12. └─self$fselector$optimize(instance)
13. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
14. └─bbotk::optimize_batch_default(inst, self)
15. ├─base::tryCatch(...)
16. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
17. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
18. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
19. └─get_private(optimizer)$.optimize(instance)
20. └─mlr3fselect:::.__FSelectorBatchRandomSearch__.optimize(...)
21. └─inst$eval_batch(as.data.table(X))
22. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
23. └─self$objective$eval_many(xss_trafoed)
24. └─bbotk:::.__Objective__eval_many(...)
25. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
26. │ └─base::eval.parent(expr, n = 1L)
27. │ └─base::eval(expr, p)
28. │ └─base::eval(expr, p)
29. └─private$.eval_many(xss = xss, resampling = `<list>`)
30. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
31. └─mlr3::benchmark(...)
32. └─ResultData$new(grid, data_extra, store_backends = store_backends)
33. └─mlr3 (local) initialize(...)
34. └─mlr3:::.__ResultData__initialize(...)
35. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
36. └─data.table:::`[.data.table`(...)
── Error ('test_AutoFSelector.R:211:3'): AutoFSelector hash works #647 in mlr3 ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3::benchmark(grid, store_models = TRUE) at test_AutoFSelector.R:211:3
2. └─mlr3:::future_map(...)
3. └─future.apply::future_mapply(...)
4. └─future.apply:::future_xapply(...)
5. └─base::tryCatch(...)
6. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. └─base (local) tryCatchOne(...)
8. └─value[[3L]](cond)
9. └─future.apply:::onError(e, futures = fs, debug = debug)
── Error ('test_FSelectInstanceMultiCrit.R:16:3'): eval_batch works ────────────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─inst$eval_batch(xdt) at test_FSelectInstanceMultiCrit.R:16:3
2. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
3. └─self$objective$eval_many(xss_trafoed)
4. └─bbotk:::.__Objective__eval_many(...)
5. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
6. │ └─base::eval.parent(expr, n = 1L)
7. │ └─base::eval(expr, p)
8. │ └─base::eval(expr, p)
9. └─private$.eval_many(xss = xss, resampling = `<list>`)
10. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
11. └─mlr3::benchmark(...)
12. └─ResultData$new(grid, data_extra, store_backends = store_backends)
13. └─mlr3 (local) initialize(...)
14. └─mlr3:::.__ResultData__initialize(...)
15. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
16. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectInstanceMultiCrit.R:29:3'): objective_function works ────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─inst$objective_function(c(1, 1, 0, 0)) at test_FSelectInstanceMultiCrit.R:29:3
2. └─bbotk:::.__OptimInstanceBatch__objective_function(...)
3. └─private$.objective_function(x, self, self$objective_multiplicator)
4. └─inst$eval_batch(xdt)
5. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
6. └─self$objective$eval_many(xss_trafoed)
7. └─bbotk:::.__Objective__eval_many(...)
8. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
9. │ └─base::eval.parent(expr, n = 1L)
10. │ └─base::eval(expr, p)
11. │ └─base::eval(expr, p)
12. └─private$.eval_many(xss = xss, resampling = `<list>`)
13. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
14. └─mlr3::benchmark(...)
15. └─ResultData$new(grid, data_extra, store_backends = store_backends)
16. └─mlr3 (local) initialize(...)
17. └─mlr3:::.__ResultData__initialize(...)
18. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
19. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectInstanceMultiCrit.R:37:3'): store_benchmark_result flag works ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─inst$eval_batch(xdt) at test_FSelectInstanceMultiCrit.R:37:3
2. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
3. └─self$objective$eval_many(xss_trafoed)
4. └─bbotk:::.__Objective__eval_many(...)
5. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
6. │ └─base::eval.parent(expr, n = 1L)
7. │ └─base::eval(expr, p)
8. │ └─base::eval(expr, p)
9. └─private$.eval_many(xss = xss, resampling = `<list>`)
10. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
11. └─mlr3::benchmark(...)
12. └─ResultData$new(grid, data_extra, store_backends = store_backends)
13. └─mlr3 (local) initialize(...)
14. └─mlr3:::.__ResultData__initialize(...)
15. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
16. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectInstanceSingleCrit.R:16:3'): eval_batch works ───────────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─inst$eval_batch(xdt) at test_FSelectInstanceSingleCrit.R:16:3
2. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
3. └─self$objective$eval_many(xss_trafoed)
4. └─bbotk:::.__Objective__eval_many(...)
5. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
6. │ └─base::eval.parent(expr, n = 1L)
7. │ └─base::eval(expr, p)
8. │ └─base::eval(expr, p)
9. └─private$.eval_many(xss = xss, resampling = `<list>`)
10. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
11. └─mlr3::benchmark(...)
12. └─ResultData$new(grid, data_extra, store_backends = store_backends)
13. └─mlr3 (local) initialize(...)
14. └─mlr3:::.__ResultData__initialize(...)
15. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
16. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectInstanceSingleCrit.R:40:3'): objective_function works ───
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─inst$objective_function(c(1, 1, 0, 0)) at test_FSelectInstanceSingleCrit.R:40:3
2. └─bbotk:::.__OptimInstanceBatch__objective_function(...)
3. └─private$.objective_function(x, self, self$objective_multiplicator)
4. └─inst$eval_batch(xdt)
5. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
6. └─self$objective$eval_many(xss_trafoed)
7. └─bbotk:::.__Objective__eval_many(...)
8. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
9. │ └─base::eval.parent(expr, n = 1L)
10. │ └─base::eval(expr, p)
11. │ └─base::eval(expr, p)
12. └─private$.eval_many(xss = xss, resampling = `<list>`)
13. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
14. └─mlr3::benchmark(...)
15. └─ResultData$new(grid, data_extra, store_backends = store_backends)
16. └─mlr3 (local) initialize(...)
17. └─mlr3:::.__ResultData__initialize(...)
18. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
19. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectInstanceSingleCrit.R:48:3'): store_benchmark_result flag works ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─inst$eval_batch(xdt) at test_FSelectInstanceSingleCrit.R:48:3
2. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
3. └─self$objective$eval_many(xss_trafoed)
4. └─bbotk:::.__Objective__eval_many(...)
5. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
6. │ └─base::eval.parent(expr, n = 1L)
7. │ └─base::eval(expr, p)
8. │ └─base::eval(expr, p)
9. └─private$.eval_many(xss = xss, resampling = `<list>`)
10. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
11. └─mlr3::benchmark(...)
12. └─ResultData$new(grid, data_extra, store_backends = store_backends)
13. └─mlr3 (local) initialize(...)
14. └─mlr3:::.__ResultData__initialize(...)
15. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
16. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectInstanceSingleCrit.R:77:3'): always include variable works ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3fselect::fselect(...) at test_FSelectInstanceSingleCrit.R:77:3
2. └─fselector$optimize(instance)
3. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
4. └─bbotk::optimize_batch_default(inst, self)
5. ├─base::tryCatch(...)
6. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
8. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
9. └─get_private(optimizer)$.optimize(instance)
10. └─mlr3fselect:::.__FSelectorBatchRandomSearch__.optimize(...)
11. └─inst$eval_batch(as.data.table(X))
12. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
13. └─self$objective$eval_many(xss_trafoed)
14. └─bbotk:::.__Objective__eval_many(...)
15. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
16. │ └─base::eval.parent(expr, n = 1L)
17. │ └─base::eval(expr, p)
18. │ └─base::eval(expr, p)
19. └─private$.eval_many(xss = xss, resampling = `<list>`)
20. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
21. └─mlr3::benchmark(...)
22. └─ResultData$new(grid, data_extra, store_backends = store_backends)
23. └─mlr3 (local) initialize(...)
24. └─mlr3:::.__ResultData__initialize(...)
25. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
26. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectInstanceSingleCrit.R:103:3'): always include variables works ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3fselect::fselect(...) at test_FSelectInstanceSingleCrit.R:103:3
2. └─fselector$optimize(instance)
3. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
4. └─bbotk::optimize_batch_default(inst, self)
5. ├─base::tryCatch(...)
6. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
8. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
9. └─get_private(optimizer)$.optimize(instance)
10. └─mlr3fselect:::.__FSelectorBatchRandomSearch__.optimize(...)
11. └─inst$eval_batch(as.data.table(X))
12. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
13. └─self$objective$eval_many(xss_trafoed)
14. └─bbotk:::.__Objective__eval_many(...)
15. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
16. │ └─base::eval.parent(expr, n = 1L)
17. │ └─base::eval(expr, p)
18. │ └─base::eval(expr, p)
19. └─private$.eval_many(xss = xss, resampling = `<list>`)
20. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
21. └─mlr3::benchmark(...)
22. └─ResultData$new(grid, data_extra, store_backends = store_backends)
23. └─mlr3 (local) initialize(...)
24. └─mlr3:::.__ResultData__initialize(...)
25. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
26. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectInstanceSingleCrit.R:131:3'): objective contains no benchmark results ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─fselector$optimize(instance) at test_FSelectInstanceSingleCrit.R:131:3
2. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
3. └─bbotk::optimize_batch_default(inst, self)
4. ├─base::tryCatch(...)
5. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
6. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
7. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
8. └─get_private(optimizer)$.optimize(instance)
9. └─mlr3fselect:::.__FSelectorBatchRandomSearch__.optimize(...)
10. └─inst$eval_batch(as.data.table(X))
11. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
12. └─self$objective$eval_many(xss_trafoed)
13. └─bbotk:::.__Objective__eval_many(...)
14. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
15. │ └─base::eval.parent(expr, n = 1L)
16. │ └─base::eval(expr, p)
17. │ └─base::eval(expr, p)
18. └─private$.eval_many(xss = xss, resampling = `<list>`)
19. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
20. └─mlr3::benchmark(...)
21. └─ResultData$new(grid, data_extra, store_backends = store_backends)
22. └─mlr3 (local) initialize(...)
23. └─mlr3:::.__ResultData__initialize(...)
24. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
25. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorBatchDesignPoints.R:8:3'): default parameters work ────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─global test_fselector("design_points", design = design) at test_FSelectorBatchDesignPoints.R:8:3
2. └─mlr3fselect::fselect(...)
3. └─fselector$optimize(instance)
4. └─mlr3fselect:::.__FSelectorBatchFromOptimizerBatch__optimize(...)
5. └─private$.optimizer$optimize(inst)
6. └─bbotk:::.__OptimizerBatch__optimize(...)
7. └─bbotk::optimize_batch_default(inst, self)
8. ├─base::tryCatch(...)
9. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
10. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
11. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
12. └─get_private(optimizer)$.optimize(instance)
13. └─bbotk:::.__OptimizerBatchDesignPoints__.optimize(...)
14. └─instance$eval_batch(design[inds, ])
15. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
16. └─self$objective$eval_many(xss_trafoed)
17. └─bbotk:::.__Objective__eval_many(...)
18. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
19. │ └─base::eval.parent(expr, n = 1L)
20. │ └─base::eval(expr, p)
21. │ └─base::eval(expr, p)
22. └─private$.eval_many(xss = xss, resampling = `<list>`)
23. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
24. └─mlr3::benchmark(...)
25. └─ResultData$new(grid, data_extra, store_backends = store_backends)
26. └─mlr3 (local) initialize(...)
27. └─mlr3:::.__ResultData__initialize(...)
28. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
29. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorBatchDesignPoints.R:20:3'): multi-crit works ──────────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─global test_fselector_2D("design_points", design = design) at test_FSelectorBatchDesignPoints.R:20:3
2. └─mlr3fselect::fselect(...)
3. └─fselector$optimize(instance)
4. └─mlr3fselect:::.__FSelectorBatchFromOptimizerBatch__optimize(...)
5. └─private$.optimizer$optimize(inst)
6. └─bbotk:::.__OptimizerBatch__optimize(...)
7. └─bbotk::optimize_batch_default(inst, self)
8. ├─base::tryCatch(...)
9. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
10. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
11. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
12. └─get_private(optimizer)$.optimize(instance)
13. └─bbotk:::.__OptimizerBatchDesignPoints__.optimize(...)
14. └─instance$eval_batch(design[inds, ])
15. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
16. └─self$objective$eval_many(xss_trafoed)
17. └─bbotk:::.__Objective__eval_many(...)
18. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
19. │ └─base::eval.parent(expr, n = 1L)
20. │ └─base::eval(expr, p)
21. │ └─base::eval(expr, p)
22. └─private$.eval_many(xss = xss, resampling = `<list>`)
23. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
24. └─mlr3::benchmark(...)
25. └─ResultData$new(grid, data_extra, store_backends = store_backends)
26. └─mlr3 (local) initialize(...)
27. └─mlr3:::.__ResultData__initialize(...)
28. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
29. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorExhaustiveSearch.R:2:3'): default parameters work ─────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─global test_fselector("exhaustive_search") at test_FSelectorExhaustiveSearch.R:2:3
2. └─mlr3fselect::fselect(...)
3. └─fselector$optimize(instance)
4. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
5. └─bbotk::optimize_batch_default(inst, self)
6. ├─base::tryCatch(...)
7. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
8. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
9. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
10. └─get_private(optimizer)$.optimize(instance)
11. └─mlr3fselect:::.__FSelectorBatchExhaustiveSearch__.optimize(...)
12. └─mlr3misc::walk(chunks, function(row_ids) inst$eval_batch(states[row_ids]))
13. └─mlr3fselect (local) .f(.xi, ...)
14. └─inst$eval_batch(states[row_ids])
15. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
16. └─self$objective$eval_many(xss_trafoed)
17. └─bbotk:::.__Objective__eval_many(...)
18. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
19. │ └─base::eval.parent(expr, n = 1L)
20. │ └─base::eval(expr, p)
21. │ └─base::eval(expr, p)
22. └─private$.eval_many(xss = xss, resampling = `<list>`)
23. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
24. └─mlr3::benchmark(...)
25. └─ResultData$new(grid, data_extra, store_backends = store_backends)
26. └─mlr3 (local) initialize(...)
27. └─mlr3:::.__ResultData__initialize(...)
28. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
29. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorExhaustiveSearch.R:14:3'): max_features parameter works ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─global test_fselector("exhaustive_search", max_features = 2) at test_FSelectorExhaustiveSearch.R:14:3
2. └─mlr3fselect::fselect(...)
3. └─fselector$optimize(instance)
4. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
5. └─bbotk::optimize_batch_default(inst, self)
6. ├─base::tryCatch(...)
7. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
8. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
9. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
10. └─get_private(optimizer)$.optimize(instance)
11. └─mlr3fselect:::.__FSelectorBatchExhaustiveSearch__.optimize(...)
12. └─mlr3misc::walk(chunks, function(row_ids) inst$eval_batch(states[row_ids]))
13. └─mlr3fselect (local) .f(.xi, ...)
14. └─inst$eval_batch(states[row_ids])
15. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
16. └─self$objective$eval_many(xss_trafoed)
17. └─bbotk:::.__Objective__eval_many(...)
18. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
19. │ └─base::eval.parent(expr, n = 1L)
20. │ └─base::eval(expr, p)
21. │ └─base::eval(expr, p)
22. └─private$.eval_many(xss = xss, resampling = `<list>`)
23. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
24. └─mlr3::benchmark(...)
25. └─ResultData$new(grid, data_extra, store_backends = store_backends)
26. └─mlr3 (local) initialize(...)
27. └─mlr3:::.__ResultData__initialize(...)
28. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
29. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorExhaustiveSearch.R:23:3'): multi-crit works ───────────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─global test_fselector_2D("exhaustive_search") at test_FSelectorExhaustiveSearch.R:23:3
2. └─mlr3fselect::fselect(...)
3. └─fselector$optimize(instance)
4. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
5. └─bbotk::optimize_batch_default(inst, self)
6. ├─base::tryCatch(...)
7. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
8. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
9. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
10. └─get_private(optimizer)$.optimize(instance)
11. └─mlr3fselect:::.__FSelectorBatchExhaustiveSearch__.optimize(...)
12. └─mlr3misc::walk(chunks, function(row_ids) inst$eval_batch(states[row_ids]))
13. └─mlr3fselect (local) .f(.xi, ...)
14. └─inst$eval_batch(states[row_ids])
15. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
16. └─self$objective$eval_many(xss_trafoed)
17. └─bbotk:::.__Objective__eval_many(...)
18. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
19. │ └─base::eval.parent(expr, n = 1L)
20. │ └─base::eval(expr, p)
21. │ └─base::eval(expr, p)
22. └─private$.eval_many(xss = xss, resampling = `<list>`)
23. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
24. └─mlr3::benchmark(...)
25. └─ResultData$new(grid, data_extra, store_backends = store_backends)
26. └─mlr3 (local) initialize(...)
27. └─mlr3:::.__ResultData__initialize(...)
28. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
29. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorExhaustiveSearch.R:27:3'): batch_size parameter works ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─global test_fselector("exhaustive_search", batch_size = 2) at test_FSelectorExhaustiveSearch.R:27:3
2. └─mlr3fselect::fselect(...)
3. └─fselector$optimize(instance)
4. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
5. └─bbotk::optimize_batch_default(inst, self)
6. ├─base::tryCatch(...)
7. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
8. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
9. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
10. └─get_private(optimizer)$.optimize(instance)
11. └─mlr3fselect:::.__FSelectorBatchExhaustiveSearch__.optimize(...)
12. └─mlr3misc::walk(chunks, function(row_ids) inst$eval_batch(states[row_ids]))
13. └─mlr3fselect (local) .f(.xi, ...)
14. └─inst$eval_batch(states[row_ids])
15. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
16. └─self$objective$eval_many(xss_trafoed)
17. └─bbotk:::.__Objective__eval_many(...)
18. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
19. │ └─base::eval.parent(expr, n = 1L)
20. │ └─base::eval(expr, p)
21. │ └─base::eval(expr, p)
22. └─private$.eval_many(xss = xss, resampling = `<list>`)
23. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
24. └─mlr3::benchmark(...)
25. └─ResultData$new(grid, data_extra, store_backends = store_backends)
26. └─mlr3 (local) initialize(...)
27. └─mlr3:::.__ResultData__initialize(...)
28. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
29. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorGeneticSearch.R:4:3'): default parameters work ────────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─global test_fselector("genetic_search", term_evals = 10) at test_FSelectorGeneticSearch.R:4:3
2. └─mlr3fselect::fselect(...)
3. └─fselector$optimize(instance)
4. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
5. └─bbotk::optimize_batch_default(inst, self)
6. ├─base::tryCatch(...)
7. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
8. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
9. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
10. └─get_private(optimizer)$.optimize(instance)
11. └─mlr3fselect:::.__FSelectorBatchGeneticSearch__.optimize(...)
12. ├─mlr3misc::invoke(...)
13. │ └─base::eval.parent(expr, n = 1L)
14. │ └─base::eval(expr, p)
15. │ └─base::eval(expr, p)
16. └─genalg::rbga.bin(...)
17. └─bbotk (local) evalFunc(population[object, ])
18. └─bbotk:::.__OptimInstanceBatch__objective_function(...)
19. └─private$.objective_function(x, self, self$objective_multiplicator)
20. └─inst$eval_batch(xdt)
21. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
22. └─self$objective$eval_many(xss_trafoed)
23. └─bbotk:::.__Objective__eval_many(...)
24. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
25. │ └─base::eval.parent(expr, n = 1L)
26. │ └─base::eval(expr, p)
27. │ └─base::eval(expr, p)
28. └─private$.eval_many(xss = xss, resampling = `<list>`)
29. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
30. └─mlr3::benchmark(...)
31. └─ResultData$new(grid, data_extra, store_backends = store_backends)
32. └─mlr3 (local) initialize(...)
33. └─mlr3:::.__ResultData__initialize(...)
34. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
35. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorRFE.R:2:3'): importance is stored in the archive ──────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─global test_fselector("rfe", store_models = TRUE) at test_FSelectorRFE.R:2:3
2. └─mlr3fselect::fselect(...)
3. └─fselector$optimize(instance)
4. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
5. └─bbotk::optimize_batch_default(inst, self)
6. ├─base::tryCatch(...)
7. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
8. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
9. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
10. └─get_private(optimizer)$.optimize(instance)
11. └─mlr3fselect:::.__FSelectorBatchRFE__.optimize(...)
12. └─mlr3fselect:::rfe_workhorse(inst, subsets, recursive, aggregation)
13. └─inst$eval_batch(states)
14. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
15. └─self$objective$eval_many(xss_trafoed)
16. └─bbotk:::.__Objective__eval_many(...)
17. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
18. │ └─base::eval.parent(expr, n = 1L)
19. │ └─base::eval(expr, p)
20. │ └─base::eval(expr, p)
21. └─private$.eval_many(xss = xss, resampling = `<list>`)
22. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
23. └─mlr3::benchmark(...)
24. └─ResultData$new(grid, data_extra, store_backends = store_backends)
25. └─mlr3 (local) initialize(...)
26. └─mlr3:::.__ResultData__initialize(...)
27. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
28. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorRFE.R:11:3'): default parameters work ─────────────────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─global test_fselector("rfe", store_models = TRUE) at test_FSelectorRFE.R:11:3
2. └─mlr3fselect::fselect(...)
3. └─fselector$optimize(instance)
4. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
5. └─bbotk::optimize_batch_default(inst, self)
6. ├─base::tryCatch(...)
7. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
8. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
9. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
10. └─get_private(optimizer)$.optimize(instance)
11. └─mlr3fselect:::.__FSelectorBatchRFE__.optimize(...)
12. └─mlr3fselect:::rfe_workhorse(inst, subsets, recursive, aggregation)
13. └─inst$eval_batch(states)
14. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
15. └─self$objective$eval_many(xss_trafoed)
16. └─bbotk:::.__Objective__eval_many(...)
17. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
18. │ └─base::eval.parent(expr, n = 1L)
19. │ └─base::eval(expr, p)
20. │ └─base::eval(expr, p)
21. └─private$.eval_many(xss = xss, resampling = `<list>`)
22. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
23. └─mlr3::benchmark(...)
24. └─ResultData$new(grid, data_extra, store_backends = store_backends)
25. └─mlr3 (local) initialize(...)
26. └─mlr3:::.__ResultData__initialize(...)
27. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
28. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorRFE.R:18:3'): recursive parameter works ───────────────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─global test_fselector("rfe", recursive = FALSE, store_models = TRUE) at test_FSelectorRFE.R:18:3
2. └─mlr3fselect::fselect(...)
3. └─fselector$optimize(instance)
4. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
5. └─bbotk::optimize_batch_default(inst, self)
6. ├─base::tryCatch(...)
7. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
8. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
9. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
10. └─get_private(optimizer)$.optimize(instance)
11. └─mlr3fselect:::.__FSelectorBatchRFE__.optimize(...)
12. └─mlr3fselect:::rfe_workhorse(inst, subsets, recursive, aggregation)
13. └─inst$eval_batch(states)
14. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
15. └─self$objective$eval_many(xss_trafoed)
16. └─bbotk:::.__Objective__eval_many(...)
17. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
18. │ └─base::eval.parent(expr, n = 1L)
19. │ └─base::eval(expr, p)
20. │ └─base::eval(expr, p)
21. └─private$.eval_many(xss = xss, resampling = `<list>`)
22. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
23. └─mlr3::benchmark(...)
24. └─ResultData$new(grid, data_extra, store_backends = store_backends)
25. └─mlr3 (local) initialize(...)
26. └─mlr3:::.__ResultData__initialize(...)
27. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
28. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorRFE.R:27:3'): feature_fraction parameter works ────────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─global test_fselector("rfe", feature_fraction = 0.9, store_models = TRUE) at test_FSelectorRFE.R:27:3
2. └─mlr3fselect::fselect(...)
3. └─fselector$optimize(instance)
4. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
5. └─bbotk::optimize_batch_default(inst, self)
6. ├─base::tryCatch(...)
7. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
8. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
9. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
10. └─get_private(optimizer)$.optimize(instance)
11. └─mlr3fselect:::.__FSelectorBatchRFE__.optimize(...)
12. └─mlr3fselect:::rfe_workhorse(inst, subsets, recursive, aggregation)
13. └─inst$eval_batch(states)
14. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
15. └─self$objective$eval_many(xss_trafoed)
16. └─bbotk:::.__Objective__eval_many(...)
17. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
18. │ └─base::eval.parent(expr, n = 1L)
19. │ └─base::eval(expr, p)
20. │ └─base::eval(expr, p)
21. └─private$.eval_many(xss = xss, resampling = `<list>`)
22. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
23. └─mlr3::benchmark(...)
24. └─ResultData$new(grid, data_extra, store_backends = store_backends)
25. └─mlr3 (local) initialize(...)
26. └─mlr3:::.__ResultData__initialize(...)
27. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
28. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorRFE.R:49:3'): feature_number parameter works ──────────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─global test_fselector("rfe", feature_number = 1, store_models = TRUE) at test_FSelectorRFE.R:49:3
2. └─mlr3fselect::fselect(...)
3. └─fselector$optimize(instance)
4. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
5. └─bbotk::optimize_batch_default(inst, self)
6. ├─base::tryCatch(...)
7. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
8. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
9. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
10. └─get_private(optimizer)$.optimize(instance)
11. └─mlr3fselect:::.__FSelectorBatchRFE__.optimize(...)
12. └─mlr3fselect:::rfe_workhorse(inst, subsets, recursive, aggregation)
13. └─inst$eval_batch(states)
14. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
15. └─self$objective$eval_many(xss_trafoed)
16. └─bbotk:::.__Objective__eval_many(...)
17. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
18. │ └─base::eval.parent(expr, n = 1L)
19. │ └─base::eval(expr, p)
20. │ └─base::eval(expr, p)
21. └─private$.eval_many(xss = xss, resampling = `<list>`)
22. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
23. └─mlr3::benchmark(...)
24. └─ResultData$new(grid, data_extra, store_backends = store_backends)
25. └─mlr3 (local) initialize(...)
26. └─mlr3:::.__ResultData__initialize(...)
27. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
28. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorRFE.R:63:3'): subset_size parameter works ─────────────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─global test_fselector("rfe", subset_sizes = c(3L, 1L), store_models = TRUE) at test_FSelectorRFE.R:63:3
2. └─mlr3fselect::fselect(...)
3. └─fselector$optimize(instance)
4. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
5. └─bbotk::optimize_batch_default(inst, self)
6. ├─base::tryCatch(...)
7. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
8. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
9. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
10. └─get_private(optimizer)$.optimize(instance)
11. └─mlr3fselect:::.__FSelectorBatchRFE__.optimize(...)
12. └─mlr3fselect:::rfe_workhorse(inst, subsets, recursive, aggregation)
13. └─inst$eval_batch(states)
14. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
15. └─self$objective$eval_many(xss_trafoed)
16. └─bbotk:::.__Objective__eval_many(...)
17. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
18. │ └─base::eval.parent(expr, n = 1L)
19. │ └─base::eval(expr, p)
20. │ └─base::eval(expr, p)
21. └─private$.eval_many(xss = xss, resampling = `<list>`)
22. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
23. └─mlr3::benchmark(...)
24. └─ResultData$new(grid, data_extra, store_backends = store_backends)
25. └─mlr3 (local) initialize(...)
26. └─mlr3:::.__ResultData__initialize(...)
27. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
28. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorRFE.R:83:3'): subset is full feature set works ────────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─global test_fselector("rfe", feature_number = 4, store_models = TRUE) at test_FSelectorRFE.R:83:3
2. └─mlr3fselect::fselect(...)
3. └─fselector$optimize(instance)
4. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
5. └─bbotk::optimize_batch_default(inst, self)
6. ├─base::tryCatch(...)
7. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
8. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
9. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
10. └─get_private(optimizer)$.optimize(instance)
11. └─mlr3fselect:::.__FSelectorBatchRFE__.optimize(...)
12. └─mlr3fselect:::rfe_workhorse(inst, subsets, recursive, aggregation)
13. └─inst$eval_batch(states)
14. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
15. └─self$objective$eval_many(xss_trafoed)
16. └─bbotk:::.__Objective__eval_many(...)
17. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
18. │ └─base::eval.parent(expr, n = 1L)
19. │ └─base::eval(expr, p)
20. │ └─base::eval(expr, p)
21. └─private$.eval_many(xss = xss, resampling = `<list>`)
22. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
23. └─mlr3::benchmark(...)
24. └─ResultData$new(grid, data_extra, store_backends = store_backends)
25. └─mlr3 (local) initialize(...)
26. └─mlr3:::.__ResultData__initialize(...)
27. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
28. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorRFE.R:131:3'): rank_importance function works ─────────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3::resample(task, learner, rsmp("cv", folds = 3), store_models = TRUE) at test_FSelectorRFE.R:131:3
2. └─ResultData$new(data, data_extra, store_backends = store_backends)
3. └─mlr3 (local) initialize(...)
4. └─mlr3:::.__ResultData__initialize(...)
5. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
6. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorRFE.R:142:3'): average_importance function works ──────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3::resample(task, learner, rsmp("cv", folds = 3), store_models = TRUE) at test_FSelectorRFE.R:142:3
2. └─ResultData$new(data, data_extra, store_backends = store_backends)
3. └─mlr3 (local) initialize(...)
4. └─mlr3:::.__ResultData__initialize(...)
5. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
6. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorRFE.R:154:3'): works without storing models ───────────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3fselect::fselect(...) at test_FSelectorRFE.R:154:3
2. └─fselector$optimize(instance)
3. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
4. └─bbotk::optimize_batch_default(inst, self)
5. ├─base::tryCatch(...)
6. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
8. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
9. └─get_private(optimizer)$.optimize(instance)
10. └─mlr3fselect:::.__FSelectorBatchRFE__.optimize(...)
11. └─mlr3fselect:::rfe_workhorse(inst, subsets, recursive, aggregation)
12. └─inst$eval_batch(states)
13. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
14. └─self$objective$eval_many(xss_trafoed)
15. └─bbotk:::.__Objective__eval_many(...)
16. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
17. │ └─base::eval.parent(expr, n = 1L)
18. │ └─base::eval(expr, p)
19. │ └─base::eval(expr, p)
20. └─private$.eval_many(xss = xss, resampling = `<list>`)
21. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
22. └─mlr3::benchmark(...)
23. └─ResultData$new(grid, data_extra, store_backends = store_backends)
24. └─mlr3 (local) initialize(...)
25. └─mlr3:::.__ResultData__initialize(...)
26. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
27. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorRFE.R:233:3'): optimal features are selected with rank ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─optimizer$optimize(instance) at test_FSelectorRFE.R:233:3
2. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
3. └─bbotk::optimize_batch_default(inst, self)
4. ├─base::tryCatch(...)
5. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
6. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
7. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
8. └─get_private(optimizer)$.optimize(instance)
9. └─mlr3fselect:::.__FSelectorBatchRFE__.optimize(...)
10. └─mlr3fselect:::rfe_workhorse(inst, subsets, recursive, aggregation)
11. └─inst$eval_batch(states)
12. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
13. └─self$objective$eval_many(xss_trafoed)
14. └─bbotk:::.__Objective__eval_many(...)
15. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
16. │ └─base::eval.parent(expr, n = 1L)
17. │ └─base::eval(expr, p)
18. │ └─base::eval(expr, p)
19. └─private$.eval_many(xss = xss, resampling = `<list>`)
20. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
21. └─mlr3::benchmark(...)
22. └─ResultData$new(grid, data_extra, store_backends = store_backends)
23. └─mlr3 (local) initialize(...)
24. └─mlr3:::.__ResultData__initialize(...)
25. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
26. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorRFE.R:290:3'): optimal features are selected with mean ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─optimizer$optimize(instance) at test_FSelectorRFE.R:290:3
2. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
3. └─bbotk::optimize_batch_default(inst, self)
4. ├─base::tryCatch(...)
5. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
6. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
7. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
8. └─get_private(optimizer)$.optimize(instance)
9. └─mlr3fselect:::.__FSelectorBatchRFE__.optimize(...)
10. └─mlr3fselect:::rfe_workhorse(inst, subsets, recursive, aggregation)
11. └─inst$eval_batch(states)
12. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
13. └─self$objective$eval_many(xss_trafoed)
14. └─bbotk:::.__Objective__eval_many(...)
15. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
16. │ └─base::eval.parent(expr, n = 1L)
17. │ └─base::eval(expr, p)
18. │ └─base::eval(expr, p)
19. └─private$.eval_many(xss = xss, resampling = `<list>`)
20. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
21. └─mlr3::benchmark(...)
22. └─ResultData$new(grid, data_extra, store_backends = store_backends)
23. └─mlr3 (local) initialize(...)
24. └─mlr3:::.__ResultData__initialize(...)
25. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
26. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorRFECV.R:12:3'): extra columns are stored in the archive ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─optimizer$optimize(instance) at test_FSelectorRFECV.R:12:3
2. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
3. └─bbotk::optimize_batch_default(inst, self)
4. ├─base::tryCatch(...)
5. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
6. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
7. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
8. └─get_private(optimizer)$.optimize(instance)
9. └─mlr3fselect:::.__FSelectorBatchRFECV__.optimize(...)
10. └─mlr3fselect:::rfe_workhorse(inst, subsets, recursive, folds = resampling_cv$iters)
11. └─inst$eval_batch(states)
12. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
13. └─self$objective$eval_many(xss_trafoed)
14. └─bbotk:::.__Objective__eval_many(...)
15. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
16. │ └─base::eval.parent(expr, n = 1L)
17. │ └─base::eval(expr, p)
18. │ └─base::eval(expr, p)
19. └─private$.eval_many(xss = xss, resampling = `<list>`)
20. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
21. └─mlr3::benchmark(...)
22. └─ResultData$new(grid, data_extra, store_backends = store_backends)
23. └─mlr3 (local) initialize(...)
24. └─mlr3:::.__ResultData__initialize(...)
25. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
26. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorRFECV.R:32:3'): resampling is converted ───────────────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─optimizer$optimize(instance) at test_FSelectorRFECV.R:32:3
2. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
3. └─bbotk::optimize_batch_default(inst, self)
4. ├─base::tryCatch(...)
5. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
6. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
7. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
8. └─get_private(optimizer)$.optimize(instance)
9. └─mlr3fselect:::.__FSelectorBatchRFECV__.optimize(...)
10. └─mlr3fselect:::rfe_workhorse(inst, subsets, recursive, folds = resampling_cv$iters)
11. └─inst$eval_batch(states)
12. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
13. └─self$objective$eval_many(xss_trafoed)
14. └─bbotk:::.__Objective__eval_many(...)
15. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
16. │ └─base::eval.parent(expr, n = 1L)
17. │ └─base::eval(expr, p)
18. │ └─base::eval(expr, p)
19. └─private$.eval_many(xss = xss, resampling = `<list>`)
20. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
21. └─mlr3::benchmark(...)
22. └─ResultData$new(grid, data_extra, store_backends = store_backends)
23. └─mlr3 (local) initialize(...)
24. └─mlr3:::.__ResultData__initialize(...)
25. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
26. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorRFECV.R:61:3'): default parameters work ───────────────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─optimizer$optimize(instance) at test_FSelectorRFECV.R:61:3
2. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
3. └─bbotk::optimize_batch_default(inst, self)
4. ├─base::tryCatch(...)
5. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
6. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
7. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
8. └─get_private(optimizer)$.optimize(instance)
9. └─mlr3fselect:::.__FSelectorBatchRFECV__.optimize(...)
10. └─mlr3fselect:::rfe_workhorse(inst, subsets, recursive, folds = resampling_cv$iters)
11. └─inst$eval_batch(states)
12. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
13. └─self$objective$eval_many(xss_trafoed)
14. └─bbotk:::.__Objective__eval_many(...)
15. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
16. │ └─base::eval.parent(expr, n = 1L)
17. │ └─base::eval(expr, p)
18. │ └─base::eval(expr, p)
19. └─private$.eval_many(xss = xss, resampling = `<list>`)
20. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
21. └─mlr3::benchmark(...)
22. └─ResultData$new(grid, data_extra, store_backends = store_backends)
23. └─mlr3 (local) initialize(...)
24. └─mlr3:::.__ResultData__initialize(...)
25. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
26. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorRFECV.R:118:3'): optimal features are selected ────────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─optimizer$optimize(instance) at test_FSelectorRFECV.R:118:3
2. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
3. └─bbotk::optimize_batch_default(inst, self)
4. ├─base::tryCatch(...)
5. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
6. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
7. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
8. └─get_private(optimizer)$.optimize(instance)
9. └─mlr3fselect:::.__FSelectorBatchRFECV__.optimize(...)
10. └─mlr3fselect:::rfe_workhorse(inst, subsets, recursive, folds = resampling_cv$iters)
11. └─inst$eval_batch(states)
12. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
13. └─self$objective$eval_many(xss_trafoed)
14. └─bbotk:::.__Objective__eval_many(...)
15. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
16. │ └─base::eval.parent(expr, n = 1L)
17. │ └─base::eval(expr, p)
18. │ └─base::eval(expr, p)
19. └─private$.eval_many(xss = xss, resampling = `<list>`)
20. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
21. └─mlr3::benchmark(...)
22. └─ResultData$new(grid, data_extra, store_backends = store_backends)
23. └─mlr3 (local) initialize(...)
24. └─mlr3:::.__ResultData__initialize(...)
25. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
26. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorRandomSearch.R:2:3'): default parameters work ─────────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─global test_fselector("random_search", batch_size = 5, term_evals = 10) at test_FSelectorRandomSearch.R:2:3
2. └─mlr3fselect::fselect(...)
3. └─fselector$optimize(instance)
4. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
5. └─bbotk::optimize_batch_default(inst, self)
6. ├─base::tryCatch(...)
7. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
8. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
9. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
10. └─get_private(optimizer)$.optimize(instance)
11. └─mlr3fselect:::.__FSelectorBatchRandomSearch__.optimize(...)
12. └─inst$eval_batch(as.data.table(X))
13. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
14. └─self$objective$eval_many(xss_trafoed)
15. └─bbotk:::.__Objective__eval_many(...)
16. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
17. │ └─base::eval.parent(expr, n = 1L)
18. │ └─base::eval(expr, p)
19. │ └─base::eval(expr, p)
20. └─private$.eval_many(xss = xss, resampling = `<list>`)
21. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
22. └─mlr3::benchmark(...)
23. └─ResultData$new(grid, data_extra, store_backends = store_backends)
24. └─mlr3 (local) initialize(...)
25. └─mlr3:::.__ResultData__initialize(...)
26. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
27. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorRandomSearch.R:6:3'): max_features parameter work ─────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─global test_fselector("random_search", max_features = 1, term_evals = 10) at test_FSelectorRandomSearch.R:6:3
2. └─mlr3fselect::fselect(...)
3. └─fselector$optimize(instance)
4. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
5. └─bbotk::optimize_batch_default(inst, self)
6. ├─base::tryCatch(...)
7. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
8. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
9. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
10. └─get_private(optimizer)$.optimize(instance)
11. └─mlr3fselect:::.__FSelectorBatchRandomSearch__.optimize(...)
12. └─inst$eval_batch(as.data.table(X))
13. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
14. └─self$objective$eval_many(xss_trafoed)
15. └─bbotk:::.__Objective__eval_many(...)
16. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
17. │ └─base::eval.parent(expr, n = 1L)
18. │ └─base::eval(expr, p)
19. │ └─base::eval(expr, p)
20. └─private$.eval_many(xss = xss, resampling = `<list>`)
21. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
22. └─mlr3::benchmark(...)
23. └─ResultData$new(grid, data_extra, store_backends = store_backends)
24. └─mlr3 (local) initialize(...)
25. └─mlr3:::.__ResultData__initialize(...)
26. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
27. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorRandomSearch.R:12:3'): multi-crit works ───────────────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─global test_fselector_2D("random_search", batch_size = 5, term_evals = 10) at test_FSelectorRandomSearch.R:12:3
2. └─mlr3fselect::fselect(...)
3. └─fselector$optimize(instance)
4. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
5. └─bbotk::optimize_batch_default(inst, self)
6. ├─base::tryCatch(...)
7. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
8. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
9. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
10. └─get_private(optimizer)$.optimize(instance)
11. └─mlr3fselect:::.__FSelectorBatchRandomSearch__.optimize(...)
12. └─inst$eval_batch(as.data.table(X))
13. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
14. └─self$objective$eval_many(xss_trafoed)
15. └─bbotk:::.__Objective__eval_many(...)
16. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
17. │ └─base::eval.parent(expr, n = 1L)
18. │ └─base::eval(expr, p)
19. │ └─base::eval(expr, p)
20. └─private$.eval_many(xss = xss, resampling = `<list>`)
21. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
22. └─mlr3::benchmark(...)
23. └─ResultData$new(grid, data_extra, store_backends = store_backends)
24. └─mlr3 (local) initialize(...)
25. └─mlr3:::.__ResultData__initialize(...)
26. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
27. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorSequential.R:2:3'): default parameters works ──────────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─global test_fselector("sequential") at test_FSelectorSequential.R:2:3
2. └─mlr3fselect::fselect(...)
3. └─fselector$optimize(instance)
4. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
5. └─bbotk::optimize_batch_default(inst, self)
6. ├─base::tryCatch(...)
7. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
8. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
9. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
10. └─get_private(optimizer)$.optimize(instance)
11. └─mlr3fselect:::.__FSelectorBatchSequential__.optimize(...)
12. └─inst$eval_batch(states)
13. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
14. └─self$objective$eval_many(xss_trafoed)
15. └─bbotk:::.__Objective__eval_many(...)
16. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
17. │ └─base::eval.parent(expr, n = 1L)
18. │ └─base::eval(expr, p)
19. │ └─base::eval(expr, p)
20. └─private$.eval_many(xss = xss, resampling = `<list>`)
21. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
22. └─mlr3::benchmark(...)
23. └─ResultData$new(grid, data_extra, store_backends = store_backends)
24. └─mlr3 (local) initialize(...)
25. └─mlr3:::.__ResultData__initialize(...)
26. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
27. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorSequential.R:11:3'): sbs strategy works ───────────────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─global test_fselector("sequential", strategy = "sbs") at test_FSelectorSequential.R:11:3
2. └─mlr3fselect::fselect(...)
3. └─fselector$optimize(instance)
4. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
5. └─bbotk::optimize_batch_default(inst, self)
6. ├─base::tryCatch(...)
7. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
8. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
9. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
10. └─get_private(optimizer)$.optimize(instance)
11. └─mlr3fselect:::.__FSelectorBatchSequential__.optimize(...)
12. └─inst$eval_batch(states)
13. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
14. └─self$objective$eval_many(xss_trafoed)
15. └─bbotk:::.__Objective__eval_many(...)
16. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
17. │ └─base::eval.parent(expr, n = 1L)
18. │ └─base::eval(expr, p)
19. │ └─base::eval(expr, p)
20. └─private$.eval_many(xss = xss, resampling = `<list>`)
21. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
22. └─mlr3::benchmark(...)
23. └─ResultData$new(grid, data_extra, store_backends = store_backends)
24. └─mlr3 (local) initialize(...)
25. └─mlr3:::.__ResultData__initialize(...)
26. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
27. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorSequential.R:20:3'): sfs strategy works with max_features parameter ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─global test_fselector("sequential", max_features = 2) at test_FSelectorSequential.R:20:3
2. └─mlr3fselect::fselect(...)
3. └─fselector$optimize(instance)
4. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
5. └─bbotk::optimize_batch_default(inst, self)
6. ├─base::tryCatch(...)
7. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
8. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
9. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
10. └─get_private(optimizer)$.optimize(instance)
11. └─mlr3fselect:::.__FSelectorBatchSequential__.optimize(...)
12. └─inst$eval_batch(states)
13. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
14. └─self$objective$eval_many(xss_trafoed)
15. └─bbotk:::.__Objective__eval_many(...)
16. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
17. │ └─base::eval.parent(expr, n = 1L)
18. │ └─base::eval(expr, p)
19. │ └─base::eval(expr, p)
20. └─private$.eval_many(xss = xss, resampling = `<list>`)
21. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
22. └─mlr3::benchmark(...)
23. └─ResultData$new(grid, data_extra, store_backends = store_backends)
24. └─mlr3 (local) initialize(...)
25. └─mlr3:::.__ResultData__initialize(...)
26. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
27. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorSequential.R:26:3'): sbs strategy works with max_features parameter ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─global test_fselector("sequential", max_features = 2, strategy = "sbs") at test_FSelectorSequential.R:26:3
2. └─mlr3fselect::fselect(...)
3. └─fselector$optimize(instance)
4. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
5. └─bbotk::optimize_batch_default(inst, self)
6. ├─base::tryCatch(...)
7. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
8. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
9. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
10. └─get_private(optimizer)$.optimize(instance)
11. └─mlr3fselect:::.__FSelectorBatchSequential__.optimize(...)
12. └─inst$eval_batch(states)
13. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
14. └─self$objective$eval_many(xss_trafoed)
15. └─bbotk:::.__Objective__eval_many(...)
16. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
17. │ └─base::eval.parent(expr, n = 1L)
18. │ └─base::eval(expr, p)
19. │ └─base::eval(expr, p)
20. └─private$.eval_many(xss = xss, resampling = `<list>`)
21. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
22. └─mlr3::benchmark(...)
23. └─ResultData$new(grid, data_extra, store_backends = store_backends)
24. └─mlr3 (local) initialize(...)
25. └─mlr3:::.__ResultData__initialize(...)
26. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
27. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorSequential.R:32:3'): optimization_path method works ───
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─global test_fselector("sequential") at test_FSelectorSequential.R:32:3
2. └─mlr3fselect::fselect(...)
3. └─fselector$optimize(instance)
4. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
5. └─bbotk::optimize_batch_default(inst, self)
6. ├─base::tryCatch(...)
7. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
8. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
9. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
10. └─get_private(optimizer)$.optimize(instance)
11. └─mlr3fselect:::.__FSelectorBatchSequential__.optimize(...)
12. └─inst$eval_batch(states)
13. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
14. └─self$objective$eval_many(xss_trafoed)
15. └─bbotk:::.__Objective__eval_many(...)
16. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
17. │ └─base::eval.parent(expr, n = 1L)
18. │ └─base::eval(expr, p)
19. │ └─base::eval(expr, p)
20. └─private$.eval_many(xss = xss, resampling = `<list>`)
21. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
22. └─mlr3::benchmark(...)
23. └─ResultData$new(grid, data_extra, store_backends = store_backends)
24. └─mlr3 (local) initialize(...)
25. └─mlr3:::.__ResultData__initialize(...)
26. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
27. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorSequential.R:39:3'): optimization_path method works with included uhash ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─global test_fselector("sequential") at test_FSelectorSequential.R:39:3
2. └─mlr3fselect::fselect(...)
3. └─fselector$optimize(instance)
4. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
5. └─bbotk::optimize_batch_default(inst, self)
6. ├─base::tryCatch(...)
7. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
8. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
9. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
10. └─get_private(optimizer)$.optimize(instance)
11. └─mlr3fselect:::.__FSelectorBatchSequential__.optimize(...)
12. └─inst$eval_batch(states)
13. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
14. └─self$objective$eval_many(xss_trafoed)
15. └─bbotk:::.__Objective__eval_many(...)
16. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
17. │ └─base::eval.parent(expr, n = 1L)
18. │ └─base::eval(expr, p)
19. │ └─base::eval(expr, p)
20. └─private$.eval_many(xss = xss, resampling = `<list>`)
21. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
22. └─mlr3::benchmark(...)
23. └─ResultData$new(grid, data_extra, store_backends = store_backends)
24. └─mlr3 (local) initialize(...)
25. └─mlr3:::.__ResultData__initialize(...)
26. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
27. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorShadowVariableSearch.R:2:3'): default parameters work ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─global test_fselector("shadow_variable_search", store_models = TRUE) at test_FSelectorShadowVariableSearch.R:2:3
2. └─mlr3fselect::fselect(...)
3. └─fselector$optimize(instance)
4. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
5. └─bbotk::optimize_batch_default(inst, self)
6. ├─base::tryCatch(...)
7. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
8. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
9. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
10. └─get_private(optimizer)$.optimize(instance)
11. └─mlr3fselect:::.__FSelectorBatchShadowVariableSearch__.optimize(...)
12. └─inst$eval_batch(states)
13. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
14. └─self$objective$eval_many(xss_trafoed)
15. └─bbotk:::.__Objective__eval_many(...)
16. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
17. │ └─base::eval.parent(expr, n = 1L)
18. │ └─base::eval(expr, p)
19. │ └─base::eval(expr, p)
20. └─private$.eval_many(xss = xss, resampling = `<list>`)
21. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
22. └─mlr3::benchmark(...)
23. └─ResultData$new(grid, data_extra, store_backends = store_backends)
24. └─mlr3 (local) initialize(...)
25. └─mlr3:::.__ResultData__initialize(...)
26. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
27. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorShadowVariableSearch.R:14:3'): task is permuted ───────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─fselector$optimize(instance) at test_FSelectorShadowVariableSearch.R:14:3
2. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
3. └─bbotk::optimize_batch_default(inst, self)
4. ├─base::tryCatch(...)
5. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
6. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
7. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
8. └─get_private(optimizer)$.optimize(instance)
9. └─mlr3fselect:::.__FSelectorBatchShadowVariableSearch__.optimize(...)
10. └─inst$eval_batch(states)
11. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
12. └─self$objective$eval_many(xss_trafoed)
13. └─bbotk:::.__Objective__eval_many(...)
14. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
15. │ └─base::eval.parent(expr, n = 1L)
16. │ └─base::eval(expr, p)
17. │ └─base::eval(expr, p)
18. └─private$.eval_many(xss = xss, resampling = `<list>`)
19. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
20. └─mlr3::benchmark(...)
21. └─ResultData$new(grid, data_extra, store_backends = store_backends)
22. └─mlr3 (local) initialize(...)
23. └─mlr3:::.__ResultData__initialize(...)
24. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
25. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorShadowVariableSearch.R:26:3'): first selected feature is a shadow variable works ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. ├─testthat::expect_error(fselector$optimize(instance), regexp = "The first selected feature is a shadow variable.") at test_FSelectorShadowVariableSearch.R:26: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. └─fselector$optimize(instance)
8. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
9. └─bbotk::optimize_batch_default(inst, self)
10. ├─base::tryCatch(...)
11. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
12. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
13. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
14. └─get_private(optimizer)$.optimize(instance)
15. └─mlr3fselect:::.__FSelectorBatchShadowVariableSearch__.optimize(...)
16. └─inst$eval_batch(states)
17. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
18. └─self$objective$eval_many(xss_trafoed)
19. └─bbotk:::.__Objective__eval_many(...)
20. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
21. │ └─base::eval.parent(expr, n = 1L)
22. │ └─base::eval(expr, p)
23. │ └─base::eval(expr, p)
24. └─private$.eval_many(xss = xss, resampling = `<list>`)
25. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
26. └─mlr3::benchmark(...)
27. └─ResultData$new(grid, data_extra, store_backends = store_backends)
28. └─mlr3 (local) initialize(...)
29. └─mlr3:::.__ResultData__initialize(...)
30. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
31. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorShadowVariableSearch.R:35:3'): second selected feature is a shadow variable works ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─fselector$optimize(instance) at test_FSelectorShadowVariableSearch.R:35:3
2. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
3. └─bbotk::optimize_batch_default(inst, self)
4. ├─base::tryCatch(...)
5. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
6. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
7. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
8. └─get_private(optimizer)$.optimize(instance)
9. └─mlr3fselect:::.__FSelectorBatchShadowVariableSearch__.optimize(...)
10. └─inst$eval_batch(states)
11. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
12. └─self$objective$eval_many(xss_trafoed)
13. └─bbotk:::.__Objective__eval_many(...)
14. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
15. │ └─base::eval.parent(expr, n = 1L)
16. │ └─base::eval(expr, p)
17. │ └─base::eval(expr, p)
18. └─private$.eval_many(xss = xss, resampling = `<list>`)
19. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
20. └─mlr3::benchmark(...)
21. └─ResultData$new(grid, data_extra, store_backends = store_backends)
22. └─mlr3 (local) initialize(...)
23. └─mlr3:::.__ResultData__initialize(...)
24. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
25. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorShadowVariableSearch.R:54:3'): search is terminated by terminator works ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─fselector$optimize(instance) at test_FSelectorShadowVariableSearch.R:54:3
2. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
3. └─bbotk::optimize_batch_default(inst, self)
4. ├─base::tryCatch(...)
5. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
6. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
7. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
8. └─get_private(optimizer)$.optimize(instance)
9. └─mlr3fselect:::.__FSelectorBatchShadowVariableSearch__.optimize(...)
10. └─inst$eval_batch(states)
11. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
12. └─self$objective$eval_many(xss_trafoed)
13. └─bbotk:::.__Objective__eval_many(...)
14. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
15. │ └─base::eval.parent(expr, n = 1L)
16. │ └─base::eval(expr, p)
17. │ └─base::eval(expr, p)
18. └─private$.eval_many(xss = xss, resampling = `<list>`)
19. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
20. └─mlr3::benchmark(...)
21. └─ResultData$new(grid, data_extra, store_backends = store_backends)
22. └─mlr3 (local) initialize(...)
23. └─mlr3:::.__ResultData__initialize(...)
24. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
25. └─data.table:::`[.data.table`(...)
── Error ('test_ObjectiveFSelect.R:15:3'): ObjectiveFSelectBatch ───────────────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─obj$eval_many(xss) at test_ObjectiveFSelect.R:15:3
2. └─bbotk:::.__Objective__eval_many(...)
3. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
4. │ └─base::eval.parent(expr, n = 1L)
5. │ └─base::eval(expr, p)
6. │ └─base::eval(expr, p)
7. └─private$.eval_many(xss = xss, resampling = `<list>`)
8. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
9. └─mlr3::benchmark(...)
10. └─ResultData$new(grid, 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_ObjectiveFSelect.R:35:3'): ObjectiveFSelectBatch works with multiple measures ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─obj$eval_many(xss) at test_ObjectiveFSelect.R:35:3
2. └─bbotk:::.__Objective__eval_many(...)
3. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
4. │ └─base::eval.parent(expr, n = 1L)
5. │ └─base::eval(expr, p)
6. │ └─base::eval(expr, p)
7. └─private$.eval_many(xss = xss, resampling = `<list>`)
8. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
9. └─mlr3::benchmark(...)
10. └─ResultData$new(grid, 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_ObjectiveFSelect.R:54:3'): ObjectiveFSelectBatch works with store_models ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─obj$eval_many(xss) at test_ObjectiveFSelect.R:54:3
2. └─bbotk:::.__Objective__eval_many(...)
3. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
4. │ └─base::eval.parent(expr, n = 1L)
5. │ └─base::eval(expr, p)
6. │ └─base::eval(expr, p)
7. └─private$.eval_many(xss = xss, resampling = `<list>`)
8. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
9. └─mlr3::benchmark(...)
10. └─ResultData$new(grid, 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_ObjectiveFSelect.R:67:5'): fast aggregation works ──────────────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. ├─global with_seed(...) at test_ObjectiveFSelect.R:66:3
2. │ └─base::force(expr)
3. └─mlr3fselect::fselect(...) at test_ObjectiveFSelect.R:67:5
4. └─fselector$optimize(instance)
5. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
6. └─bbotk::optimize_batch_default(inst, self)
7. ├─base::tryCatch(...)
8. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
9. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
10. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
11. └─get_private(optimizer)$.optimize(instance)
12. └─mlr3fselect:::.__FSelectorBatchRandomSearch__.optimize(...)
13. └─inst$eval_batch(as.data.table(X))
14. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
15. └─self$objective$eval_many(xss_trafoed)
16. └─bbotk:::.__Objective__eval_many(...)
17. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
18. │ └─base::eval.parent(expr, n = 1L)
19. │ └─base::eval(expr, p)
20. │ └─base::eval(expr, p)
21. └─private$.eval_many(xss = xss, resampling = `<list>`)
22. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
23. └─mlr3::benchmark(...)
24. └─ResultData$new(grid, data_extra, store_backends = store_backends)
25. └─mlr3 (local) initialize(...)
26. └─mlr3:::.__ResultData__initialize(...)
27. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
28. └─data.table:::`[.data.table`(...)
── Error ('test_ObjectiveFSelect.R:119:3'): fast aggregation conditions work ───
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3fselect::fselect(...) at test_ObjectiveFSelect.R:119:3
2. └─fselector$optimize(instance)
3. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
4. └─bbotk::optimize_batch_default(inst, self)
5. ├─base::tryCatch(...)
6. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
8. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
9. └─get_private(optimizer)$.optimize(instance)
10. └─mlr3fselect:::.__FSelectorBatchRandomSearch__.optimize(...)
11. └─inst$eval_batch(as.data.table(X))
12. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
13. └─self$objective$eval_many(xss_trafoed)
14. └─bbotk:::.__Objective__eval_many(...)
15. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
16. │ └─base::eval.parent(expr, n = 1L)
17. │ └─base::eval(expr, p)
18. │ └─base::eval(expr, p)
19. └─private$.eval_many(xss = xss, resampling = `<list>`)
20. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
21. └─mlr3::benchmark(...)
22. └─ResultData$new(grid, data_extra, store_backends = store_backends)
23. └─mlr3 (local) initialize(...)
24. └─mlr3:::.__ResultData__initialize(...)
25. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
26. └─data.table:::`[.data.table`(...)
── Error ('test_ObjectiveFSelectAsync.R:15:3'): objective async works ──────────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─objective$eval(xs) at test_ObjectiveFSelectAsync.R:15:3
2. └─bbotk:::.__Objective__eval(...)
3. ├─mlr3misc::invoke(private$.eval, xs = xs, .args = self$constants$values)
4. │ └─base::eval.parent(expr, n = 1L)
5. │ └─base::eval(expr, p)
6. │ └─base::eval(expr, p)
7. └─private$.eval(xs = xs, resampling = `<list>`)
8. └─mlr3fselect:::.__ObjectiveFSelectAsync__.eval(...)
9. └─mlr3::resample(...)
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_ObjectiveFSelectAsync.R:37:3'): store benchmark result works ───
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─objective$eval(xs) at test_ObjectiveFSelectAsync.R:37:3
2. └─bbotk:::.__Objective__eval(...)
3. ├─mlr3misc::invoke(private$.eval, xs = xs, .args = self$constants$values)
4. │ └─base::eval.parent(expr, n = 1L)
5. │ └─base::eval(expr, p)
6. │ └─base::eval(expr, p)
7. └─private$.eval(xs = xs, resampling = `<list>`)
8. └─mlr3fselect:::.__ObjectiveFSelectAsync__.eval(...)
9. └─mlr3::resample(...)
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_ObjectiveFSelectAsync.R:61:3'): store models works ─────────────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─objective$eval(xs) at test_ObjectiveFSelectAsync.R:61:3
2. └─bbotk:::.__Objective__eval(...)
3. ├─mlr3misc::invoke(private$.eval, xs = xs, .args = self$constants$values)
4. │ └─base::eval.parent(expr, n = 1L)
5. │ └─base::eval(expr, p)
6. │ └─base::eval(expr, p)
7. └─private$.eval(xs = xs, resampling = `<list>`)
8. └─mlr3fselect:::.__ObjectiveFSelectAsync__.eval(...)
9. └─mlr3::resample(...)
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_ObjectiveFSelectAsync.R:85:3'): rush objective with multiple measures works ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─objective$eval(xs) at test_ObjectiveFSelectAsync.R:85:3
2. └─bbotk:::.__Objective__eval(...)
3. ├─mlr3misc::invoke(private$.eval, xs = xs, .args = self$constants$values)
4. │ └─base::eval.parent(expr, n = 1L)
5. │ └─base::eval(expr, p)
6. │ └─base::eval(expr, p)
7. └─private$.eval(xs = xs, resampling = `<list>`)
8. └─mlr3fselect:::.__ObjectiveFSelectAsync__.eval(...)
9. └─mlr3::resample(...)
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_embedded_ensemble_fselect.R:4:5'): embedded efs works ──────────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. ├─global with_seed(...) at test_embedded_ensemble_fselect.R:3:3
2. │ └─base::force(expr)
3. └─mlr3fselect::embedded_ensemble_fselect(...) at test_embedded_ensemble_fselect.R:4:5
4. └─mlr3::benchmark(design, store_models = TRUE)
5. └─ResultData$new(grid, data_extra, store_backends = store_backends)
6. └─mlr3 (local) initialize(...)
7. └─mlr3:::.__ResultData__initialize(...)
8. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
9. └─data.table:::`[.data.table`(...)
── Error ('test_embedded_ensemble_fselect.R:69:5'): combine embedded efs results ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. ├─global with_seed(...) at test_embedded_ensemble_fselect.R:68:3
2. │ └─base::force(expr)
3. └─mlr3fselect::embedded_ensemble_fselect(...) at test_embedded_ensemble_fselect.R:69:5
4. └─mlr3::benchmark(design, store_models = TRUE)
5. └─ResultData$new(grid, data_extra, store_backends = store_backends)
6. └─mlr3 (local) initialize(...)
7. └─mlr3:::.__ResultData__initialize(...)
8. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
9. └─data.table:::`[.data.table`(...)
── Error ('test_ensemble_fselect.R:4:5'): efs works ────────────────────────────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. ├─global with_seed(...) at test_ensemble_fselect.R:3:3
2. │ └─base::force(expr)
3. └─mlr3fselect::ensemble_fselect(...) at test_ensemble_fselect.R:4:5
4. └─mlr3::benchmark(design, store_models = TRUE)
5. └─mlr3:::future_map(...)
6. └─future.apply::future_mapply(...)
7. └─future.apply:::future_xapply(...)
8. └─base::tryCatch(...)
9. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
10. └─base (local) tryCatchOne(...)
11. └─value[[3L]](cond)
12. └─future.apply:::onError(e, futures = fs, debug = debug)
── Error ('test_ensemble_fselect.R:99:5'): efs works with rfe ──────────────────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. ├─global with_seed(...) at test_ensemble_fselect.R:98:3
2. │ └─base::force(expr)
3. └─mlr3fselect::ensemble_fselect(...) at test_ensemble_fselect.R:99:5
4. └─mlr3::benchmark(design, store_models = TRUE)
5. └─mlr3:::future_map(...)
6. └─future.apply::future_mapply(...)
7. └─future.apply:::future_xapply(...)
8. └─base::tryCatch(...)
9. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
10. └─base (local) tryCatchOne(...)
11. └─value[[3L]](cond)
12. └─future.apply:::onError(e, futures = fs, debug = debug)
── Error ('test_ensemble_fselect.R:349:3'): different callbacks can be set ─────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3fselect::ensemble_fselect(...) at test_ensemble_fselect.R:349:3
2. └─mlr3::benchmark(design, store_models = TRUE)
3. └─mlr3:::future_map(...)
4. └─future.apply::future_mapply(...)
5. └─future.apply:::future_xapply(...)
6. └─base::tryCatch(...)
7. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
8. └─base (local) tryCatchOne(...)
9. └─value[[3L]](cond)
10. └─future.apply:::onError(e, futures = fs, debug = debug)
── Error ('test_extract_inner_fselect_archives.R:2:3'): extract_inner_fselect_archives function works with resample and cv ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3fselect::fselect_nested(...) at test_extract_inner_fselect_archives.R:2:3
2. └─mlr3::resample(task, afs, outer_resampling, store_models = TRUE)
3. └─mlr3:::future_map(...)
4. └─future.apply::future_mapply(...)
5. └─future.apply:::future_xapply(...)
6. └─base::tryCatch(...)
7. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
8. └─base (local) tryCatchOne(...)
9. └─value[[3L]](cond)
10. └─future.apply:::onError(e, futures = fs, debug = debug)
── Error ('test_extract_inner_fselect_archives.R:11:3'): extract_inner_fselect_archives function works with resample and repeated cv ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3fselect::fselect_nested(...) at test_extract_inner_fselect_archives.R:11:3
2. └─mlr3::resample(task, afs, outer_resampling, store_models = TRUE)
3. └─mlr3:::future_map(...)
4. └─future.apply::future_mapply(...)
5. └─future.apply:::future_xapply(...)
6. └─base::tryCatch(...)
7. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
8. └─base (local) tryCatchOne(...)
9. └─value[[3L]](cond)
10. └─future.apply:::onError(e, futures = fs, debug = debug)
── Error ('test_extract_inner_fselect_archives.R:24:3'): extract_inner_fselect_archives function works with benchmark and cv ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3::benchmark(grid, store_models = TRUE) at test_extract_inner_fselect_archives.R:24:3
2. └─mlr3:::future_map(...)
3. └─future.apply::future_mapply(...)
4. └─future.apply:::future_xapply(...)
5. └─base::tryCatch(...)
6. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. └─base (local) tryCatchOne(...)
8. └─value[[3L]](cond)
9. └─future.apply:::onError(e, futures = fs, debug = debug)
── Error ('test_extract_inner_fselect_archives.R:37:3'): extract_inner_fselect_archives function works with benchmark and repeated cv ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3::benchmark(grid, store_models = TRUE) at test_extract_inner_fselect_archives.R:37:3
2. └─mlr3:::future_map(...)
3. └─future.apply::future_mapply(...)
4. └─future.apply:::future_xapply(...)
5. └─base::tryCatch(...)
6. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. └─base (local) tryCatchOne(...)
8. └─value[[3L]](cond)
9. └─future.apply:::onError(e, futures = fs, debug = debug)
── Error ('test_extract_inner_fselect_archives.R:50:3'): extract_inner_fselect_archives function works with multiple tasks ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3::benchmark(grid, store_models = TRUE) at test_extract_inner_fselect_archives.R:50:3
2. └─mlr3:::future_map(...)
3. └─future.apply::future_mapply(...)
4. └─future.apply:::future_xapply(...)
5. └─base::tryCatch(...)
6. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. └─base (local) tryCatchOne(...)
8. └─value[[3L]](cond)
9. └─future.apply:::onError(e, futures = fs, debug = debug)
── Error ('test_extract_inner_fselect_archives.R:61:3'): extract_inner_fselect_archives function works with no models ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3::resample(tsk("iris"), at, resampling_outer, store_models = FALSE) at test_extract_inner_fselect_archives.R:61:3
2. └─mlr3:::future_map(...)
3. └─future.apply::future_mapply(...)
4. └─future.apply:::future_xapply(...)
5. └─base::tryCatch(...)
6. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. └─base (local) tryCatchOne(...)
8. └─value[[3L]](cond)
9. └─future.apply:::onError(e, futures = fs, debug = debug)
── Error ('test_extract_inner_fselect_archives.R:70:3'): extract_inner_fselect_archives function works with no instance ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3::resample(tsk("iris"), at, resampling_outer, store_models = TRUE) at test_extract_inner_fselect_archives.R:70:3
2. └─mlr3:::future_map(...)
3. └─future.apply::future_mapply(...)
4. └─future.apply:::future_xapply(...)
5. └─base::tryCatch(...)
6. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. └─base (local) tryCatchOne(...)
8. └─value[[3L]](cond)
9. └─future.apply:::onError(e, futures = fs, debug = debug)
── Error ('test_extract_inner_fselect_archives.R:80:3'): extract_inner_fselect_archives function works with benchmark and no models ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3::benchmark(grid, store_models = FALSE) at test_extract_inner_fselect_archives.R:80:3
2. └─mlr3:::future_map(...)
3. └─future.apply::future_mapply(...)
4. └─future.apply:::future_xapply(...)
5. └─base::tryCatch(...)
6. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. └─base (local) tryCatchOne(...)
8. └─value[[3L]](cond)
9. └─future.apply:::onError(e, futures = fs, debug = debug)
── Error ('test_extract_inner_fselect_archives.R:92:3'): extract_inner_fselect_archives function works with mixed store instance ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3::benchmark(grid, store_models = TRUE) at test_extract_inner_fselect_archives.R:92:3
2. └─mlr3:::future_map(...)
3. └─future.apply::future_mapply(...)
4. └─future.apply:::future_xapply(...)
5. └─base::tryCatch(...)
6. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. └─base (local) tryCatchOne(...)
8. └─value[[3L]](cond)
9. └─future.apply:::onError(e, futures = fs, debug = debug)
── Error ('test_extract_inner_fselect_archives.R:104:3'): extract_inner_fselect_archives function works with autofselector and learner ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3::benchmark(grid, store_models = TRUE) at test_extract_inner_fselect_archives.R:104:3
2. └─mlr3:::future_map(...)
3. └─future.apply::future_mapply(...)
4. └─future.apply:::future_xapply(...)
5. └─base::tryCatch(...)
6. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. └─base (local) tryCatchOne(...)
8. └─value[[3L]](cond)
9. └─future.apply:::onError(e, futures = fs, debug = debug)
── Error ('test_extract_inner_fselect_result.R:2:3'): extract_inner_fselect_results function works with resample and cv ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3fselect::fselect_nested(...) at test_extract_inner_fselect_result.R:2:3
2. └─mlr3::resample(task, afs, outer_resampling, store_models = TRUE)
3. └─mlr3:::future_map(...)
4. └─future.apply::future_mapply(...)
5. └─future.apply:::future_xapply(...)
6. └─base::tryCatch(...)
7. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
8. └─base (local) tryCatchOne(...)
9. └─value[[3L]](cond)
10. └─future.apply:::onError(e, futures = fs, debug = debug)
── Error ('test_extract_inner_fselect_result.R:11:3'): extract_inner_fselect_results function works with resample and repeated cv ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3fselect::fselect_nested(...) at test_extract_inner_fselect_result.R:11:3
2. └─mlr3::resample(task, afs, outer_resampling, store_models = TRUE)
3. └─mlr3:::future_map(...)
4. └─future.apply::future_mapply(...)
5. └─future.apply:::future_xapply(...)
6. └─base::tryCatch(...)
7. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
8. └─base (local) tryCatchOne(...)
9. └─value[[3L]](cond)
10. └─future.apply:::onError(e, futures = fs, debug = debug)
── Error ('test_extract_inner_fselect_result.R:24:3'): extract_inner_fselect_results function works with benchmark and cv ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3::benchmark(grid, store_models = TRUE) at test_extract_inner_fselect_result.R:24:3
2. └─mlr3:::future_map(...)
3. └─future.apply::future_mapply(...)
4. └─future.apply:::future_xapply(...)
5. └─base::tryCatch(...)
6. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. └─base (local) tryCatchOne(...)
8. └─value[[3L]](cond)
9. └─future.apply:::onError(e, futures = fs, debug = debug)
── Error ('test_extract_inner_fselect_result.R:37:3'): extract_inner_fselect_results function works with benchmark and repeated cv ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3::benchmark(grid, store_models = TRUE) at test_extract_inner_fselect_result.R:37:3
2. └─mlr3:::future_map(...)
3. └─future.apply::future_mapply(...)
4. └─future.apply:::future_xapply(...)
5. └─base::tryCatch(...)
6. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. └─base (local) tryCatchOne(...)
8. └─value[[3L]](cond)
9. └─future.apply:::onError(e, futures = fs, debug = debug)
── Error ('test_extract_inner_fselect_result.R:50:3'): extract_inner_fselect_results function works with multiple tasks ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3::benchmark(grid, store_models = TRUE) at test_extract_inner_fselect_result.R:50:3
2. └─mlr3:::future_map(...)
3. └─future.apply::future_mapply(...)
4. └─future.apply:::future_xapply(...)
5. └─base::tryCatch(...)
6. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. └─base (local) tryCatchOne(...)
8. └─value[[3L]](cond)
9. └─future.apply:::onError(e, futures = fs, debug = debug)
── Error ('test_extract_inner_fselect_result.R:61:3'): extract_inner_fselect_results function works with no model ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3::resample(tsk("iris"), at, resampling_outer, store_models = FALSE) at test_extract_inner_fselect_result.R:61:3
2. └─mlr3:::future_map(...)
3. └─future.apply::future_mapply(...)
4. └─future.apply:::future_xapply(...)
5. └─base::tryCatch(...)
6. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. └─base (local) tryCatchOne(...)
8. └─value[[3L]](cond)
9. └─future.apply:::onError(e, futures = fs, debug = debug)
── Error ('test_extract_inner_fselect_result.R:70:3'): extract_inner_fselect_results function works no instance ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3::resample(tsk("iris"), at, resampling_outer, store_models = TRUE) at test_extract_inner_fselect_result.R:70:3
2. └─mlr3:::future_map(...)
3. └─future.apply::future_mapply(...)
4. └─future.apply:::future_xapply(...)
5. └─base::tryCatch(...)
6. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. └─base (local) tryCatchOne(...)
8. └─value[[3L]](cond)
9. └─future.apply:::onError(e, futures = fs, debug = debug)
── Error ('test_extract_inner_fselect_result.R:80:3'): extract_inner_fselect_results function works with benchmark and no models ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3::benchmark(grid, store_models = FALSE) at test_extract_inner_fselect_result.R:80:3
2. └─mlr3:::future_map(...)
3. └─future.apply::future_mapply(...)
4. └─future.apply:::future_xapply(...)
5. └─base::tryCatch(...)
6. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. └─base (local) tryCatchOne(...)
8. └─value[[3L]](cond)
9. └─future.apply:::onError(e, futures = fs, debug = debug)
── Error ('test_extract_inner_fselect_result.R:92:3'): extract_inner_fselect_results function works with mixed store instance ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3::benchmark(grid, store_models = TRUE) at test_extract_inner_fselect_result.R:92:3
2. └─mlr3:::future_map(...)
3. └─future.apply::future_mapply(...)
4. └─future.apply:::future_xapply(...)
5. └─base::tryCatch(...)
6. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. └─base (local) tryCatchOne(...)
8. └─value[[3L]](cond)
9. └─future.apply:::onError(e, futures = fs, debug = debug)
── Error ('test_extract_inner_fselect_result.R:104:3'): extract_inner_fselect_results function works with learner and autotuner ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3::benchmark(grid, store_models = TRUE) at test_extract_inner_fselect_result.R:104:3
2. └─mlr3:::future_map(...)
3. └─future.apply::future_mapply(...)
4. └─future.apply:::future_xapply(...)
5. └─base::tryCatch(...)
6. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. └─base (local) tryCatchOne(...)
8. └─value[[3L]](cond)
9. └─future.apply:::onError(e, futures = fs, debug = debug)
── Error ('test_extract_inner_fselect_result.R:113:3'): extract_inner_fselect_results function works with resample and return of instance ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3fselect::fselect_nested(...) at test_extract_inner_fselect_result.R:113:3
2. └─mlr3::resample(task, afs, outer_resampling, store_models = TRUE)
3. └─mlr3:::future_map(...)
4. └─future.apply::future_mapply(...)
5. └─future.apply:::future_xapply(...)
6. └─base::tryCatch(...)
7. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
8. └─base (local) tryCatchOne(...)
9. └─value[[3L]](cond)
10. └─future.apply:::onError(e, futures = fs, debug = debug)
── Error ('test_extract_inner_fselect_result.R:125:3'): extract_inner_fselect_results function works with benchmark and return of instance ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3::benchmark(grid, store_models = TRUE) at test_extract_inner_fselect_result.R:125:3
2. └─mlr3:::future_map(...)
3. └─future.apply::future_mapply(...)
4. └─future.apply:::future_xapply(...)
5. └─base::tryCatch(...)
6. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. └─base (local) tryCatchOne(...)
8. └─value[[3L]](cond)
9. └─future.apply:::onError(e, futures = fs, debug = debug)
── Error ('test_fselect.R:2:3'): fselect function works with single measure ────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3fselect::fselect(...) at test_fselect.R:2:3
2. └─fselector$optimize(instance)
3. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
4. └─bbotk::optimize_batch_default(inst, self)
5. ├─base::tryCatch(...)
6. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
8. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
9. └─get_private(optimizer)$.optimize(instance)
10. └─mlr3fselect:::.__FSelectorBatchRandomSearch__.optimize(...)
11. └─inst$eval_batch(as.data.table(X))
12. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
13. └─self$objective$eval_many(xss_trafoed)
14. └─bbotk:::.__Objective__eval_many(...)
15. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
16. │ └─base::eval.parent(expr, n = 1L)
17. │ └─base::eval(expr, p)
18. │ └─base::eval(expr, p)
19. └─private$.eval_many(xss = xss, resampling = `<list>`)
20. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
21. └─mlr3::benchmark(...)
22. └─ResultData$new(grid, data_extra, store_backends = store_backends)
23. └─mlr3 (local) initialize(...)
24. └─mlr3:::.__ResultData__initialize(...)
25. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
26. └─data.table:::`[.data.table`(...)
── Error ('test_fselect.R:11:3'): fselect function works with multiple measures ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3fselect::fselect(...) at test_fselect.R:11:3
2. └─fselector$optimize(instance)
3. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
4. └─bbotk::optimize_batch_default(inst, self)
5. ├─base::tryCatch(...)
6. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
8. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
9. └─get_private(optimizer)$.optimize(instance)
10. └─mlr3fselect:::.__FSelectorBatchRandomSearch__.optimize(...)
11. └─inst$eval_batch(as.data.table(X))
12. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
13. └─self$objective$eval_many(xss_trafoed)
14. └─bbotk:::.__Objective__eval_many(...)
15. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
16. │ └─base::eval.parent(expr, n = 1L)
17. │ └─base::eval(expr, p)
18. │ └─base::eval(expr, p)
19. └─private$.eval_many(xss = xss, resampling = `<list>`)
20. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
21. └─mlr3::benchmark(...)
22. └─ResultData$new(grid, data_extra, store_backends = store_backends)
23. └─mlr3 (local) initialize(...)
24. └─mlr3:::.__ResultData__initialize(...)
25. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
26. └─data.table:::`[.data.table`(...)
── Error ('test_fselect.R:20:3'): fselect function accepts string input for method ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3fselect::fselect(...) at test_fselect.R:20:3
2. └─fselector$optimize(instance)
3. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
4. └─bbotk::optimize_batch_default(inst, self)
5. ├─base::tryCatch(...)
6. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
8. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
9. └─get_private(optimizer)$.optimize(instance)
10. └─mlr3fselect:::.__FSelectorBatchRandomSearch__.optimize(...)
11. └─inst$eval_batch(as.data.table(X))
12. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
13. └─self$objective$eval_many(xss_trafoed)
14. └─bbotk:::.__Objective__eval_many(...)
15. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
16. │ └─base::eval.parent(expr, n = 1L)
17. │ └─base::eval(expr, p)
18. │ └─base::eval(expr, p)
19. └─private$.eval_many(xss = xss, resampling = `<list>`)
20. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
21. └─mlr3::benchmark(...)
22. └─ResultData$new(grid, data_extra, store_backends = store_backends)
23. └─mlr3 (local) initialize(...)
24. └─mlr3:::.__ResultData__initialize(...)
25. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
26. └─data.table:::`[.data.table`(...)
── Error ('test_fselect_nested.R:2:3'): fselect_nested function works ──────────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3fselect::fselect_nested(...) at test_fselect_nested.R:2:3
2. └─mlr3::resample(task, afs, outer_resampling, store_models = TRUE)
3. └─mlr3:::future_map(...)
4. └─future.apply::future_mapply(...)
5. └─future.apply:::future_xapply(...)
6. └─base::tryCatch(...)
7. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
8. └─base (local) tryCatchOne(...)
9. └─value[[3L]](cond)
10. └─future.apply:::onError(e, futures = fs, debug = debug)
── Error ('test_mlr_callbacks.R:4:3'): backup callback works ───────────────────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3fselect::fselect(...) at test_mlr_callbacks.R:4:3
2. └─fselector$optimize(instance)
3. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
4. └─bbotk::optimize_batch_default(inst, self)
5. ├─base::tryCatch(...)
6. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
8. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
9. └─get_private(optimizer)$.optimize(instance)
10. └─mlr3fselect:::.__FSelectorBatchRandomSearch__.optimize(...)
11. └─inst$eval_batch(as.data.table(X))
12. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
13. └─self$objective$eval_many(xss_trafoed)
14. └─bbotk:::.__Objective__eval_many(...)
15. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
16. │ └─base::eval.parent(expr, n = 1L)
17. │ └─base::eval(expr, p)
18. │ └─base::eval(expr, p)
19. └─private$.eval_many(xss = xss, resampling = `<list>`)
20. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
21. └─mlr3::benchmark(...)
22. └─ResultData$new(grid, data_extra, store_backends = store_backends)
23. └─mlr3 (local) initialize(...)
24. └─mlr3:::.__ResultData__initialize(...)
25. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
26. └─data.table:::`[.data.table`(...)
── Error ('test_mlr_callbacks.R:23:3'): svm_rfe callbacks works ────────────────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3fselect::fselect(...) at test_mlr_callbacks.R:23:3
2. └─fselector$optimize(instance)
3. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
4. └─bbotk::optimize_batch_default(inst, self)
5. ├─base::tryCatch(...)
6. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
8. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
9. └─get_private(optimizer)$.optimize(instance)
10. └─mlr3fselect:::.__FSelectorBatchRFE__.optimize(...)
11. └─mlr3fselect:::rfe_workhorse(inst, subsets, recursive, aggregation)
12. └─inst$eval_batch(states)
13. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
14. └─self$objective$eval_many(xss_trafoed)
15. └─bbotk:::.__Objective__eval_many(...)
16. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
17. │ └─base::eval.parent(expr, n = 1L)
18. │ └─base::eval(expr, p)
19. │ └─base::eval(expr, p)
20. └─private$.eval_many(xss = xss, resampling = `<list>`)
21. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
22. └─mlr3::benchmark(...)
23. └─ResultData$new(grid, data_extra, store_backends = store_backends)
24. └─mlr3 (local) initialize(...)
25. └─mlr3:::.__ResultData__initialize(...)
26. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
27. └─data.table:::`[.data.table`(...)
── Error ('test_mlr_callbacks.R:46:3'): one_se_rule callback works ─────────────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3fselect::fselect(...) at test_mlr_callbacks.R:46:3
2. └─fselector$optimize(instance)
3. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
4. └─bbotk::optimize_batch_default(inst, self)
5. ├─base::tryCatch(...)
6. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
8. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
9. └─get_private(optimizer)$.optimize(instance)
10. └─mlr3fselect:::.__FSelectorBatchExhaustiveSearch__.optimize(...)
11. └─mlr3misc::walk(chunks, function(row_ids) inst$eval_batch(states[row_ids]))
12. └─mlr3fselect (local) .f(.xi, ...)
13. └─inst$eval_batch(states[row_ids])
14. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
15. └─self$objective$eval_many(xss_trafoed)
16. └─bbotk:::.__Objective__eval_many(...)
17. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
18. │ └─base::eval.parent(expr, n = 1L)
19. │ └─base::eval(expr, p)
20. │ └─base::eval(expr, p)
21. └─private$.eval_many(xss = xss, resampling = `<list>`)
22. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
23. └─mlr3::benchmark(...)
24. └─ResultData$new(grid, data_extra, store_backends = store_backends)
25. └─mlr3 (local) initialize(...)
26. └─mlr3:::.__ResultData__initialize(...)
27. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
28. └─data.table:::`[.data.table`(...)
── Error ('test_mlr_callbacks.R:65:3'): internal tuning callback works ─────────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3fselect::fselect(...) at test_mlr_callbacks.R:65:3
2. └─fselector$optimize(instance)
3. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
4. └─bbotk::optimize_batch_default(inst, self)
5. ├─base::tryCatch(...)
6. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
8. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
9. └─get_private(optimizer)$.optimize(instance)
10. └─mlr3fselect:::.__FSelectorBatchRandomSearch__.optimize(...)
11. └─inst$eval_batch(as.data.table(X))
12. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
13. └─self$objective$eval_many(xss_trafoed)
14. └─bbotk:::.__Objective__eval_many(...)
15. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
16. │ └─base::eval.parent(expr, n = 1L)
17. │ └─base::eval(expr, p)
18. │ └─base::eval(expr, p)
19. └─private$.eval_many(xss = xss, resampling = `<list>`)
20. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
21. └─mlr3::benchmark(...)
22. └─ResultData$new(grid, data_extra, store_backends = store_backends)
23. └─mlr3 (local) initialize(...)
24. └─mlr3:::.__ResultData__initialize(...)
25. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
26. └─data.table:::`[.data.table`(...)
── Error ('test_mlr_callbacks.R:96:3'): internal tuning callback works with AutoFSelector ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─afs$train(tsk("pima")) at test_mlr_callbacks.R:96:3
2. └─mlr3:::.__Learner__train(...)
3. └─mlr3:::learner_train(...)
4. └─mlr3misc::encapsulate(...)
5. ├─mlr3misc::invoke(...)
6. │ └─base::eval.parent(expr, n = 1L)
7. │ └─base::eval(expr, p)
8. │ └─base::eval(expr, p)
9. └─mlr3 (local) .f(learner = `<S3: AutoFSelector>`, task = `<S3: TaskClassif>`)
10. └─get_private(learner)$.train(task)
11. └─mlr3fselect:::.__AutoFSelector__.train(...)
12. └─self$fselector$optimize(instance)
13. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
14. └─bbotk::optimize_batch_default(inst, self)
15. ├─base::tryCatch(...)
16. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
17. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
18. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
19. └─get_private(optimizer)$.optimize(instance)
20. └─mlr3fselect:::.__FSelectorBatchRandomSearch__.optimize(...)
21. └─inst$eval_batch(as.data.table(X))
22. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
23. └─self$objective$eval_many(xss_trafoed)
24. └─bbotk:::.__Objective__eval_many(...)
25. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
26. │ └─base::eval.parent(expr, n = 1L)
27. │ └─base::eval(expr, p)
28. │ └─base::eval(expr, p)
29. └─private$.eval_many(xss = xss, resampling = `<list>`)
30. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
31. └─mlr3::benchmark(...)
32. └─ResultData$new(grid, data_extra, store_backends = store_backends)
33. └─mlr3 (local) initialize(...)
34. └─mlr3:::.__ResultData__initialize(...)
35. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
36. └─data.table:::`[.data.table`(...)
[ FAIL 100 | WARN 27 | SKIP 52 | PASS 235 ]
Error:
! Test failures.
Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang
Version: 1.5.0
Check: examples
Result: ERROR
Running examples in ‘mlr3fselect-Ex.R’ failed
The error most likely occurred in:
> ### Name: auto_fselector
> ### Title: Function for Automatic Feature Selection
> ### Aliases: auto_fselector
>
> ### ** Examples
>
> afs = auto_fselector(
+ fselector = fs("random_search"),
+ learner = lrn("classif.rpart"),
+ resampling = rsmp("holdout"),
+ measure = msr("classif.ce"),
+ term_evals = 4)
>
> afs$train(tsk("pima"))
INFO [12:29:22.914] [bbotk] Starting to optimize 8 parameter(s) with '<FSelectorBatchRandomSearch>' and '<TerminatorEvals> [n_evals=4, k=0]'
INFO [12:29:23.023] [bbotk] Evaluating 10 configuration(s)
INFO [12:29:23.187] [mlr3] Running benchmark with 10 resampling iterations
INFO [12:29:23.487] [mlr3] Applying learner 'classif.rpart' on task 'pima' (iter 1/1)
INFO [12:29:23.676] [mlr3] Applying learner 'classif.rpart' on task 'pima' (iter 1/1)
INFO [12:29:23.785] [mlr3] Applying learner 'classif.rpart' on task 'pima' (iter 1/1)
INFO [12:29:23.840] [mlr3] Applying learner 'classif.rpart' on task 'pima' (iter 1/1)
INFO [12:29:23.905] [mlr3] Applying learner 'classif.rpart' on task 'pima' (iter 1/1)
INFO [12:29:23.970] [mlr3] Applying learner 'classif.rpart' on task 'pima' (iter 1/1)
INFO [12:29:24.037] [mlr3] Applying learner 'classif.rpart' on task 'pima' (iter 1/1)
INFO [12:29:24.095] [mlr3] Applying learner 'classif.rpart' on task 'pima' (iter 1/1)
INFO [12:29:24.152] [mlr3] Applying learner 'classif.rpart' on task 'pima' (iter 1/1)
INFO [12:29:24.235] [mlr3] Applying learner 'classif.rpart' on task 'pima' (iter 1/1)
INFO [12:29:24.306] [mlr3] Finished benchmark
Error in `[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash") :
attempt access index 9/9 in VECTOR_ELT
Calls: <Anonymous> ... initialize -> .__ResultData__initialize -> [ -> [.data.table
Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc
Version: 1.5.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [232s/305s]
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-8.R
Saving _problems/test_ArchiveBatchFSelect-58.R
Saving _problems/test_ArchiveBatchFSelect-164.R
Saving _problems/test_ArchiveBatchFSelect-204.R
Saving _problems/test_ArchiveBatchFSelect-232.R
Saving _problems/test_ArchiveBatchFSelect-260.R
Saving _problems/test_AutoFSelector-137.R
Saving _problems/test_AutoFSelector-166.R
Saving _problems/test_AutoFSelector-211.R
Saving _problems/test_FSelectInstanceMultiCrit-16.R
Saving _problems/test_FSelectInstanceMultiCrit-29.R
Saving _problems/test_FSelectInstanceMultiCrit-37.R
Saving _problems/test_FSelectInstanceSingleCrit-16.R
Saving _problems/test_FSelectInstanceSingleCrit-40.R
Saving _problems/test_FSelectInstanceSingleCrit-48.R
Saving _problems/test_FSelectInstanceSingleCrit-85.R
Saving _problems/test_FSelectInstanceSingleCrit-111.R
Saving _problems/test_FSelectInstanceSingleCrit-131.R
Saving _problems/test_FSelectorBatchDesignPoints-8.R
Saving _problems/test_FSelectorBatchDesignPoints-20.R
Saving _problems/test_FSelectorExhaustiveSearch-2.R
Saving _problems/test_FSelectorExhaustiveSearch-14.R
Saving _problems/test_FSelectorExhaustiveSearch-23.R
Saving _problems/test_FSelectorExhaustiveSearch-27.R
Saving _problems/test_FSelectorGeneticSearch-4.R
Saving _problems/test_FSelectorRFE-2.R
Saving _problems/test_FSelectorRFE-11.R
Saving _problems/test_FSelectorRFE-18.R
Saving _problems/test_FSelectorRFE-27.R
Saving _problems/test_FSelectorRFE-49.R
Saving _problems/test_FSelectorRFE-63.R
Saving _problems/test_FSelectorRFE-83.R
Saving _problems/test_FSelectorRFE-131.R
Saving _problems/test_FSelectorRFE-142.R
Saving _problems/test_FSelectorRFE-161.R
Saving _problems/test_FSelectorRFE-233.R
Saving _problems/test_FSelectorRFE-290.R
Saving _problems/test_FSelectorRFECV-12.R
Saving _problems/test_FSelectorRFECV-32.R
Saving _problems/test_FSelectorRFECV-61.R
Saving _problems/test_FSelectorRFECV-118.R
Saving _problems/test_FSelectorRandomSearch-2.R
Saving _problems/test_FSelectorRandomSearch-6.R
Saving _problems/test_FSelectorRandomSearch-12.R
Saving _problems/test_FSelectorSequential-2.R
Saving _problems/test_FSelectorSequential-11.R
Saving _problems/test_FSelectorSequential-20.R
Saving _problems/test_FSelectorSequential-26.R
Saving _problems/test_FSelectorSequential-32.R
Saving _problems/test_FSelectorSequential-39.R
Saving _problems/test_FSelectorShadowVariableSearch-2.R
Saving _problems/test_FSelectorShadowVariableSearch-14.R
Saving _problems/test_FSelectorShadowVariableSearch-26.R
Saving _problems/test_FSelectorShadowVariableSearch-35.R
Saving _problems/test_FSelectorShadowVariableSearch-54.R
Saving _problems/test_ObjectiveFSelect-15.R
Saving _problems/test_ObjectiveFSelect-35.R
Saving _problems/test_ObjectiveFSelect-54.R
Saving _problems/test_ObjectiveFSelect-74.R
Saving _problems/test_ObjectiveFSelect-126.R
Saving _problems/test_ObjectiveFSelectAsync-15.R
Saving _problems/test_ObjectiveFSelectAsync-37.R
Saving _problems/test_ObjectiveFSelectAsync-61.R
Saving _problems/test_ObjectiveFSelectAsync-85.R
Saving _problems/test_embedded_ensemble_fselect-9.R
Saving _problems/test_embedded_ensemble_fselect-74.R
Saving _problems/test_ensemble_fselect-13.R
Saving _problems/test_ensemble_fselect-108.R
Saving _problems/test_ensemble_fselect-359.R
Saving _problems/test_extract_inner_fselect_archives-3.R
Saving _problems/test_extract_inner_fselect_archives-12.R
Saving _problems/test_extract_inner_fselect_archives-24.R
Saving _problems/test_extract_inner_fselect_archives-37.R
Saving _problems/test_extract_inner_fselect_archives-50.R
Saving _problems/test_extract_inner_fselect_archives-61.R
Saving _problems/test_extract_inner_fselect_archives-70.R
Saving _problems/test_extract_inner_fselect_archives-80.R
Saving _problems/test_extract_inner_fselect_archives-92.R
Saving _problems/test_extract_inner_fselect_archives-104.R
Saving _problems/test_extract_inner_fselect_result-3.R
Saving _problems/test_extract_inner_fselect_result-12.R
Saving _problems/test_extract_inner_fselect_result-24.R
Saving _problems/test_extract_inner_fselect_result-37.R
Saving _problems/test_extract_inner_fselect_result-50.R
Saving _problems/test_extract_inner_fselect_result-61.R
Saving _problems/test_extract_inner_fselect_result-70.R
Saving _problems/test_extract_inner_fselect_result-80.R
Saving _problems/test_extract_inner_fselect_result-92.R
Saving _problems/test_extract_inner_fselect_result-104.R
Saving _problems/test_extract_inner_fselect_result-113.R
Saving _problems/test_extract_inner_fselect_result-125.R
Saving _problems/test_fselect-3.R
Saving _problems/test_fselect-12.R
Saving _problems/test_fselect-21.R
Saving _problems/test_fselect_nested-4.R
Saving _problems/test_mlr_callbacks-12.R
Saving _problems/test_mlr_callbacks-32.R
Saving _problems/test_mlr_callbacks-53.R
Saving _problems/test_mlr_callbacks-73.R
Saving _problems/test_mlr_callbacks-96.R
[ FAIL 100 | WARN 27 | SKIP 52 | PASS 235 ]
══ Skipped tests (52) ══════════════════════════════════════════════════════════
• On CRAN (52): 'test_ArchiveAsyncFSelect.R:2:3',
'test_ArchiveAsyncFSelect.R:51:3', 'test_ArchiveAsyncFSelect.R:107:3',
'test_ArchiveAsyncFSelect.R:133:3', 'test_ArchiveAsyncFSelect.R:155:3',
'test_ArchiveAsyncFSelect.R:181:3', 'test_ArchiveAsyncFSelectFrozen.R:2:3',
'test_AutoFSelector.R:2:3', 'test_AutoFSelector.R:29:3',
'test_AutoFSelector.R:64:3', 'test_AutoFSelector.R:219:3',
'test_CallbackAsyncFSelect.R:4:3', 'test_CallbackAsyncFSelect.R:32:3',
'test_CallbackAsyncFSelect.R:62:3', 'test_CallbackAsyncFSelect.R:90:3',
'test_CallbackAsyncFSelect.R:120:3', 'test_CallbackAsyncFSelect.R:154:3',
'test_CallbackAsyncFSelect.R:181:3', 'test_CallbackAsyncFSelect.R:213:3',
'test_CallbackAsyncFSelect.R:242:3', 'test_CallbackAsyncFSelect.R:269:3',
'test_CallbackAsyncFSelect.R:298:3', 'test_CallbackAsyncFSelect.R:327:3',
'test_CallbackAsyncFSelect.R:354:3', 'test_CallbackAsyncFSelect.R:383:3',
'test_CallbackAsyncFSelect.R:419:3', 'test_CallbackAsyncFSelect.R:454:3',
'test_CallbackAsyncFSelect.R:488:3',
'test_FSelectInstanceAsyncMultiCrit.R:2:3',
'test_FSelectInstanceAsyncMultiCrit.R:30:3',
'test_FSelectInstanceAsyncMultiCrit.R:53:3',
'test_FSelectInstanceAsyncMultiCrit.R:77:3',
'test_FSelectInstanceAsyncMultiCrit.R:101:3',
'test_FSelectInstanceAsyncMultiCrit.R:129:3',
'test_FSelectInstanceAsyncSingleCrit.R:2:3',
'test_FSelectInstanceAsyncSingleCrit.R:29:3',
'test_FSelectInstanceAsyncSingleCrit.R:50:3',
'test_FSelectInstanceAsyncSingleCrit.R:73:3',
'test_FSelectInstanceAsyncSingleCrit.R:98:3',
'test_FSelectInstanceAsyncSingleCrit.R:124:3',
'test_FSelectorAsyncDesignPoints.R:2:3',
'test_FSelectorAsyncExhaustiveSearch.R:2:3',
'test_FSelectorAsyncRandomSearch.R:2:3', 'test_ObjectiveFSelectAsync.R:96:3',
'test_ObjectiveFSelectAsync.R:160:3', 'test_auto_fselector.R:24:3',
'test_auto_fselector.R:47:3', 'test_fsi_async.R:2:3',
'test_fsi_async.R:16:3', 'test_fsi_async.R:30:3', 'test_fsi_async.R:42:3',
'test_mlr_callbacks.R:108:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test_ArchiveBatchFSelect.R:2:3'): ArchiveBatchFSelect access methods work ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3fselect::fselect(...) at test_ArchiveBatchFSelect.R:2:3
2. └─fselector$optimize(instance)
3. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
4. └─bbotk::optimize_batch_default(inst, self)
5. ├─base::tryCatch(...)
6. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
8. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
9. └─get_private(optimizer)$.optimize(instance)
10. └─mlr3fselect:::.__FSelectorBatchRandomSearch__.optimize(...)
11. └─inst$eval_batch(as.data.table(X))
12. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
13. └─self$objective$eval_many(xss_trafoed)
14. └─bbotk:::.__Objective__eval_many(...)
15. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
16. │ └─base::eval.parent(expr, n = 1L)
17. │ └─base::eval(expr, p)
18. │ └─base::eval(expr, p)
19. └─private$.eval_many(xss = xss, resampling = `<list>`)
20. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
21. └─mlr3::benchmark(...)
22. └─ResultData$new(grid, data_extra, store_backends = store_backends)
23. └─mlr3 (local) initialize(...)
24. └─mlr3:::.__ResultData__initialize(...)
25. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
26. └─data.table:::`[.data.table`(...)
── Error ('test_ArchiveBatchFSelect.R:52:3'): ArchiveBatchFSelect as.data.table function works ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3fselect::fselect(...) at test_ArchiveBatchFSelect.R:52:3
2. └─fselector$optimize(instance)
3. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
4. └─bbotk::optimize_batch_default(inst, self)
5. ├─base::tryCatch(...)
6. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
8. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
9. └─get_private(optimizer)$.optimize(instance)
10. └─mlr3fselect:::.__FSelectorBatchRandomSearch__.optimize(...)
11. └─inst$eval_batch(as.data.table(X))
12. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
13. └─self$objective$eval_many(xss_trafoed)
14. └─bbotk:::.__Objective__eval_many(...)
15. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
16. │ └─base::eval.parent(expr, n = 1L)
17. │ └─base::eval(expr, p)
18. │ └─base::eval(expr, p)
19. └─private$.eval_many(xss = xss, resampling = `<list>`)
20. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
21. └─mlr3::benchmark(...)
22. └─ResultData$new(grid, data_extra, store_backends = store_backends)
23. └─mlr3 (local) initialize(...)
24. └─mlr3:::.__ResultData__initialize(...)
25. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
26. └─data.table:::`[.data.table`(...)
── Error ('test_ArchiveBatchFSelect.R:157:3'): global ties method works ────────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3fselect::fselect(...) at test_ArchiveBatchFSelect.R:157:3
2. └─fselector$optimize(instance)
3. └─mlr3fselect:::.__FSelectorBatchFromOptimizerBatch__optimize(...)
4. └─private$.optimizer$optimize(inst)
5. └─bbotk:::.__OptimizerBatch__optimize(...)
6. └─bbotk::optimize_batch_default(inst, self)
7. ├─base::tryCatch(...)
8. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
9. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
10. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
11. └─get_private(optimizer)$.optimize(instance)
12. └─bbotk:::.__OptimizerBatchDesignPoints__.optimize(...)
13. └─instance$eval_batch(design[inds, ])
14. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
15. └─self$objective$eval_many(xss_trafoed)
16. └─bbotk:::.__Objective__eval_many(...)
17. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
18. │ └─base::eval.parent(expr, n = 1L)
19. │ └─base::eval(expr, p)
20. │ └─base::eval(expr, p)
21. └─private$.eval_many(xss = xss, resampling = `<list>`)
22. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
23. └─mlr3::benchmark(...)
24. └─ResultData$new(grid, data_extra, store_backends = store_backends)
25. └─mlr3 (local) initialize(...)
26. └─mlr3:::.__ResultData__initialize(...)
27. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
28. └─data.table:::`[.data.table`(...)
── Error ('test_ArchiveBatchFSelect.R:198:3'): local ties method works when maximize measure ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3fselect::fselect(...) at test_ArchiveBatchFSelect.R:198:3
2. └─fselector$optimize(instance)
3. └─mlr3fselect:::.__FSelectorBatchFromOptimizerBatch__optimize(...)
4. └─private$.optimizer$optimize(inst)
5. └─bbotk:::.__OptimizerBatch__optimize(...)
6. └─bbotk::optimize_batch_default(inst, self)
7. ├─base::tryCatch(...)
8. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
9. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
10. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
11. └─get_private(optimizer)$.optimize(instance)
12. └─bbotk:::.__OptimizerBatchDesignPoints__.optimize(...)
13. └─instance$eval_batch(design[inds, ])
14. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
15. └─self$objective$eval_many(xss_trafoed)
16. └─bbotk:::.__Objective__eval_many(...)
17. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
18. │ └─base::eval.parent(expr, n = 1L)
19. │ └─base::eval(expr, p)
20. │ └─base::eval(expr, p)
21. └─private$.eval_many(xss = xss, resampling = `<list>`)
22. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
23. └─mlr3::benchmark(...)
24. └─ResultData$new(grid, data_extra, store_backends = store_backends)
25. └─mlr3 (local) initialize(...)
26. └─mlr3:::.__ResultData__initialize(...)
27. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
28. └─data.table:::`[.data.table`(...)
── Error ('test_ArchiveBatchFSelect.R:226:3'): local ties method works when minimize measure ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3fselect::fselect(...) at test_ArchiveBatchFSelect.R:226:3
2. └─fselector$optimize(instance)
3. └─mlr3fselect:::.__FSelectorBatchFromOptimizerBatch__optimize(...)
4. └─private$.optimizer$optimize(inst)
5. └─bbotk:::.__OptimizerBatch__optimize(...)
6. └─bbotk::optimize_batch_default(inst, self)
7. ├─base::tryCatch(...)
8. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
9. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
10. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
11. └─get_private(optimizer)$.optimize(instance)
12. └─bbotk:::.__OptimizerBatchDesignPoints__.optimize(...)
13. └─instance$eval_batch(design[inds, ])
14. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
15. └─self$objective$eval_many(xss_trafoed)
16. └─bbotk:::.__Objective__eval_many(...)
17. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
18. │ └─base::eval.parent(expr, n = 1L)
19. │ └─base::eval(expr, p)
20. │ └─base::eval(expr, p)
21. └─private$.eval_many(xss = xss, resampling = `<list>`)
22. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
23. └─mlr3::benchmark(...)
24. └─ResultData$new(grid, data_extra, store_backends = store_backends)
25. └─mlr3 (local) initialize(...)
26. └─mlr3:::.__ResultData__initialize(...)
27. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
28. └─data.table:::`[.data.table`(...)
── Error ('test_ArchiveBatchFSelect.R:254:3'): local ties method works with batches ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3fselect::fselect(...) at test_ArchiveBatchFSelect.R:254:3
2. └─fselector$optimize(instance)
3. └─mlr3fselect:::.__FSelectorBatchFromOptimizerBatch__optimize(...)
4. └─private$.optimizer$optimize(inst)
5. └─bbotk:::.__OptimizerBatch__optimize(...)
6. └─bbotk::optimize_batch_default(inst, self)
7. ├─base::tryCatch(...)
8. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
9. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
10. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
11. └─get_private(optimizer)$.optimize(instance)
12. └─bbotk:::.__OptimizerBatchDesignPoints__.optimize(...)
13. └─instance$eval_batch(design[inds, ])
14. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
15. └─self$objective$eval_many(xss_trafoed)
16. └─bbotk:::.__Objective__eval_many(...)
17. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
18. │ └─base::eval.parent(expr, n = 1L)
19. │ └─base::eval(expr, p)
20. │ └─base::eval(expr, p)
21. └─private$.eval_many(xss = xss, resampling = `<list>`)
22. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
23. └─mlr3::benchmark(...)
24. └─ResultData$new(grid, data_extra, store_backends = store_backends)
25. └─mlr3 (local) initialize(...)
26. └─mlr3:::.__ResultData__initialize(...)
27. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
28. └─data.table:::`[.data.table`(...)
── Error ('test_AutoFSelector.R:137:3'): AutoFSelector works with GraphLearner ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─at$train(task) at test_AutoFSelector.R:137:3
2. └─mlr3:::.__Learner__train(...)
3. └─mlr3:::learner_train(...)
4. └─mlr3misc::encapsulate(...)
5. ├─mlr3misc::invoke(...)
6. │ └─base::eval.parent(expr, n = 1L)
7. │ └─base::eval(expr, p)
8. │ └─base::eval(expr, p)
9. └─mlr3 (local) .f(learner = `<AtFSlctr>`, task = `<TaskRegr>`)
10. └─get_private(learner)$.train(task)
11. └─mlr3fselect:::.__AutoFSelector__.train(...)
12. └─self$fselector$optimize(instance)
13. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
14. └─bbotk::optimize_batch_default(inst, self)
15. ├─base::tryCatch(...)
16. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
17. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
18. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
19. └─get_private(optimizer)$.optimize(instance)
20. └─mlr3fselect:::.__FSelectorBatchSequential__.optimize(...)
21. └─inst$eval_batch(states)
22. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
23. └─self$objective$eval_many(xss_trafoed)
24. └─bbotk:::.__Objective__eval_many(...)
25. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
26. │ └─base::eval.parent(expr, n = 1L)
27. │ └─base::eval(expr, p)
28. │ └─base::eval(expr, p)
29. └─private$.eval_many(xss = xss, resampling = `<list>`)
30. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
31. └─mlr3::benchmark(...)
32. └─ResultData$new(grid, data_extra, store_backends = store_backends)
33. └─mlr3 (local) initialize(...)
34. └─mlr3:::.__ResultData__initialize(...)
35. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
36. └─data.table:::`[.data.table`(...)
── Error ('test_AutoFSelector.R:166:3'): AutoFSelector get_base_learner method works ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─afs$train(tsk("pima")) at test_AutoFSelector.R:166:3
2. └─mlr3:::.__Learner__train(...)
3. └─mlr3:::learner_train(...)
4. └─mlr3misc::encapsulate(...)
5. ├─mlr3misc::invoke(...)
6. │ └─base::eval.parent(expr, n = 1L)
7. │ └─base::eval(expr, p)
8. │ └─base::eval(expr, p)
9. └─mlr3 (local) .f(learner = `<AtFSlctr>`, task = `<TskClssf>`)
10. └─get_private(learner)$.train(task)
11. └─mlr3fselect:::.__AutoFSelector__.train(...)
12. └─self$fselector$optimize(instance)
13. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
14. └─bbotk::optimize_batch_default(inst, self)
15. ├─base::tryCatch(...)
16. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
17. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
18. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
19. └─get_private(optimizer)$.optimize(instance)
20. └─mlr3fselect:::.__FSelectorBatchRandomSearch__.optimize(...)
21. └─inst$eval_batch(as.data.table(X))
22. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
23. └─self$objective$eval_many(xss_trafoed)
24. └─bbotk:::.__Objective__eval_many(...)
25. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
26. │ └─base::eval.parent(expr, n = 1L)
27. │ └─base::eval(expr, p)
28. │ └─base::eval(expr, p)
29. └─private$.eval_many(xss = xss, resampling = `<list>`)
30. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
31. └─mlr3::benchmark(...)
32. └─ResultData$new(grid, data_extra, store_backends = store_backends)
33. └─mlr3 (local) initialize(...)
34. └─mlr3:::.__ResultData__initialize(...)
35. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
36. └─data.table:::`[.data.table`(...)
── Error ('test_AutoFSelector.R:211:3'): AutoFSelector hash works #647 in mlr3 ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3::benchmark(grid, store_models = TRUE) at test_AutoFSelector.R:211:3
2. └─mlr3:::future_map(...)
3. └─future.apply::future_mapply(...)
4. └─future.apply:::future_xapply(...)
5. └─base::tryCatch(...)
6. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. └─base (local) tryCatchOne(...)
8. └─value[[3L]](cond)
9. └─future.apply:::onError(e, futures = fs, debug = debug)
── Error ('test_FSelectInstanceMultiCrit.R:16:3'): eval_batch works ────────────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─inst$eval_batch(xdt) at test_FSelectInstanceMultiCrit.R:16:3
2. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
3. └─self$objective$eval_many(xss_trafoed)
4. └─bbotk:::.__Objective__eval_many(...)
5. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
6. │ └─base::eval.parent(expr, n = 1L)
7. │ └─base::eval(expr, p)
8. │ └─base::eval(expr, p)
9. └─private$.eval_many(xss = xss, resampling = `<list>`)
10. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
11. └─mlr3::benchmark(...)
12. └─ResultData$new(grid, data_extra, store_backends = store_backends)
13. └─mlr3 (local) initialize(...)
14. └─mlr3:::.__ResultData__initialize(...)
15. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
16. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectInstanceMultiCrit.R:29:3'): objective_function works ────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─inst$objective_function(c(1, 1, 0, 0)) at test_FSelectInstanceMultiCrit.R:29:3
2. └─bbotk:::.__OptimInstanceBatch__objective_function(...)
3. └─private$.objective_function(x, self, self$objective_multiplicator)
4. └─inst$eval_batch(xdt)
5. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
6. └─self$objective$eval_many(xss_trafoed)
7. └─bbotk:::.__Objective__eval_many(...)
8. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
9. │ └─base::eval.parent(expr, n = 1L)
10. │ └─base::eval(expr, p)
11. │ └─base::eval(expr, p)
12. └─private$.eval_many(xss = xss, resampling = `<list>`)
13. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
14. └─mlr3::benchmark(...)
15. └─ResultData$new(grid, data_extra, store_backends = store_backends)
16. └─mlr3 (local) initialize(...)
17. └─mlr3:::.__ResultData__initialize(...)
18. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
19. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectInstanceMultiCrit.R:37:3'): store_benchmark_result flag works ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─inst$eval_batch(xdt) at test_FSelectInstanceMultiCrit.R:37:3
2. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
3. └─self$objective$eval_many(xss_trafoed)
4. └─bbotk:::.__Objective__eval_many(...)
5. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
6. │ └─base::eval.parent(expr, n = 1L)
7. │ └─base::eval(expr, p)
8. │ └─base::eval(expr, p)
9. └─private$.eval_many(xss = xss, resampling = `<list>`)
10. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
11. └─mlr3::benchmark(...)
12. └─ResultData$new(grid, data_extra, store_backends = store_backends)
13. └─mlr3 (local) initialize(...)
14. └─mlr3:::.__ResultData__initialize(...)
15. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
16. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectInstanceSingleCrit.R:16:3'): eval_batch works ───────────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─inst$eval_batch(xdt) at test_FSelectInstanceSingleCrit.R:16:3
2. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
3. └─self$objective$eval_many(xss_trafoed)
4. └─bbotk:::.__Objective__eval_many(...)
5. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
6. │ └─base::eval.parent(expr, n = 1L)
7. │ └─base::eval(expr, p)
8. │ └─base::eval(expr, p)
9. └─private$.eval_many(xss = xss, resampling = `<list>`)
10. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
11. └─mlr3::benchmark(...)
12. └─ResultData$new(grid, data_extra, store_backends = store_backends)
13. └─mlr3 (local) initialize(...)
14. └─mlr3:::.__ResultData__initialize(...)
15. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
16. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectInstanceSingleCrit.R:40:3'): objective_function works ───
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─inst$objective_function(c(1, 1, 0, 0)) at test_FSelectInstanceSingleCrit.R:40:3
2. └─bbotk:::.__OptimInstanceBatch__objective_function(...)
3. └─private$.objective_function(x, self, self$objective_multiplicator)
4. └─inst$eval_batch(xdt)
5. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
6. └─self$objective$eval_many(xss_trafoed)
7. └─bbotk:::.__Objective__eval_many(...)
8. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
9. │ └─base::eval.parent(expr, n = 1L)
10. │ └─base::eval(expr, p)
11. │ └─base::eval(expr, p)
12. └─private$.eval_many(xss = xss, resampling = `<list>`)
13. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
14. └─mlr3::benchmark(...)
15. └─ResultData$new(grid, data_extra, store_backends = store_backends)
16. └─mlr3 (local) initialize(...)
17. └─mlr3:::.__ResultData__initialize(...)
18. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
19. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectInstanceSingleCrit.R:48:3'): store_benchmark_result flag works ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─inst$eval_batch(xdt) at test_FSelectInstanceSingleCrit.R:48:3
2. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
3. └─self$objective$eval_many(xss_trafoed)
4. └─bbotk:::.__Objective__eval_many(...)
5. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
6. │ └─base::eval.parent(expr, n = 1L)
7. │ └─base::eval(expr, p)
8. │ └─base::eval(expr, p)
9. └─private$.eval_many(xss = xss, resampling = `<list>`)
10. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
11. └─mlr3::benchmark(...)
12. └─ResultData$new(grid, data_extra, store_backends = store_backends)
13. └─mlr3 (local) initialize(...)
14. └─mlr3:::.__ResultData__initialize(...)
15. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
16. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectInstanceSingleCrit.R:77:3'): always include variable works ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3fselect::fselect(...) at test_FSelectInstanceSingleCrit.R:77:3
2. └─fselector$optimize(instance)
3. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
4. └─bbotk::optimize_batch_default(inst, self)
5. ├─base::tryCatch(...)
6. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
8. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
9. └─get_private(optimizer)$.optimize(instance)
10. └─mlr3fselect:::.__FSelectorBatchRandomSearch__.optimize(...)
11. └─inst$eval_batch(as.data.table(X))
12. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
13. └─self$objective$eval_many(xss_trafoed)
14. └─bbotk:::.__Objective__eval_many(...)
15. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
16. │ └─base::eval.parent(expr, n = 1L)
17. │ └─base::eval(expr, p)
18. │ └─base::eval(expr, p)
19. └─private$.eval_many(xss = xss, resampling = `<list>`)
20. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
21. └─mlr3::benchmark(...)
22. └─ResultData$new(grid, data_extra, store_backends = store_backends)
23. └─mlr3 (local) initialize(...)
24. └─mlr3:::.__ResultData__initialize(...)
25. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
26. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectInstanceSingleCrit.R:103:3'): always include variables works ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3fselect::fselect(...) at test_FSelectInstanceSingleCrit.R:103:3
2. └─fselector$optimize(instance)
3. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
4. └─bbotk::optimize_batch_default(inst, self)
5. ├─base::tryCatch(...)
6. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
8. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
9. └─get_private(optimizer)$.optimize(instance)
10. └─mlr3fselect:::.__FSelectorBatchRandomSearch__.optimize(...)
11. └─inst$eval_batch(as.data.table(X))
12. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
13. └─self$objective$eval_many(xss_trafoed)
14. └─bbotk:::.__Objective__eval_many(...)
15. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
16. │ └─base::eval.parent(expr, n = 1L)
17. │ └─base::eval(expr, p)
18. │ └─base::eval(expr, p)
19. └─private$.eval_many(xss = xss, resampling = `<list>`)
20. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
21. └─mlr3::benchmark(...)
22. └─ResultData$new(grid, data_extra, store_backends = store_backends)
23. └─mlr3 (local) initialize(...)
24. └─mlr3:::.__ResultData__initialize(...)
25. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
26. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectInstanceSingleCrit.R:131:3'): objective contains no benchmark results ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─fselector$optimize(instance) at test_FSelectInstanceSingleCrit.R:131:3
2. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
3. └─bbotk::optimize_batch_default(inst, self)
4. ├─base::tryCatch(...)
5. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
6. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
7. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
8. └─get_private(optimizer)$.optimize(instance)
9. └─mlr3fselect:::.__FSelectorBatchRandomSearch__.optimize(...)
10. └─inst$eval_batch(as.data.table(X))
11. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
12. └─self$objective$eval_many(xss_trafoed)
13. └─bbotk:::.__Objective__eval_many(...)
14. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
15. │ └─base::eval.parent(expr, n = 1L)
16. │ └─base::eval(expr, p)
17. │ └─base::eval(expr, p)
18. └─private$.eval_many(xss = xss, resampling = `<list>`)
19. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
20. └─mlr3::benchmark(...)
21. └─ResultData$new(grid, data_extra, store_backends = store_backends)
22. └─mlr3 (local) initialize(...)
23. └─mlr3:::.__ResultData__initialize(...)
24. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
25. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorBatchDesignPoints.R:8:3'): default parameters work ────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─global test_fselector("design_points", design = design) at test_FSelectorBatchDesignPoints.R:8:3
2. └─mlr3fselect::fselect(...)
3. └─fselector$optimize(instance)
4. └─mlr3fselect:::.__FSelectorBatchFromOptimizerBatch__optimize(...)
5. └─private$.optimizer$optimize(inst)
6. └─bbotk:::.__OptimizerBatch__optimize(...)
7. └─bbotk::optimize_batch_default(inst, self)
8. ├─base::tryCatch(...)
9. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
10. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
11. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
12. └─get_private(optimizer)$.optimize(instance)
13. └─bbotk:::.__OptimizerBatchDesignPoints__.optimize(...)
14. └─instance$eval_batch(design[inds, ])
15. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
16. └─self$objective$eval_many(xss_trafoed)
17. └─bbotk:::.__Objective__eval_many(...)
18. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
19. │ └─base::eval.parent(expr, n = 1L)
20. │ └─base::eval(expr, p)
21. │ └─base::eval(expr, p)
22. └─private$.eval_many(xss = xss, resampling = `<list>`)
23. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
24. └─mlr3::benchmark(...)
25. └─ResultData$new(grid, data_extra, store_backends = store_backends)
26. └─mlr3 (local) initialize(...)
27. └─mlr3:::.__ResultData__initialize(...)
28. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
29. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorBatchDesignPoints.R:20:3'): multi-crit works ──────────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─global test_fselector_2D("design_points", design = design) at test_FSelectorBatchDesignPoints.R:20:3
2. └─mlr3fselect::fselect(...)
3. └─fselector$optimize(instance)
4. └─mlr3fselect:::.__FSelectorBatchFromOptimizerBatch__optimize(...)
5. └─private$.optimizer$optimize(inst)
6. └─bbotk:::.__OptimizerBatch__optimize(...)
7. └─bbotk::optimize_batch_default(inst, self)
8. ├─base::tryCatch(...)
9. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
10. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
11. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
12. └─get_private(optimizer)$.optimize(instance)
13. └─bbotk:::.__OptimizerBatchDesignPoints__.optimize(...)
14. └─instance$eval_batch(design[inds, ])
15. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
16. └─self$objective$eval_many(xss_trafoed)
17. └─bbotk:::.__Objective__eval_many(...)
18. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
19. │ └─base::eval.parent(expr, n = 1L)
20. │ └─base::eval(expr, p)
21. │ └─base::eval(expr, p)
22. └─private$.eval_many(xss = xss, resampling = `<list>`)
23. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
24. └─mlr3::benchmark(...)
25. └─ResultData$new(grid, data_extra, store_backends = store_backends)
26. └─mlr3 (local) initialize(...)
27. └─mlr3:::.__ResultData__initialize(...)
28. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
29. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorExhaustiveSearch.R:2:3'): default parameters work ─────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─global test_fselector("exhaustive_search") at test_FSelectorExhaustiveSearch.R:2:3
2. └─mlr3fselect::fselect(...)
3. └─fselector$optimize(instance)
4. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
5. └─bbotk::optimize_batch_default(inst, self)
6. ├─base::tryCatch(...)
7. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
8. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
9. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
10. └─get_private(optimizer)$.optimize(instance)
11. └─mlr3fselect:::.__FSelectorBatchExhaustiveSearch__.optimize(...)
12. └─mlr3misc::walk(chunks, function(row_ids) inst$eval_batch(states[row_ids]))
13. └─mlr3fselect (local) .f(.xi, ...)
14. └─inst$eval_batch(states[row_ids])
15. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
16. └─self$objective$eval_many(xss_trafoed)
17. └─bbotk:::.__Objective__eval_many(...)
18. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
19. │ └─base::eval.parent(expr, n = 1L)
20. │ └─base::eval(expr, p)
21. │ └─base::eval(expr, p)
22. └─private$.eval_many(xss = xss, resampling = `<list>`)
23. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
24. └─mlr3::benchmark(...)
25. └─ResultData$new(grid, data_extra, store_backends = store_backends)
26. └─mlr3 (local) initialize(...)
27. └─mlr3:::.__ResultData__initialize(...)
28. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
29. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorExhaustiveSearch.R:14:3'): max_features parameter works ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─global test_fselector("exhaustive_search", max_features = 2) at test_FSelectorExhaustiveSearch.R:14:3
2. └─mlr3fselect::fselect(...)
3. └─fselector$optimize(instance)
4. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
5. └─bbotk::optimize_batch_default(inst, self)
6. ├─base::tryCatch(...)
7. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
8. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
9. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
10. └─get_private(optimizer)$.optimize(instance)
11. └─mlr3fselect:::.__FSelectorBatchExhaustiveSearch__.optimize(...)
12. └─mlr3misc::walk(chunks, function(row_ids) inst$eval_batch(states[row_ids]))
13. └─mlr3fselect (local) .f(.xi, ...)
14. └─inst$eval_batch(states[row_ids])
15. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
16. └─self$objective$eval_many(xss_trafoed)
17. └─bbotk:::.__Objective__eval_many(...)
18. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
19. │ └─base::eval.parent(expr, n = 1L)
20. │ └─base::eval(expr, p)
21. │ └─base::eval(expr, p)
22. └─private$.eval_many(xss = xss, resampling = `<list>`)
23. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
24. └─mlr3::benchmark(...)
25. └─ResultData$new(grid, data_extra, store_backends = store_backends)
26. └─mlr3 (local) initialize(...)
27. └─mlr3:::.__ResultData__initialize(...)
28. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
29. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorExhaustiveSearch.R:23:3'): multi-crit works ───────────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─global test_fselector_2D("exhaustive_search") at test_FSelectorExhaustiveSearch.R:23:3
2. └─mlr3fselect::fselect(...)
3. └─fselector$optimize(instance)
4. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
5. └─bbotk::optimize_batch_default(inst, self)
6. ├─base::tryCatch(...)
7. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
8. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
9. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
10. └─get_private(optimizer)$.optimize(instance)
11. └─mlr3fselect:::.__FSelectorBatchExhaustiveSearch__.optimize(...)
12. └─mlr3misc::walk(chunks, function(row_ids) inst$eval_batch(states[row_ids]))
13. └─mlr3fselect (local) .f(.xi, ...)
14. └─inst$eval_batch(states[row_ids])
15. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
16. └─self$objective$eval_many(xss_trafoed)
17. └─bbotk:::.__Objective__eval_many(...)
18. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
19. │ └─base::eval.parent(expr, n = 1L)
20. │ └─base::eval(expr, p)
21. │ └─base::eval(expr, p)
22. └─private$.eval_many(xss = xss, resampling = `<list>`)
23. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
24. └─mlr3::benchmark(...)
25. └─ResultData$new(grid, data_extra, store_backends = store_backends)
26. └─mlr3 (local) initialize(...)
27. └─mlr3:::.__ResultData__initialize(...)
28. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
29. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorExhaustiveSearch.R:27:3'): batch_size parameter works ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─global test_fselector("exhaustive_search", batch_size = 2) at test_FSelectorExhaustiveSearch.R:27:3
2. └─mlr3fselect::fselect(...)
3. └─fselector$optimize(instance)
4. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
5. └─bbotk::optimize_batch_default(inst, self)
6. ├─base::tryCatch(...)
7. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
8. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
9. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
10. └─get_private(optimizer)$.optimize(instance)
11. └─mlr3fselect:::.__FSelectorBatchExhaustiveSearch__.optimize(...)
12. └─mlr3misc::walk(chunks, function(row_ids) inst$eval_batch(states[row_ids]))
13. └─mlr3fselect (local) .f(.xi, ...)
14. └─inst$eval_batch(states[row_ids])
15. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
16. └─self$objective$eval_many(xss_trafoed)
17. └─bbotk:::.__Objective__eval_many(...)
18. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
19. │ └─base::eval.parent(expr, n = 1L)
20. │ └─base::eval(expr, p)
21. │ └─base::eval(expr, p)
22. └─private$.eval_many(xss = xss, resampling = `<list>`)
23. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
24. └─mlr3::benchmark(...)
25. └─ResultData$new(grid, data_extra, store_backends = store_backends)
26. └─mlr3 (local) initialize(...)
27. └─mlr3:::.__ResultData__initialize(...)
28. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
29. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorGeneticSearch.R:4:3'): default parameters work ────────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─global test_fselector("genetic_search", term_evals = 10) at test_FSelectorGeneticSearch.R:4:3
2. └─mlr3fselect::fselect(...)
3. └─fselector$optimize(instance)
4. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
5. └─bbotk::optimize_batch_default(inst, self)
6. ├─base::tryCatch(...)
7. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
8. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
9. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
10. └─get_private(optimizer)$.optimize(instance)
11. └─mlr3fselect:::.__FSelectorBatchGeneticSearch__.optimize(...)
12. ├─mlr3misc::invoke(...)
13. │ └─base::eval.parent(expr, n = 1L)
14. │ └─base::eval(expr, p)
15. │ └─base::eval(expr, p)
16. └─genalg::rbga.bin(...)
17. └─bbotk (local) evalFunc(population[object, ])
18. └─bbotk:::.__OptimInstanceBatch__objective_function(...)
19. └─private$.objective_function(x, self, self$objective_multiplicator)
20. └─inst$eval_batch(xdt)
21. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
22. └─self$objective$eval_many(xss_trafoed)
23. └─bbotk:::.__Objective__eval_many(...)
24. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
25. │ └─base::eval.parent(expr, n = 1L)
26. │ └─base::eval(expr, p)
27. │ └─base::eval(expr, p)
28. └─private$.eval_many(xss = xss, resampling = `<list>`)
29. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
30. └─mlr3::benchmark(...)
31. └─ResultData$new(grid, data_extra, store_backends = store_backends)
32. └─mlr3 (local) initialize(...)
33. └─mlr3:::.__ResultData__initialize(...)
34. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
35. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorRFE.R:2:3'): importance is stored in the archive ──────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─global test_fselector("rfe", store_models = TRUE) at test_FSelectorRFE.R:2:3
2. └─mlr3fselect::fselect(...)
3. └─fselector$optimize(instance)
4. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
5. └─bbotk::optimize_batch_default(inst, self)
6. ├─base::tryCatch(...)
7. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
8. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
9. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
10. └─get_private(optimizer)$.optimize(instance)
11. └─mlr3fselect:::.__FSelectorBatchRFE__.optimize(...)
12. └─mlr3fselect:::rfe_workhorse(inst, subsets, recursive, aggregation)
13. └─inst$eval_batch(states)
14. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
15. └─self$objective$eval_many(xss_trafoed)
16. └─bbotk:::.__Objective__eval_many(...)
17. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
18. │ └─base::eval.parent(expr, n = 1L)
19. │ └─base::eval(expr, p)
20. │ └─base::eval(expr, p)
21. └─private$.eval_many(xss = xss, resampling = `<list>`)
22. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
23. └─mlr3::benchmark(...)
24. └─ResultData$new(grid, data_extra, store_backends = store_backends)
25. └─mlr3 (local) initialize(...)
26. └─mlr3:::.__ResultData__initialize(...)
27. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
28. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorRFE.R:11:3'): default parameters work ─────────────────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─global test_fselector("rfe", store_models = TRUE) at test_FSelectorRFE.R:11:3
2. └─mlr3fselect::fselect(...)
3. └─fselector$optimize(instance)
4. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
5. └─bbotk::optimize_batch_default(inst, self)
6. ├─base::tryCatch(...)
7. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
8. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
9. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
10. └─get_private(optimizer)$.optimize(instance)
11. └─mlr3fselect:::.__FSelectorBatchRFE__.optimize(...)
12. └─mlr3fselect:::rfe_workhorse(inst, subsets, recursive, aggregation)
13. └─inst$eval_batch(states)
14. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
15. └─self$objective$eval_many(xss_trafoed)
16. └─bbotk:::.__Objective__eval_many(...)
17. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
18. │ └─base::eval.parent(expr, n = 1L)
19. │ └─base::eval(expr, p)
20. │ └─base::eval(expr, p)
21. └─private$.eval_many(xss = xss, resampling = `<list>`)
22. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
23. └─mlr3::benchmark(...)
24. └─ResultData$new(grid, data_extra, store_backends = store_backends)
25. └─mlr3 (local) initialize(...)
26. └─mlr3:::.__ResultData__initialize(...)
27. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
28. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorRFE.R:18:3'): recursive parameter works ───────────────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─global test_fselector("rfe", recursive = FALSE, store_models = TRUE) at test_FSelectorRFE.R:18:3
2. └─mlr3fselect::fselect(...)
3. └─fselector$optimize(instance)
4. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
5. └─bbotk::optimize_batch_default(inst, self)
6. ├─base::tryCatch(...)
7. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
8. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
9. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
10. └─get_private(optimizer)$.optimize(instance)
11. └─mlr3fselect:::.__FSelectorBatchRFE__.optimize(...)
12. └─mlr3fselect:::rfe_workhorse(inst, subsets, recursive, aggregation)
13. └─inst$eval_batch(states)
14. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
15. └─self$objective$eval_many(xss_trafoed)
16. └─bbotk:::.__Objective__eval_many(...)
17. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
18. │ └─base::eval.parent(expr, n = 1L)
19. │ └─base::eval(expr, p)
20. │ └─base::eval(expr, p)
21. └─private$.eval_many(xss = xss, resampling = `<list>`)
22. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
23. └─mlr3::benchmark(...)
24. └─ResultData$new(grid, data_extra, store_backends = store_backends)
25. └─mlr3 (local) initialize(...)
26. └─mlr3:::.__ResultData__initialize(...)
27. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
28. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorRFE.R:27:3'): feature_fraction parameter works ────────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─global test_fselector("rfe", feature_fraction = 0.9, store_models = TRUE) at test_FSelectorRFE.R:27:3
2. └─mlr3fselect::fselect(...)
3. └─fselector$optimize(instance)
4. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
5. └─bbotk::optimize_batch_default(inst, self)
6. ├─base::tryCatch(...)
7. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
8. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
9. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
10. └─get_private(optimizer)$.optimize(instance)
11. └─mlr3fselect:::.__FSelectorBatchRFE__.optimize(...)
12. └─mlr3fselect:::rfe_workhorse(inst, subsets, recursive, aggregation)
13. └─inst$eval_batch(states)
14. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
15. └─self$objective$eval_many(xss_trafoed)
16. └─bbotk:::.__Objective__eval_many(...)
17. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
18. │ └─base::eval.parent(expr, n = 1L)
19. │ └─base::eval(expr, p)
20. │ └─base::eval(expr, p)
21. └─private$.eval_many(xss = xss, resampling = `<list>`)
22. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
23. └─mlr3::benchmark(...)
24. └─ResultData$new(grid, data_extra, store_backends = store_backends)
25. └─mlr3 (local) initialize(...)
26. └─mlr3:::.__ResultData__initialize(...)
27. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
28. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorRFE.R:49:3'): feature_number parameter works ──────────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─global test_fselector("rfe", feature_number = 1, store_models = TRUE) at test_FSelectorRFE.R:49:3
2. └─mlr3fselect::fselect(...)
3. └─fselector$optimize(instance)
4. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
5. └─bbotk::optimize_batch_default(inst, self)
6. ├─base::tryCatch(...)
7. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
8. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
9. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
10. └─get_private(optimizer)$.optimize(instance)
11. └─mlr3fselect:::.__FSelectorBatchRFE__.optimize(...)
12. └─mlr3fselect:::rfe_workhorse(inst, subsets, recursive, aggregation)
13. └─inst$eval_batch(states)
14. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
15. └─self$objective$eval_many(xss_trafoed)
16. └─bbotk:::.__Objective__eval_many(...)
17. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
18. │ └─base::eval.parent(expr, n = 1L)
19. │ └─base::eval(expr, p)
20. │ └─base::eval(expr, p)
21. └─private$.eval_many(xss = xss, resampling = `<list>`)
22. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
23. └─mlr3::benchmark(...)
24. └─ResultData$new(grid, data_extra, store_backends = store_backends)
25. └─mlr3 (local) initialize(...)
26. └─mlr3:::.__ResultData__initialize(...)
27. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
28. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorRFE.R:63:3'): subset_size parameter works ─────────────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─global test_fselector("rfe", subset_sizes = c(3L, 1L), store_models = TRUE) at test_FSelectorRFE.R:63:3
2. └─mlr3fselect::fselect(...)
3. └─fselector$optimize(instance)
4. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
5. └─bbotk::optimize_batch_default(inst, self)
6. ├─base::tryCatch(...)
7. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
8. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
9. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
10. └─get_private(optimizer)$.optimize(instance)
11. └─mlr3fselect:::.__FSelectorBatchRFE__.optimize(...)
12. └─mlr3fselect:::rfe_workhorse(inst, subsets, recursive, aggregation)
13. └─inst$eval_batch(states)
14. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
15. └─self$objective$eval_many(xss_trafoed)
16. └─bbotk:::.__Objective__eval_many(...)
17. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
18. │ └─base::eval.parent(expr, n = 1L)
19. │ └─base::eval(expr, p)
20. │ └─base::eval(expr, p)
21. └─private$.eval_many(xss = xss, resampling = `<list>`)
22. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
23. └─mlr3::benchmark(...)
24. └─ResultData$new(grid, data_extra, store_backends = store_backends)
25. └─mlr3 (local) initialize(...)
26. └─mlr3:::.__ResultData__initialize(...)
27. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
28. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorRFE.R:83:3'): subset is full feature set works ────────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─global test_fselector("rfe", feature_number = 4, store_models = TRUE) at test_FSelectorRFE.R:83:3
2. └─mlr3fselect::fselect(...)
3. └─fselector$optimize(instance)
4. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
5. └─bbotk::optimize_batch_default(inst, self)
6. ├─base::tryCatch(...)
7. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
8. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
9. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
10. └─get_private(optimizer)$.optimize(instance)
11. └─mlr3fselect:::.__FSelectorBatchRFE__.optimize(...)
12. └─mlr3fselect:::rfe_workhorse(inst, subsets, recursive, aggregation)
13. └─inst$eval_batch(states)
14. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
15. └─self$objective$eval_many(xss_trafoed)
16. └─bbotk:::.__Objective__eval_many(...)
17. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
18. │ └─base::eval.parent(expr, n = 1L)
19. │ └─base::eval(expr, p)
20. │ └─base::eval(expr, p)
21. └─private$.eval_many(xss = xss, resampling = `<list>`)
22. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
23. └─mlr3::benchmark(...)
24. └─ResultData$new(grid, data_extra, store_backends = store_backends)
25. └─mlr3 (local) initialize(...)
26. └─mlr3:::.__ResultData__initialize(...)
27. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
28. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorRFE.R:131:3'): rank_importance function works ─────────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3::resample(task, learner, rsmp("cv", folds = 3), store_models = TRUE) at test_FSelectorRFE.R:131:3
2. └─ResultData$new(data, data_extra, store_backends = store_backends)
3. └─mlr3 (local) initialize(...)
4. └─mlr3:::.__ResultData__initialize(...)
5. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
6. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorRFE.R:142:3'): average_importance function works ──────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3::resample(task, learner, rsmp("cv", folds = 3), store_models = TRUE) at test_FSelectorRFE.R:142:3
2. └─ResultData$new(data, data_extra, store_backends = store_backends)
3. └─mlr3 (local) initialize(...)
4. └─mlr3:::.__ResultData__initialize(...)
5. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
6. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorRFE.R:154:3'): works without storing models ───────────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3fselect::fselect(...) at test_FSelectorRFE.R:154:3
2. └─fselector$optimize(instance)
3. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
4. └─bbotk::optimize_batch_default(inst, self)
5. ├─base::tryCatch(...)
6. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
8. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
9. └─get_private(optimizer)$.optimize(instance)
10. └─mlr3fselect:::.__FSelectorBatchRFE__.optimize(...)
11. └─mlr3fselect:::rfe_workhorse(inst, subsets, recursive, aggregation)
12. └─inst$eval_batch(states)
13. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
14. └─self$objective$eval_many(xss_trafoed)
15. └─bbotk:::.__Objective__eval_many(...)
16. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
17. │ └─base::eval.parent(expr, n = 1L)
18. │ └─base::eval(expr, p)
19. │ └─base::eval(expr, p)
20. └─private$.eval_many(xss = xss, resampling = `<list>`)
21. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
22. └─mlr3::benchmark(...)
23. └─ResultData$new(grid, data_extra, store_backends = store_backends)
24. └─mlr3 (local) initialize(...)
25. └─mlr3:::.__ResultData__initialize(...)
26. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
27. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorRFE.R:233:3'): optimal features are selected with rank ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─optimizer$optimize(instance) at test_FSelectorRFE.R:233:3
2. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
3. └─bbotk::optimize_batch_default(inst, self)
4. ├─base::tryCatch(...)
5. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
6. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
7. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
8. └─get_private(optimizer)$.optimize(instance)
9. └─mlr3fselect:::.__FSelectorBatchRFE__.optimize(...)
10. └─mlr3fselect:::rfe_workhorse(inst, subsets, recursive, aggregation)
11. └─inst$eval_batch(states)
12. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
13. └─self$objective$eval_many(xss_trafoed)
14. └─bbotk:::.__Objective__eval_many(...)
15. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
16. │ └─base::eval.parent(expr, n = 1L)
17. │ └─base::eval(expr, p)
18. │ └─base::eval(expr, p)
19. └─private$.eval_many(xss = xss, resampling = `<list>`)
20. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
21. └─mlr3::benchmark(...)
22. └─ResultData$new(grid, data_extra, store_backends = store_backends)
23. └─mlr3 (local) initialize(...)
24. └─mlr3:::.__ResultData__initialize(...)
25. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
26. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorRFE.R:290:3'): optimal features are selected with mean ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─optimizer$optimize(instance) at test_FSelectorRFE.R:290:3
2. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
3. └─bbotk::optimize_batch_default(inst, self)
4. ├─base::tryCatch(...)
5. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
6. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
7. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
8. └─get_private(optimizer)$.optimize(instance)
9. └─mlr3fselect:::.__FSelectorBatchRFE__.optimize(...)
10. └─mlr3fselect:::rfe_workhorse(inst, subsets, recursive, aggregation)
11. └─inst$eval_batch(states)
12. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
13. └─self$objective$eval_many(xss_trafoed)
14. └─bbotk:::.__Objective__eval_many(...)
15. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
16. │ └─base::eval.parent(expr, n = 1L)
17. │ └─base::eval(expr, p)
18. │ └─base::eval(expr, p)
19. └─private$.eval_many(xss = xss, resampling = `<list>`)
20. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
21. └─mlr3::benchmark(...)
22. └─ResultData$new(grid, data_extra, store_backends = store_backends)
23. └─mlr3 (local) initialize(...)
24. └─mlr3:::.__ResultData__initialize(...)
25. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
26. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorRFECV.R:12:3'): extra columns are stored in the archive ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─optimizer$optimize(instance) at test_FSelectorRFECV.R:12:3
2. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
3. └─bbotk::optimize_batch_default(inst, self)
4. ├─base::tryCatch(...)
5. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
6. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
7. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
8. └─get_private(optimizer)$.optimize(instance)
9. └─mlr3fselect:::.__FSelectorBatchRFECV__.optimize(...)
10. └─mlr3fselect:::rfe_workhorse(inst, subsets, recursive, folds = resampling_cv$iters)
11. └─inst$eval_batch(states)
12. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
13. └─self$objective$eval_many(xss_trafoed)
14. └─bbotk:::.__Objective__eval_many(...)
15. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
16. │ └─base::eval.parent(expr, n = 1L)
17. │ └─base::eval(expr, p)
18. │ └─base::eval(expr, p)
19. └─private$.eval_many(xss = xss, resampling = `<list>`)
20. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
21. └─mlr3::benchmark(...)
22. └─ResultData$new(grid, data_extra, store_backends = store_backends)
23. └─mlr3 (local) initialize(...)
24. └─mlr3:::.__ResultData__initialize(...)
25. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
26. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorRFECV.R:32:3'): resampling is converted ───────────────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─optimizer$optimize(instance) at test_FSelectorRFECV.R:32:3
2. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
3. └─bbotk::optimize_batch_default(inst, self)
4. ├─base::tryCatch(...)
5. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
6. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
7. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
8. └─get_private(optimizer)$.optimize(instance)
9. └─mlr3fselect:::.__FSelectorBatchRFECV__.optimize(...)
10. └─mlr3fselect:::rfe_workhorse(inst, subsets, recursive, folds = resampling_cv$iters)
11. └─inst$eval_batch(states)
12. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
13. └─self$objective$eval_many(xss_trafoed)
14. └─bbotk:::.__Objective__eval_many(...)
15. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
16. │ └─base::eval.parent(expr, n = 1L)
17. │ └─base::eval(expr, p)
18. │ └─base::eval(expr, p)
19. └─private$.eval_many(xss = xss, resampling = `<list>`)
20. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
21. └─mlr3::benchmark(...)
22. └─ResultData$new(grid, data_extra, store_backends = store_backends)
23. └─mlr3 (local) initialize(...)
24. └─mlr3:::.__ResultData__initialize(...)
25. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
26. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorRFECV.R:61:3'): default parameters work ───────────────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─optimizer$optimize(instance) at test_FSelectorRFECV.R:61:3
2. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
3. └─bbotk::optimize_batch_default(inst, self)
4. ├─base::tryCatch(...)
5. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
6. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
7. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
8. └─get_private(optimizer)$.optimize(instance)
9. └─mlr3fselect:::.__FSelectorBatchRFECV__.optimize(...)
10. └─mlr3fselect:::rfe_workhorse(inst, subsets, recursive, folds = resampling_cv$iters)
11. └─inst$eval_batch(states)
12. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
13. └─self$objective$eval_many(xss_trafoed)
14. └─bbotk:::.__Objective__eval_many(...)
15. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
16. │ └─base::eval.parent(expr, n = 1L)
17. │ └─base::eval(expr, p)
18. │ └─base::eval(expr, p)
19. └─private$.eval_many(xss = xss, resampling = `<list>`)
20. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
21. └─mlr3::benchmark(...)
22. └─ResultData$new(grid, data_extra, store_backends = store_backends)
23. └─mlr3 (local) initialize(...)
24. └─mlr3:::.__ResultData__initialize(...)
25. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
26. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorRFECV.R:118:3'): optimal features are selected ────────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─optimizer$optimize(instance) at test_FSelectorRFECV.R:118:3
2. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
3. └─bbotk::optimize_batch_default(inst, self)
4. ├─base::tryCatch(...)
5. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
6. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
7. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
8. └─get_private(optimizer)$.optimize(instance)
9. └─mlr3fselect:::.__FSelectorBatchRFECV__.optimize(...)
10. └─mlr3fselect:::rfe_workhorse(inst, subsets, recursive, folds = resampling_cv$iters)
11. └─inst$eval_batch(states)
12. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
13. └─self$objective$eval_many(xss_trafoed)
14. └─bbotk:::.__Objective__eval_many(...)
15. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
16. │ └─base::eval.parent(expr, n = 1L)
17. │ └─base::eval(expr, p)
18. │ └─base::eval(expr, p)
19. └─private$.eval_many(xss = xss, resampling = `<list>`)
20. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
21. └─mlr3::benchmark(...)
22. └─ResultData$new(grid, data_extra, store_backends = store_backends)
23. └─mlr3 (local) initialize(...)
24. └─mlr3:::.__ResultData__initialize(...)
25. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
26. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorRandomSearch.R:2:3'): default parameters work ─────────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─global test_fselector("random_search", batch_size = 5, term_evals = 10) at test_FSelectorRandomSearch.R:2:3
2. └─mlr3fselect::fselect(...)
3. └─fselector$optimize(instance)
4. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
5. └─bbotk::optimize_batch_default(inst, self)
6. ├─base::tryCatch(...)
7. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
8. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
9. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
10. └─get_private(optimizer)$.optimize(instance)
11. └─mlr3fselect:::.__FSelectorBatchRandomSearch__.optimize(...)
12. └─inst$eval_batch(as.data.table(X))
13. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
14. └─self$objective$eval_many(xss_trafoed)
15. └─bbotk:::.__Objective__eval_many(...)
16. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
17. │ └─base::eval.parent(expr, n = 1L)
18. │ └─base::eval(expr, p)
19. │ └─base::eval(expr, p)
20. └─private$.eval_many(xss = xss, resampling = `<list>`)
21. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
22. └─mlr3::benchmark(...)
23. └─ResultData$new(grid, data_extra, store_backends = store_backends)
24. └─mlr3 (local) initialize(...)
25. └─mlr3:::.__ResultData__initialize(...)
26. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
27. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorRandomSearch.R:6:3'): max_features parameter work ─────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─global test_fselector("random_search", max_features = 1, term_evals = 10) at test_FSelectorRandomSearch.R:6:3
2. └─mlr3fselect::fselect(...)
3. └─fselector$optimize(instance)
4. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
5. └─bbotk::optimize_batch_default(inst, self)
6. ├─base::tryCatch(...)
7. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
8. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
9. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
10. └─get_private(optimizer)$.optimize(instance)
11. └─mlr3fselect:::.__FSelectorBatchRandomSearch__.optimize(...)
12. └─inst$eval_batch(as.data.table(X))
13. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
14. └─self$objective$eval_many(xss_trafoed)
15. └─bbotk:::.__Objective__eval_many(...)
16. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
17. │ └─base::eval.parent(expr, n = 1L)
18. │ └─base::eval(expr, p)
19. │ └─base::eval(expr, p)
20. └─private$.eval_many(xss = xss, resampling = `<list>`)
21. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
22. └─mlr3::benchmark(...)
23. └─ResultData$new(grid, data_extra, store_backends = store_backends)
24. └─mlr3 (local) initialize(...)
25. └─mlr3:::.__ResultData__initialize(...)
26. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
27. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorRandomSearch.R:12:3'): multi-crit works ───────────────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─global test_fselector_2D("random_search", batch_size = 5, term_evals = 10) at test_FSelectorRandomSearch.R:12:3
2. └─mlr3fselect::fselect(...)
3. └─fselector$optimize(instance)
4. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
5. └─bbotk::optimize_batch_default(inst, self)
6. ├─base::tryCatch(...)
7. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
8. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
9. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
10. └─get_private(optimizer)$.optimize(instance)
11. └─mlr3fselect:::.__FSelectorBatchRandomSearch__.optimize(...)
12. └─inst$eval_batch(as.data.table(X))
13. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
14. └─self$objective$eval_many(xss_trafoed)
15. └─bbotk:::.__Objective__eval_many(...)
16. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
17. │ └─base::eval.parent(expr, n = 1L)
18. │ └─base::eval(expr, p)
19. │ └─base::eval(expr, p)
20. └─private$.eval_many(xss = xss, resampling = `<list>`)
21. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
22. └─mlr3::benchmark(...)
23. └─ResultData$new(grid, data_extra, store_backends = store_backends)
24. └─mlr3 (local) initialize(...)
25. └─mlr3:::.__ResultData__initialize(...)
26. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
27. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorSequential.R:2:3'): default parameters works ──────────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─global test_fselector("sequential") at test_FSelectorSequential.R:2:3
2. └─mlr3fselect::fselect(...)
3. └─fselector$optimize(instance)
4. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
5. └─bbotk::optimize_batch_default(inst, self)
6. ├─base::tryCatch(...)
7. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
8. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
9. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
10. └─get_private(optimizer)$.optimize(instance)
11. └─mlr3fselect:::.__FSelectorBatchSequential__.optimize(...)
12. └─inst$eval_batch(states)
13. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
14. └─self$objective$eval_many(xss_trafoed)
15. └─bbotk:::.__Objective__eval_many(...)
16. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
17. │ └─base::eval.parent(expr, n = 1L)
18. │ └─base::eval(expr, p)
19. │ └─base::eval(expr, p)
20. └─private$.eval_many(xss = xss, resampling = `<list>`)
21. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
22. └─mlr3::benchmark(...)
23. └─ResultData$new(grid, data_extra, store_backends = store_backends)
24. └─mlr3 (local) initialize(...)
25. └─mlr3:::.__ResultData__initialize(...)
26. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
27. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorSequential.R:11:3'): sbs strategy works ───────────────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─global test_fselector("sequential", strategy = "sbs") at test_FSelectorSequential.R:11:3
2. └─mlr3fselect::fselect(...)
3. └─fselector$optimize(instance)
4. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
5. └─bbotk::optimize_batch_default(inst, self)
6. ├─base::tryCatch(...)
7. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
8. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
9. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
10. └─get_private(optimizer)$.optimize(instance)
11. └─mlr3fselect:::.__FSelectorBatchSequential__.optimize(...)
12. └─inst$eval_batch(states)
13. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
14. └─self$objective$eval_many(xss_trafoed)
15. └─bbotk:::.__Objective__eval_many(...)
16. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
17. │ └─base::eval.parent(expr, n = 1L)
18. │ └─base::eval(expr, p)
19. │ └─base::eval(expr, p)
20. └─private$.eval_many(xss = xss, resampling = `<list>`)
21. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
22. └─mlr3::benchmark(...)
23. └─ResultData$new(grid, data_extra, store_backends = store_backends)
24. └─mlr3 (local) initialize(...)
25. └─mlr3:::.__ResultData__initialize(...)
26. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
27. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorSequential.R:20:3'): sfs strategy works with max_features parameter ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─global test_fselector("sequential", max_features = 2) at test_FSelectorSequential.R:20:3
2. └─mlr3fselect::fselect(...)
3. └─fselector$optimize(instance)
4. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
5. └─bbotk::optimize_batch_default(inst, self)
6. ├─base::tryCatch(...)
7. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
8. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
9. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
10. └─get_private(optimizer)$.optimize(instance)
11. └─mlr3fselect:::.__FSelectorBatchSequential__.optimize(...)
12. └─inst$eval_batch(states)
13. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
14. └─self$objective$eval_many(xss_trafoed)
15. └─bbotk:::.__Objective__eval_many(...)
16. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
17. │ └─base::eval.parent(expr, n = 1L)
18. │ └─base::eval(expr, p)
19. │ └─base::eval(expr, p)
20. └─private$.eval_many(xss = xss, resampling = `<list>`)
21. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
22. └─mlr3::benchmark(...)
23. └─ResultData$new(grid, data_extra, store_backends = store_backends)
24. └─mlr3 (local) initialize(...)
25. └─mlr3:::.__ResultData__initialize(...)
26. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
27. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorSequential.R:26:3'): sbs strategy works with max_features parameter ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─global test_fselector("sequential", max_features = 2, strategy = "sbs") at test_FSelectorSequential.R:26:3
2. └─mlr3fselect::fselect(...)
3. └─fselector$optimize(instance)
4. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
5. └─bbotk::optimize_batch_default(inst, self)
6. ├─base::tryCatch(...)
7. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
8. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
9. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
10. └─get_private(optimizer)$.optimize(instance)
11. └─mlr3fselect:::.__FSelectorBatchSequential__.optimize(...)
12. └─inst$eval_batch(states)
13. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
14. └─self$objective$eval_many(xss_trafoed)
15. └─bbotk:::.__Objective__eval_many(...)
16. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
17. │ └─base::eval.parent(expr, n = 1L)
18. │ └─base::eval(expr, p)
19. │ └─base::eval(expr, p)
20. └─private$.eval_many(xss = xss, resampling = `<list>`)
21. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
22. └─mlr3::benchmark(...)
23. └─ResultData$new(grid, data_extra, store_backends = store_backends)
24. └─mlr3 (local) initialize(...)
25. └─mlr3:::.__ResultData__initialize(...)
26. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
27. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorSequential.R:32:3'): optimization_path method works ───
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─global test_fselector("sequential") at test_FSelectorSequential.R:32:3
2. └─mlr3fselect::fselect(...)
3. └─fselector$optimize(instance)
4. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
5. └─bbotk::optimize_batch_default(inst, self)
6. ├─base::tryCatch(...)
7. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
8. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
9. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
10. └─get_private(optimizer)$.optimize(instance)
11. └─mlr3fselect:::.__FSelectorBatchSequential__.optimize(...)
12. └─inst$eval_batch(states)
13. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
14. └─self$objective$eval_many(xss_trafoed)
15. └─bbotk:::.__Objective__eval_many(...)
16. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
17. │ └─base::eval.parent(expr, n = 1L)
18. │ └─base::eval(expr, p)
19. │ └─base::eval(expr, p)
20. └─private$.eval_many(xss = xss, resampling = `<list>`)
21. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
22. └─mlr3::benchmark(...)
23. └─ResultData$new(grid, data_extra, store_backends = store_backends)
24. └─mlr3 (local) initialize(...)
25. └─mlr3:::.__ResultData__initialize(...)
26. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
27. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorSequential.R:39:3'): optimization_path method works with included uhash ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─global test_fselector("sequential") at test_FSelectorSequential.R:39:3
2. └─mlr3fselect::fselect(...)
3. └─fselector$optimize(instance)
4. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
5. └─bbotk::optimize_batch_default(inst, self)
6. ├─base::tryCatch(...)
7. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
8. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
9. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
10. └─get_private(optimizer)$.optimize(instance)
11. └─mlr3fselect:::.__FSelectorBatchSequential__.optimize(...)
12. └─inst$eval_batch(states)
13. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
14. └─self$objective$eval_many(xss_trafoed)
15. └─bbotk:::.__Objective__eval_many(...)
16. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
17. │ └─base::eval.parent(expr, n = 1L)
18. │ └─base::eval(expr, p)
19. │ └─base::eval(expr, p)
20. └─private$.eval_many(xss = xss, resampling = `<list>`)
21. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
22. └─mlr3::benchmark(...)
23. └─ResultData$new(grid, data_extra, store_backends = store_backends)
24. └─mlr3 (local) initialize(...)
25. └─mlr3:::.__ResultData__initialize(...)
26. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
27. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorShadowVariableSearch.R:2:3'): default parameters work ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─global test_fselector("shadow_variable_search", store_models = TRUE) at test_FSelectorShadowVariableSearch.R:2:3
2. └─mlr3fselect::fselect(...)
3. └─fselector$optimize(instance)
4. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
5. └─bbotk::optimize_batch_default(inst, self)
6. ├─base::tryCatch(...)
7. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
8. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
9. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
10. └─get_private(optimizer)$.optimize(instance)
11. └─mlr3fselect:::.__FSelectorBatchShadowVariableSearch__.optimize(...)
12. └─inst$eval_batch(states)
13. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
14. └─self$objective$eval_many(xss_trafoed)
15. └─bbotk:::.__Objective__eval_many(...)
16. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
17. │ └─base::eval.parent(expr, n = 1L)
18. │ └─base::eval(expr, p)
19. │ └─base::eval(expr, p)
20. └─private$.eval_many(xss = xss, resampling = `<list>`)
21. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
22. └─mlr3::benchmark(...)
23. └─ResultData$new(grid, data_extra, store_backends = store_backends)
24. └─mlr3 (local) initialize(...)
25. └─mlr3:::.__ResultData__initialize(...)
26. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
27. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorShadowVariableSearch.R:14:3'): task is permuted ───────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─fselector$optimize(instance) at test_FSelectorShadowVariableSearch.R:14:3
2. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
3. └─bbotk::optimize_batch_default(inst, self)
4. ├─base::tryCatch(...)
5. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
6. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
7. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
8. └─get_private(optimizer)$.optimize(instance)
9. └─mlr3fselect:::.__FSelectorBatchShadowVariableSearch__.optimize(...)
10. └─inst$eval_batch(states)
11. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
12. └─self$objective$eval_many(xss_trafoed)
13. └─bbotk:::.__Objective__eval_many(...)
14. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
15. │ └─base::eval.parent(expr, n = 1L)
16. │ └─base::eval(expr, p)
17. │ └─base::eval(expr, p)
18. └─private$.eval_many(xss = xss, resampling = `<list>`)
19. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
20. └─mlr3::benchmark(...)
21. └─ResultData$new(grid, data_extra, store_backends = store_backends)
22. └─mlr3 (local) initialize(...)
23. └─mlr3:::.__ResultData__initialize(...)
24. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
25. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorShadowVariableSearch.R:26:3'): first selected feature is a shadow variable works ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. ├─testthat::expect_error(fselector$optimize(instance), regexp = "The first selected feature is a shadow variable.") at test_FSelectorShadowVariableSearch.R:26: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. └─fselector$optimize(instance)
8. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
9. └─bbotk::optimize_batch_default(inst, self)
10. ├─base::tryCatch(...)
11. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
12. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
13. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
14. └─get_private(optimizer)$.optimize(instance)
15. └─mlr3fselect:::.__FSelectorBatchShadowVariableSearch__.optimize(...)
16. └─inst$eval_batch(states)
17. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
18. └─self$objective$eval_many(xss_trafoed)
19. └─bbotk:::.__Objective__eval_many(...)
20. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
21. │ └─base::eval.parent(expr, n = 1L)
22. │ └─base::eval(expr, p)
23. │ └─base::eval(expr, p)
24. └─private$.eval_many(xss = xss, resampling = `<list>`)
25. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
26. └─mlr3::benchmark(...)
27. └─ResultData$new(grid, data_extra, store_backends = store_backends)
28. └─mlr3 (local) initialize(...)
29. └─mlr3:::.__ResultData__initialize(...)
30. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
31. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorShadowVariableSearch.R:35:3'): second selected feature is a shadow variable works ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─fselector$optimize(instance) at test_FSelectorShadowVariableSearch.R:35:3
2. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
3. └─bbotk::optimize_batch_default(inst, self)
4. ├─base::tryCatch(...)
5. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
6. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
7. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
8. └─get_private(optimizer)$.optimize(instance)
9. └─mlr3fselect:::.__FSelectorBatchShadowVariableSearch__.optimize(...)
10. └─inst$eval_batch(states)
11. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
12. └─self$objective$eval_many(xss_trafoed)
13. └─bbotk:::.__Objective__eval_many(...)
14. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
15. │ └─base::eval.parent(expr, n = 1L)
16. │ └─base::eval(expr, p)
17. │ └─base::eval(expr, p)
18. └─private$.eval_many(xss = xss, resampling = `<list>`)
19. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
20. └─mlr3::benchmark(...)
21. └─ResultData$new(grid, data_extra, store_backends = store_backends)
22. └─mlr3 (local) initialize(...)
23. └─mlr3:::.__ResultData__initialize(...)
24. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
25. └─data.table:::`[.data.table`(...)
── Error ('test_FSelectorShadowVariableSearch.R:54:3'): search is terminated by terminator works ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─fselector$optimize(instance) at test_FSelectorShadowVariableSearch.R:54:3
2. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
3. └─bbotk::optimize_batch_default(inst, self)
4. ├─base::tryCatch(...)
5. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
6. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
7. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
8. └─get_private(optimizer)$.optimize(instance)
9. └─mlr3fselect:::.__FSelectorBatchShadowVariableSearch__.optimize(...)
10. └─inst$eval_batch(states)
11. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
12. └─self$objective$eval_many(xss_trafoed)
13. └─bbotk:::.__Objective__eval_many(...)
14. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
15. │ └─base::eval.parent(expr, n = 1L)
16. │ └─base::eval(expr, p)
17. │ └─base::eval(expr, p)
18. └─private$.eval_many(xss = xss, resampling = `<list>`)
19. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
20. └─mlr3::benchmark(...)
21. └─ResultData$new(grid, data_extra, store_backends = store_backends)
22. └─mlr3 (local) initialize(...)
23. └─mlr3:::.__ResultData__initialize(...)
24. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
25. └─data.table:::`[.data.table`(...)
── Error ('test_ObjectiveFSelect.R:15:3'): ObjectiveFSelectBatch ───────────────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─obj$eval_many(xss) at test_ObjectiveFSelect.R:15:3
2. └─bbotk:::.__Objective__eval_many(...)
3. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
4. │ └─base::eval.parent(expr, n = 1L)
5. │ └─base::eval(expr, p)
6. │ └─base::eval(expr, p)
7. └─private$.eval_many(xss = xss, resampling = `<list>`)
8. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
9. └─mlr3::benchmark(...)
10. └─ResultData$new(grid, 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_ObjectiveFSelect.R:35:3'): ObjectiveFSelectBatch works with multiple measures ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─obj$eval_many(xss) at test_ObjectiveFSelect.R:35:3
2. └─bbotk:::.__Objective__eval_many(...)
3. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
4. │ └─base::eval.parent(expr, n = 1L)
5. │ └─base::eval(expr, p)
6. │ └─base::eval(expr, p)
7. └─private$.eval_many(xss = xss, resampling = `<list>`)
8. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
9. └─mlr3::benchmark(...)
10. └─ResultData$new(grid, 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_ObjectiveFSelect.R:54:3'): ObjectiveFSelectBatch works with store_models ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─obj$eval_many(xss) at test_ObjectiveFSelect.R:54:3
2. └─bbotk:::.__Objective__eval_many(...)
3. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
4. │ └─base::eval.parent(expr, n = 1L)
5. │ └─base::eval(expr, p)
6. │ └─base::eval(expr, p)
7. └─private$.eval_many(xss = xss, resampling = `<list>`)
8. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
9. └─mlr3::benchmark(...)
10. └─ResultData$new(grid, 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_ObjectiveFSelect.R:67:5'): fast aggregation works ──────────────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. ├─global with_seed(...) at test_ObjectiveFSelect.R:66:3
2. │ └─base::force(expr)
3. └─mlr3fselect::fselect(...) at test_ObjectiveFSelect.R:67:5
4. └─fselector$optimize(instance)
5. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
6. └─bbotk::optimize_batch_default(inst, self)
7. ├─base::tryCatch(...)
8. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
9. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
10. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
11. └─get_private(optimizer)$.optimize(instance)
12. └─mlr3fselect:::.__FSelectorBatchRandomSearch__.optimize(...)
13. └─inst$eval_batch(as.data.table(X))
14. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
15. └─self$objective$eval_many(xss_trafoed)
16. └─bbotk:::.__Objective__eval_many(...)
17. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
18. │ └─base::eval.parent(expr, n = 1L)
19. │ └─base::eval(expr, p)
20. │ └─base::eval(expr, p)
21. └─private$.eval_many(xss = xss, resampling = `<list>`)
22. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
23. └─mlr3::benchmark(...)
24. └─ResultData$new(grid, data_extra, store_backends = store_backends)
25. └─mlr3 (local) initialize(...)
26. └─mlr3:::.__ResultData__initialize(...)
27. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
28. └─data.table:::`[.data.table`(...)
── Error ('test_ObjectiveFSelect.R:119:3'): fast aggregation conditions work ───
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3fselect::fselect(...) at test_ObjectiveFSelect.R:119:3
2. └─fselector$optimize(instance)
3. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
4. └─bbotk::optimize_batch_default(inst, self)
5. ├─base::tryCatch(...)
6. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
8. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
9. └─get_private(optimizer)$.optimize(instance)
10. └─mlr3fselect:::.__FSelectorBatchRandomSearch__.optimize(...)
11. └─inst$eval_batch(as.data.table(X))
12. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
13. └─self$objective$eval_many(xss_trafoed)
14. └─bbotk:::.__Objective__eval_many(...)
15. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
16. │ └─base::eval.parent(expr, n = 1L)
17. │ └─base::eval(expr, p)
18. │ └─base::eval(expr, p)
19. └─private$.eval_many(xss = xss, resampling = `<list>`)
20. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
21. └─mlr3::benchmark(...)
22. └─ResultData$new(grid, data_extra, store_backends = store_backends)
23. └─mlr3 (local) initialize(...)
24. └─mlr3:::.__ResultData__initialize(...)
25. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
26. └─data.table:::`[.data.table`(...)
── Error ('test_ObjectiveFSelectAsync.R:15:3'): objective async works ──────────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─objective$eval(xs) at test_ObjectiveFSelectAsync.R:15:3
2. └─bbotk:::.__Objective__eval(...)
3. ├─mlr3misc::invoke(private$.eval, xs = xs, .args = self$constants$values)
4. │ └─base::eval.parent(expr, n = 1L)
5. │ └─base::eval(expr, p)
6. │ └─base::eval(expr, p)
7. └─private$.eval(xs = xs, resampling = `<list>`)
8. └─mlr3fselect:::.__ObjectiveFSelectAsync__.eval(...)
9. └─mlr3::resample(...)
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_ObjectiveFSelectAsync.R:37:3'): store benchmark result works ───
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─objective$eval(xs) at test_ObjectiveFSelectAsync.R:37:3
2. └─bbotk:::.__Objective__eval(...)
3. ├─mlr3misc::invoke(private$.eval, xs = xs, .args = self$constants$values)
4. │ └─base::eval.parent(expr, n = 1L)
5. │ └─base::eval(expr, p)
6. │ └─base::eval(expr, p)
7. └─private$.eval(xs = xs, resampling = `<list>`)
8. └─mlr3fselect:::.__ObjectiveFSelectAsync__.eval(...)
9. └─mlr3::resample(...)
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_ObjectiveFSelectAsync.R:61:3'): store models works ─────────────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─objective$eval(xs) at test_ObjectiveFSelectAsync.R:61:3
2. └─bbotk:::.__Objective__eval(...)
3. ├─mlr3misc::invoke(private$.eval, xs = xs, .args = self$constants$values)
4. │ └─base::eval.parent(expr, n = 1L)
5. │ └─base::eval(expr, p)
6. │ └─base::eval(expr, p)
7. └─private$.eval(xs = xs, resampling = `<list>`)
8. └─mlr3fselect:::.__ObjectiveFSelectAsync__.eval(...)
9. └─mlr3::resample(...)
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_ObjectiveFSelectAsync.R:85:3'): rush objective with multiple measures works ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─objective$eval(xs) at test_ObjectiveFSelectAsync.R:85:3
2. └─bbotk:::.__Objective__eval(...)
3. ├─mlr3misc::invoke(private$.eval, xs = xs, .args = self$constants$values)
4. │ └─base::eval.parent(expr, n = 1L)
5. │ └─base::eval(expr, p)
6. │ └─base::eval(expr, p)
7. └─private$.eval(xs = xs, resampling = `<list>`)
8. └─mlr3fselect:::.__ObjectiveFSelectAsync__.eval(...)
9. └─mlr3::resample(...)
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_embedded_ensemble_fselect.R:4:5'): embedded efs works ──────────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. ├─global with_seed(...) at test_embedded_ensemble_fselect.R:3:3
2. │ └─base::force(expr)
3. └─mlr3fselect::embedded_ensemble_fselect(...) at test_embedded_ensemble_fselect.R:4:5
4. └─mlr3::benchmark(design, store_models = TRUE)
5. └─ResultData$new(grid, data_extra, store_backends = store_backends)
6. └─mlr3 (local) initialize(...)
7. └─mlr3:::.__ResultData__initialize(...)
8. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
9. └─data.table:::`[.data.table`(...)
── Error ('test_embedded_ensemble_fselect.R:69:5'): combine embedded efs results ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. ├─global with_seed(...) at test_embedded_ensemble_fselect.R:68:3
2. │ └─base::force(expr)
3. └─mlr3fselect::embedded_ensemble_fselect(...) at test_embedded_ensemble_fselect.R:69:5
4. └─mlr3::benchmark(design, store_models = TRUE)
5. └─ResultData$new(grid, data_extra, store_backends = store_backends)
6. └─mlr3 (local) initialize(...)
7. └─mlr3:::.__ResultData__initialize(...)
8. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
9. └─data.table:::`[.data.table`(...)
── Error ('test_ensemble_fselect.R:4:5'): efs works ────────────────────────────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. ├─global with_seed(...) at test_ensemble_fselect.R:3:3
2. │ └─base::force(expr)
3. └─mlr3fselect::ensemble_fselect(...) at test_ensemble_fselect.R:4:5
4. └─mlr3::benchmark(design, store_models = TRUE)
5. └─mlr3:::future_map(...)
6. └─future.apply::future_mapply(...)
7. └─future.apply:::future_xapply(...)
8. └─base::tryCatch(...)
9. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
10. └─base (local) tryCatchOne(...)
11. └─value[[3L]](cond)
12. └─future.apply:::onError(e, futures = fs, debug = debug)
── Error ('test_ensemble_fselect.R:99:5'): efs works with rfe ──────────────────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. ├─global with_seed(...) at test_ensemble_fselect.R:98:3
2. │ └─base::force(expr)
3. └─mlr3fselect::ensemble_fselect(...) at test_ensemble_fselect.R:99:5
4. └─mlr3::benchmark(design, store_models = TRUE)
5. └─mlr3:::future_map(...)
6. └─future.apply::future_mapply(...)
7. └─future.apply:::future_xapply(...)
8. └─base::tryCatch(...)
9. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
10. └─base (local) tryCatchOne(...)
11. └─value[[3L]](cond)
12. └─future.apply:::onError(e, futures = fs, debug = debug)
── Error ('test_ensemble_fselect.R:349:3'): different callbacks can be set ─────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3fselect::ensemble_fselect(...) at test_ensemble_fselect.R:349:3
2. └─mlr3::benchmark(design, store_models = TRUE)
3. └─mlr3:::future_map(...)
4. └─future.apply::future_mapply(...)
5. └─future.apply:::future_xapply(...)
6. └─base::tryCatch(...)
7. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
8. └─base (local) tryCatchOne(...)
9. └─value[[3L]](cond)
10. └─future.apply:::onError(e, futures = fs, debug = debug)
── Error ('test_extract_inner_fselect_archives.R:2:3'): extract_inner_fselect_archives function works with resample and cv ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3fselect::fselect_nested(...) at test_extract_inner_fselect_archives.R:2:3
2. └─mlr3::resample(task, afs, outer_resampling, store_models = TRUE)
3. └─mlr3:::future_map(...)
4. └─future.apply::future_mapply(...)
5. └─future.apply:::future_xapply(...)
6. └─base::tryCatch(...)
7. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
8. └─base (local) tryCatchOne(...)
9. └─value[[3L]](cond)
10. └─future.apply:::onError(e, futures = fs, debug = debug)
── Error ('test_extract_inner_fselect_archives.R:11:3'): extract_inner_fselect_archives function works with resample and repeated cv ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3fselect::fselect_nested(...) at test_extract_inner_fselect_archives.R:11:3
2. └─mlr3::resample(task, afs, outer_resampling, store_models = TRUE)
3. └─mlr3:::future_map(...)
4. └─future.apply::future_mapply(...)
5. └─future.apply:::future_xapply(...)
6. └─base::tryCatch(...)
7. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
8. └─base (local) tryCatchOne(...)
9. └─value[[3L]](cond)
10. └─future.apply:::onError(e, futures = fs, debug = debug)
── Error ('test_extract_inner_fselect_archives.R:24:3'): extract_inner_fselect_archives function works with benchmark and cv ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3::benchmark(grid, store_models = TRUE) at test_extract_inner_fselect_archives.R:24:3
2. └─mlr3:::future_map(...)
3. └─future.apply::future_mapply(...)
4. └─future.apply:::future_xapply(...)
5. └─base::tryCatch(...)
6. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. └─base (local) tryCatchOne(...)
8. └─value[[3L]](cond)
9. └─future.apply:::onError(e, futures = fs, debug = debug)
── Error ('test_extract_inner_fselect_archives.R:37:3'): extract_inner_fselect_archives function works with benchmark and repeated cv ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3::benchmark(grid, store_models = TRUE) at test_extract_inner_fselect_archives.R:37:3
2. └─mlr3:::future_map(...)
3. └─future.apply::future_mapply(...)
4. └─future.apply:::future_xapply(...)
5. └─base::tryCatch(...)
6. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. └─base (local) tryCatchOne(...)
8. └─value[[3L]](cond)
9. └─future.apply:::onError(e, futures = fs, debug = debug)
── Error ('test_extract_inner_fselect_archives.R:50:3'): extract_inner_fselect_archives function works with multiple tasks ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3::benchmark(grid, store_models = TRUE) at test_extract_inner_fselect_archives.R:50:3
2. └─mlr3:::future_map(...)
3. └─future.apply::future_mapply(...)
4. └─future.apply:::future_xapply(...)
5. └─base::tryCatch(...)
6. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. └─base (local) tryCatchOne(...)
8. └─value[[3L]](cond)
9. └─future.apply:::onError(e, futures = fs, debug = debug)
── Error ('test_extract_inner_fselect_archives.R:61:3'): extract_inner_fselect_archives function works with no models ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3::resample(tsk("iris"), at, resampling_outer, store_models = FALSE) at test_extract_inner_fselect_archives.R:61:3
2. └─mlr3:::future_map(...)
3. └─future.apply::future_mapply(...)
4. └─future.apply:::future_xapply(...)
5. └─base::tryCatch(...)
6. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. └─base (local) tryCatchOne(...)
8. └─value[[3L]](cond)
9. └─future.apply:::onError(e, futures = fs, debug = debug)
── Error ('test_extract_inner_fselect_archives.R:70:3'): extract_inner_fselect_archives function works with no instance ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3::resample(tsk("iris"), at, resampling_outer, store_models = TRUE) at test_extract_inner_fselect_archives.R:70:3
2. └─mlr3:::future_map(...)
3. └─future.apply::future_mapply(...)
4. └─future.apply:::future_xapply(...)
5. └─base::tryCatch(...)
6. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. └─base (local) tryCatchOne(...)
8. └─value[[3L]](cond)
9. └─future.apply:::onError(e, futures = fs, debug = debug)
── Error ('test_extract_inner_fselect_archives.R:80:3'): extract_inner_fselect_archives function works with benchmark and no models ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3::benchmark(grid, store_models = FALSE) at test_extract_inner_fselect_archives.R:80:3
2. └─mlr3:::future_map(...)
3. └─future.apply::future_mapply(...)
4. └─future.apply:::future_xapply(...)
5. └─base::tryCatch(...)
6. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. └─base (local) tryCatchOne(...)
8. └─value[[3L]](cond)
9. └─future.apply:::onError(e, futures = fs, debug = debug)
── Error ('test_extract_inner_fselect_archives.R:92:3'): extract_inner_fselect_archives function works with mixed store instance ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3::benchmark(grid, store_models = TRUE) at test_extract_inner_fselect_archives.R:92:3
2. └─mlr3:::future_map(...)
3. └─future.apply::future_mapply(...)
4. └─future.apply:::future_xapply(...)
5. └─base::tryCatch(...)
6. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. └─base (local) tryCatchOne(...)
8. └─value[[3L]](cond)
9. └─future.apply:::onError(e, futures = fs, debug = debug)
── Error ('test_extract_inner_fselect_archives.R:104:3'): extract_inner_fselect_archives function works with autofselector and learner ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3::benchmark(grid, store_models = TRUE) at test_extract_inner_fselect_archives.R:104:3
2. └─mlr3:::future_map(...)
3. └─future.apply::future_mapply(...)
4. └─future.apply:::future_xapply(...)
5. └─base::tryCatch(...)
6. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. └─base (local) tryCatchOne(...)
8. └─value[[3L]](cond)
9. └─future.apply:::onError(e, futures = fs, debug = debug)
── Error ('test_extract_inner_fselect_result.R:2:3'): extract_inner_fselect_results function works with resample and cv ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3fselect::fselect_nested(...) at test_extract_inner_fselect_result.R:2:3
2. └─mlr3::resample(task, afs, outer_resampling, store_models = TRUE)
3. └─mlr3:::future_map(...)
4. └─future.apply::future_mapply(...)
5. └─future.apply:::future_xapply(...)
6. └─base::tryCatch(...)
7. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
8. └─base (local) tryCatchOne(...)
9. └─value[[3L]](cond)
10. └─future.apply:::onError(e, futures = fs, debug = debug)
── Error ('test_extract_inner_fselect_result.R:11:3'): extract_inner_fselect_results function works with resample and repeated cv ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3fselect::fselect_nested(...) at test_extract_inner_fselect_result.R:11:3
2. └─mlr3::resample(task, afs, outer_resampling, store_models = TRUE)
3. └─mlr3:::future_map(...)
4. └─future.apply::future_mapply(...)
5. └─future.apply:::future_xapply(...)
6. └─base::tryCatch(...)
7. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
8. └─base (local) tryCatchOne(...)
9. └─value[[3L]](cond)
10. └─future.apply:::onError(e, futures = fs, debug = debug)
── Error ('test_extract_inner_fselect_result.R:24:3'): extract_inner_fselect_results function works with benchmark and cv ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3::benchmark(grid, store_models = TRUE) at test_extract_inner_fselect_result.R:24:3
2. └─mlr3:::future_map(...)
3. └─future.apply::future_mapply(...)
4. └─future.apply:::future_xapply(...)
5. └─base::tryCatch(...)
6. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. └─base (local) tryCatchOne(...)
8. └─value[[3L]](cond)
9. └─future.apply:::onError(e, futures = fs, debug = debug)
── Error ('test_extract_inner_fselect_result.R:37:3'): extract_inner_fselect_results function works with benchmark and repeated cv ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3::benchmark(grid, store_models = TRUE) at test_extract_inner_fselect_result.R:37:3
2. └─mlr3:::future_map(...)
3. └─future.apply::future_mapply(...)
4. └─future.apply:::future_xapply(...)
5. └─base::tryCatch(...)
6. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. └─base (local) tryCatchOne(...)
8. └─value[[3L]](cond)
9. └─future.apply:::onError(e, futures = fs, debug = debug)
── Error ('test_extract_inner_fselect_result.R:50:3'): extract_inner_fselect_results function works with multiple tasks ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3::benchmark(grid, store_models = TRUE) at test_extract_inner_fselect_result.R:50:3
2. └─mlr3:::future_map(...)
3. └─future.apply::future_mapply(...)
4. └─future.apply:::future_xapply(...)
5. └─base::tryCatch(...)
6. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. └─base (local) tryCatchOne(...)
8. └─value[[3L]](cond)
9. └─future.apply:::onError(e, futures = fs, debug = debug)
── Error ('test_extract_inner_fselect_result.R:61:3'): extract_inner_fselect_results function works with no model ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3::resample(tsk("iris"), at, resampling_outer, store_models = FALSE) at test_extract_inner_fselect_result.R:61:3
2. └─mlr3:::future_map(...)
3. └─future.apply::future_mapply(...)
4. └─future.apply:::future_xapply(...)
5. └─base::tryCatch(...)
6. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. └─base (local) tryCatchOne(...)
8. └─value[[3L]](cond)
9. └─future.apply:::onError(e, futures = fs, debug = debug)
── Error ('test_extract_inner_fselect_result.R:70:3'): extract_inner_fselect_results function works no instance ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3::resample(tsk("iris"), at, resampling_outer, store_models = TRUE) at test_extract_inner_fselect_result.R:70:3
2. └─mlr3:::future_map(...)
3. └─future.apply::future_mapply(...)
4. └─future.apply:::future_xapply(...)
5. └─base::tryCatch(...)
6. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. └─base (local) tryCatchOne(...)
8. └─value[[3L]](cond)
9. └─future.apply:::onError(e, futures = fs, debug = debug)
── Error ('test_extract_inner_fselect_result.R:80:3'): extract_inner_fselect_results function works with benchmark and no models ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3::benchmark(grid, store_models = FALSE) at test_extract_inner_fselect_result.R:80:3
2. └─mlr3:::future_map(...)
3. └─future.apply::future_mapply(...)
4. └─future.apply:::future_xapply(...)
5. └─base::tryCatch(...)
6. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. └─base (local) tryCatchOne(...)
8. └─value[[3L]](cond)
9. └─future.apply:::onError(e, futures = fs, debug = debug)
── Error ('test_extract_inner_fselect_result.R:92:3'): extract_inner_fselect_results function works with mixed store instance ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3::benchmark(grid, store_models = TRUE) at test_extract_inner_fselect_result.R:92:3
2. └─mlr3:::future_map(...)
3. └─future.apply::future_mapply(...)
4. └─future.apply:::future_xapply(...)
5. └─base::tryCatch(...)
6. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. └─base (local) tryCatchOne(...)
8. └─value[[3L]](cond)
9. └─future.apply:::onError(e, futures = fs, debug = debug)
── Error ('test_extract_inner_fselect_result.R:104:3'): extract_inner_fselect_results function works with learner and autotuner ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3::benchmark(grid, store_models = TRUE) at test_extract_inner_fselect_result.R:104:3
2. └─mlr3:::future_map(...)
3. └─future.apply::future_mapply(...)
4. └─future.apply:::future_xapply(...)
5. └─base::tryCatch(...)
6. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. └─base (local) tryCatchOne(...)
8. └─value[[3L]](cond)
9. └─future.apply:::onError(e, futures = fs, debug = debug)
── Error ('test_extract_inner_fselect_result.R:113:3'): extract_inner_fselect_results function works with resample and return of instance ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3fselect::fselect_nested(...) at test_extract_inner_fselect_result.R:113:3
2. └─mlr3::resample(task, afs, outer_resampling, store_models = TRUE)
3. └─mlr3:::future_map(...)
4. └─future.apply::future_mapply(...)
5. └─future.apply:::future_xapply(...)
6. └─base::tryCatch(...)
7. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
8. └─base (local) tryCatchOne(...)
9. └─value[[3L]](cond)
10. └─future.apply:::onError(e, futures = fs, debug = debug)
── Error ('test_extract_inner_fselect_result.R:125:3'): extract_inner_fselect_results function works with benchmark and return of instance ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3::benchmark(grid, store_models = TRUE) at test_extract_inner_fselect_result.R:125:3
2. └─mlr3:::future_map(...)
3. └─future.apply::future_mapply(...)
4. └─future.apply:::future_xapply(...)
5. └─base::tryCatch(...)
6. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. └─base (local) tryCatchOne(...)
8. └─value[[3L]](cond)
9. └─future.apply:::onError(e, futures = fs, debug = debug)
── Error ('test_fselect.R:2:3'): fselect function works with single measure ────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3fselect::fselect(...) at test_fselect.R:2:3
2. └─fselector$optimize(instance)
3. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
4. └─bbotk::optimize_batch_default(inst, self)
5. ├─base::tryCatch(...)
6. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
8. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
9. └─get_private(optimizer)$.optimize(instance)
10. └─mlr3fselect:::.__FSelectorBatchRandomSearch__.optimize(...)
11. └─inst$eval_batch(as.data.table(X))
12. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
13. └─self$objective$eval_many(xss_trafoed)
14. └─bbotk:::.__Objective__eval_many(...)
15. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
16. │ └─base::eval.parent(expr, n = 1L)
17. │ └─base::eval(expr, p)
18. │ └─base::eval(expr, p)
19. └─private$.eval_many(xss = xss, resampling = `<list>`)
20. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
21. └─mlr3::benchmark(...)
22. └─ResultData$new(grid, data_extra, store_backends = store_backends)
23. └─mlr3 (local) initialize(...)
24. └─mlr3:::.__ResultData__initialize(...)
25. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
26. └─data.table:::`[.data.table`(...)
── Error ('test_fselect.R:11:3'): fselect function works with multiple measures ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3fselect::fselect(...) at test_fselect.R:11:3
2. └─fselector$optimize(instance)
3. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
4. └─bbotk::optimize_batch_default(inst, self)
5. ├─base::tryCatch(...)
6. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
8. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
9. └─get_private(optimizer)$.optimize(instance)
10. └─mlr3fselect:::.__FSelectorBatchRandomSearch__.optimize(...)
11. └─inst$eval_batch(as.data.table(X))
12. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
13. └─self$objective$eval_many(xss_trafoed)
14. └─bbotk:::.__Objective__eval_many(...)
15. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
16. │ └─base::eval.parent(expr, n = 1L)
17. │ └─base::eval(expr, p)
18. │ └─base::eval(expr, p)
19. └─private$.eval_many(xss = xss, resampling = `<list>`)
20. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
21. └─mlr3::benchmark(...)
22. └─ResultData$new(grid, data_extra, store_backends = store_backends)
23. └─mlr3 (local) initialize(...)
24. └─mlr3:::.__ResultData__initialize(...)
25. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
26. └─data.table:::`[.data.table`(...)
── Error ('test_fselect.R:20:3'): fselect function accepts string input for method ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3fselect::fselect(...) at test_fselect.R:20:3
2. └─fselector$optimize(instance)
3. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
4. └─bbotk::optimize_batch_default(inst, self)
5. ├─base::tryCatch(...)
6. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
8. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
9. └─get_private(optimizer)$.optimize(instance)
10. └─mlr3fselect:::.__FSelectorBatchRandomSearch__.optimize(...)
11. └─inst$eval_batch(as.data.table(X))
12. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
13. └─self$objective$eval_many(xss_trafoed)
14. └─bbotk:::.__Objective__eval_many(...)
15. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
16. │ └─base::eval.parent(expr, n = 1L)
17. │ └─base::eval(expr, p)
18. │ └─base::eval(expr, p)
19. └─private$.eval_many(xss = xss, resampling = `<list>`)
20. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
21. └─mlr3::benchmark(...)
22. └─ResultData$new(grid, data_extra, store_backends = store_backends)
23. └─mlr3 (local) initialize(...)
24. └─mlr3:::.__ResultData__initialize(...)
25. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
26. └─data.table:::`[.data.table`(...)
── Error ('test_fselect_nested.R:2:3'): fselect_nested function works ──────────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3fselect::fselect_nested(...) at test_fselect_nested.R:2:3
2. └─mlr3::resample(task, afs, outer_resampling, store_models = TRUE)
3. └─mlr3:::future_map(...)
4. └─future.apply::future_mapply(...)
5. └─future.apply:::future_xapply(...)
6. └─base::tryCatch(...)
7. └─base (local) tryCatchList(expr, classes, parentenv, handlers)
8. └─base (local) tryCatchOne(...)
9. └─value[[3L]](cond)
10. └─future.apply:::onError(e, futures = fs, debug = debug)
── Error ('test_mlr_callbacks.R:4:3'): backup callback works ───────────────────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3fselect::fselect(...) at test_mlr_callbacks.R:4:3
2. └─fselector$optimize(instance)
3. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
4. └─bbotk::optimize_batch_default(inst, self)
5. ├─base::tryCatch(...)
6. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
8. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
9. └─get_private(optimizer)$.optimize(instance)
10. └─mlr3fselect:::.__FSelectorBatchRandomSearch__.optimize(...)
11. └─inst$eval_batch(as.data.table(X))
12. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
13. └─self$objective$eval_many(xss_trafoed)
14. └─bbotk:::.__Objective__eval_many(...)
15. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
16. │ └─base::eval.parent(expr, n = 1L)
17. │ └─base::eval(expr, p)
18. │ └─base::eval(expr, p)
19. └─private$.eval_many(xss = xss, resampling = `<list>`)
20. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
21. └─mlr3::benchmark(...)
22. └─ResultData$new(grid, data_extra, store_backends = store_backends)
23. └─mlr3 (local) initialize(...)
24. └─mlr3:::.__ResultData__initialize(...)
25. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
26. └─data.table:::`[.data.table`(...)
── Error ('test_mlr_callbacks.R:23:3'): svm_rfe callbacks works ────────────────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3fselect::fselect(...) at test_mlr_callbacks.R:23:3
2. └─fselector$optimize(instance)
3. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
4. └─bbotk::optimize_batch_default(inst, self)
5. ├─base::tryCatch(...)
6. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
8. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
9. └─get_private(optimizer)$.optimize(instance)
10. └─mlr3fselect:::.__FSelectorBatchRFE__.optimize(...)
11. └─mlr3fselect:::rfe_workhorse(inst, subsets, recursive, aggregation)
12. └─inst$eval_batch(states)
13. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
14. └─self$objective$eval_many(xss_trafoed)
15. └─bbotk:::.__Objective__eval_many(...)
16. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
17. │ └─base::eval.parent(expr, n = 1L)
18. │ └─base::eval(expr, p)
19. │ └─base::eval(expr, p)
20. └─private$.eval_many(xss = xss, resampling = `<list>`)
21. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
22. └─mlr3::benchmark(...)
23. └─ResultData$new(grid, data_extra, store_backends = store_backends)
24. └─mlr3 (local) initialize(...)
25. └─mlr3:::.__ResultData__initialize(...)
26. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
27. └─data.table:::`[.data.table`(...)
── Error ('test_mlr_callbacks.R:46:3'): one_se_rule callback works ─────────────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3fselect::fselect(...) at test_mlr_callbacks.R:46:3
2. └─fselector$optimize(instance)
3. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
4. └─bbotk::optimize_batch_default(inst, self)
5. ├─base::tryCatch(...)
6. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
8. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
9. └─get_private(optimizer)$.optimize(instance)
10. └─mlr3fselect:::.__FSelectorBatchExhaustiveSearch__.optimize(...)
11. └─mlr3misc::walk(chunks, function(row_ids) inst$eval_batch(states[row_ids]))
12. └─mlr3fselect (local) .f(.xi, ...)
13. └─inst$eval_batch(states[row_ids])
14. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
15. └─self$objective$eval_many(xss_trafoed)
16. └─bbotk:::.__Objective__eval_many(...)
17. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
18. │ └─base::eval.parent(expr, n = 1L)
19. │ └─base::eval(expr, p)
20. │ └─base::eval(expr, p)
21. └─private$.eval_many(xss = xss, resampling = `<list>`)
22. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
23. └─mlr3::benchmark(...)
24. └─ResultData$new(grid, data_extra, store_backends = store_backends)
25. └─mlr3 (local) initialize(...)
26. └─mlr3:::.__ResultData__initialize(...)
27. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
28. └─data.table:::`[.data.table`(...)
── Error ('test_mlr_callbacks.R:65:3'): internal tuning callback works ─────────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3fselect::fselect(...) at test_mlr_callbacks.R:65:3
2. └─fselector$optimize(instance)
3. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
4. └─bbotk::optimize_batch_default(inst, self)
5. ├─base::tryCatch(...)
6. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
7. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
8. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
9. └─get_private(optimizer)$.optimize(instance)
10. └─mlr3fselect:::.__FSelectorBatchRandomSearch__.optimize(...)
11. └─inst$eval_batch(as.data.table(X))
12. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
13. └─self$objective$eval_many(xss_trafoed)
14. └─bbotk:::.__Objective__eval_many(...)
15. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
16. │ └─base::eval.parent(expr, n = 1L)
17. │ └─base::eval(expr, p)
18. │ └─base::eval(expr, p)
19. └─private$.eval_many(xss = xss, resampling = `<list>`)
20. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
21. └─mlr3::benchmark(...)
22. └─ResultData$new(grid, data_extra, store_backends = store_backends)
23. └─mlr3 (local) initialize(...)
24. └─mlr3:::.__ResultData__initialize(...)
25. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
26. └─data.table:::`[.data.table`(...)
── Error ('test_mlr_callbacks.R:96:3'): internal tuning callback works with AutoFSelector ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─afs$train(tsk("pima")) at test_mlr_callbacks.R:96:3
2. └─mlr3:::.__Learner__train(...)
3. └─mlr3:::learner_train(...)
4. └─mlr3misc::encapsulate(...)
5. ├─mlr3misc::invoke(...)
6. │ └─base::eval.parent(expr, n = 1L)
7. │ └─base::eval(expr, p)
8. │ └─base::eval(expr, p)
9. └─mlr3 (local) .f(learner = `<AtFSlctr>`, task = `<TskClssf>`)
10. └─get_private(learner)$.train(task)
11. └─mlr3fselect:::.__AutoFSelector__.train(...)
12. └─self$fselector$optimize(instance)
13. └─mlr3fselect:::.__FSelectorBatch__optimize(...)
14. └─bbotk::optimize_batch_default(inst, self)
15. ├─base::tryCatch(...)
16. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
17. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
18. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler)
19. └─get_private(optimizer)$.optimize(instance)
20. └─mlr3fselect:::.__FSelectorBatchRandomSearch__.optimize(...)
21. └─inst$eval_batch(as.data.table(X))
22. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
23. └─self$objective$eval_many(xss_trafoed)
24. └─bbotk:::.__Objective__eval_many(...)
25. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
26. │ └─base::eval.parent(expr, n = 1L)
27. │ └─base::eval(expr, p)
28. │ └─base::eval(expr, p)
29. └─private$.eval_many(xss = xss, resampling = `<list>`)
30. └─mlr3fselect:::.__ObjectiveFSelectBatch__.eval_many(...)
31. └─mlr3::benchmark(...)
32. └─ResultData$new(grid, data_extra, store_backends = store_backends)
33. └─mlr3 (local) initialize(...)
34. └─mlr3:::.__ResultData__initialize(...)
35. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
36. └─data.table:::`[.data.table`(...)
[ FAIL 100 | WARN 27 | SKIP 52 | PASS 235 ]
Error:
! Test failures.
Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc