- using R Under development (unstable) (2025-12-19 r89206)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc-15 (Debian 15.2.0-11) 15.2.0
GNU Fortran (Debian 15.2.0-11) 15.2.0
- running under: Debian GNU/Linux forky/sid
- using session charset: UTF-8
- checking for file ‘mlr3hyperband/DESCRIPTION’ ... OK
- this is package ‘mlr3hyperband’ version ‘1.0.0’
- package encoding: UTF-8
- checking CRAN incoming feasibility ... [1s/2s] OK
- checking package namespace information ... OK
- checking package dependencies ... OK
- checking if this is a source package ... OK
- checking if there is a namespace ... OK
- checking for executable files ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking serialization versions ... OK
- checking whether package ‘mlr3hyperband’ can be installed ... OK
See the install log for details.
- checking package directory ... OK
- checking for future file timestamps ... OK
- checking DESCRIPTION meta-information ... OK
- checking top-level files ... OK
- checking for left-over files ... OK
- checking index information ... OK
- checking package subdirectories ... OK
- checking code files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... [1s/1s] OK
- checking whether the package can be loaded with stated dependencies ... [1s/1s] OK
- checking whether the package can be unloaded cleanly ... [1s/1s] OK
- checking whether the namespace can be loaded with stated dependencies ... [1s/1s] OK
- checking whether the namespace can be unloaded cleanly ... [1s/1s] OK
- checking loading without being on the library search path ... [1s/1s] OK
- checking whether startup messages can be suppressed ... [1s/1s] OK
- checking use of S3 registration ... OK
- checking dependencies in R code ... OK
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... [8s/12s] OK
- checking Rd files ... [0s/1s] OK
- checking Rd metadata ... OK
- checking Rd line widths ... OK
- checking Rd cross-references ... OK
- checking for missing documentation entries ... OK
- checking for code/documentation mismatches ... OK
- checking Rd \usage sections ... OK
- checking Rd contents ... OK
- checking for unstated dependencies in examples ... OK
- checking examples ... [4s/5s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [54s/73s] ERROR
Running ‘testthat.R’ [54s/73s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> if (requireNamespace("testthat", quietly = TRUE)) {
+ library("testthat")
+ library("checkmate")
+ library("mlr3hyperband")
+ test_check("mlr3hyperband")
+ }
Loading required package: mlr3tuning
Loading required package: mlr3
Loading required package: paradox
Saving _problems/test_TunerBatchHyperband-7.R
Saving _problems/test_TunerBatchHyperband-16.R
Saving _problems/test_TunerBatchHyperband-25.R
Saving _problems/test_TunerBatchHyperband-34.R
Saving _problems/test_TunerBatchHyperband-47.R
Saving _problems/test_TunerBatchHyperband-58.R
Saving _problems/test_TunerBatchHyperband-68.R
Saving _problems/test_TunerBatchHyperband-82.R
Saving _problems/test_TunerBatchHyperband-167.R
Saving _problems/test_TunerBatchHyperband-178.R
Saving _problems/test_TunerBatchHyperband-189.R
Saving _problems/test_TunerBatchHyperband-203.R
Saving _problems/test_TunerBatchHyperband-219.R
Saving _problems/test_TunerBatchHyperband-236.R
Saving _problems/test_TunerBatchSuccessiveHalving-7.R
Saving _problems/test_TunerBatchSuccessiveHalving-16.R
Saving _problems/test_TunerBatchSuccessiveHalving-25.R
Saving _problems/test_TunerBatchSuccessiveHalving-34.R
Saving _problems/test_TunerBatchSuccessiveHalving-43.R
Saving _problems/test_TunerBatchSuccessiveHalving-65.R
Saving _problems/test_TunerBatchSuccessiveHalving-76.R
Saving _problems/test_TunerBatchSuccessiveHalving-85.R
Saving _problems/test_TunerBatchSuccessiveHalving-96.R
Saving _problems/test_TunerBatchSuccessiveHalving-181.R
Saving _problems/test_TunerBatchSuccessiveHalving-191.R
Saving _problems/test_TunerBatchSuccessiveHalving-201.R
Saving _problems/test_TunerBatchSuccessiveHalving-215.R
Saving _problems/test_TunerBatchSuccessiveHalving-231.R
Saving _problems/test_TunerBatchSuccessiveHalving-248.R
Saving _problems/test_TunerBatchSuccessiveHalving-259.R
Saving _problems/test_TunerBatchSuccessiveHalving-268.R
Saving _problems/test_TunerBatchSuccessiveHalving-277.R
[ FAIL 32 | WARN 0 | SKIP 1 | PASS 36 ]
══ Skipped tests (1) ═══════════════════════════════════════════════════════════
• On CRAN (1): 'test_TunerAsyncSuccessiveHalving.R:1:1'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test_TunerBatchHyperband.R:7:3'): TunerBatchHyperband works ─────────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3hyperband:::test_tuner_hyperband(eta = 2, learner) at test_TunerBatchHyperband.R:7:3
2. └─mlr3tuning::tune(...) at ./helper.R:26:3
3. └─tuner$optimize(instance)
4. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__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. └─mlr3hyperband:::.__OptimizerBatchHyperband__.optimize(...)
14. └─inst$eval_batch(xdt)
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. └─mlr3tuning:::.__ObjectiveTuningBatch__.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_TunerBatchHyperband.R:16:3'): TunerBatchHyperband works with minimum budget > 1 ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3hyperband:::test_tuner_hyperband(eta = 2, learner) at test_TunerBatchHyperband.R:16:3
2. └─mlr3tuning::tune(...) at ./helper.R:26:3
3. └─tuner$optimize(instance)
4. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__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. └─mlr3hyperband:::.__OptimizerBatchHyperband__.optimize(...)
14. └─inst$eval_batch(xdt)
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. └─mlr3tuning:::.__ObjectiveTuningBatch__.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_TunerBatchHyperband.R:25:3'): TunerBatchHyperband rounds budget ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3hyperband:::test_tuner_hyperband(eta = 2, learner) at test_TunerBatchHyperband.R:25:3
2. └─mlr3tuning::tune(...) at ./helper.R:26:3
3. └─tuner$optimize(instance)
4. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__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. └─mlr3hyperband:::.__OptimizerBatchHyperband__.optimize(...)
14. └─inst$eval_batch(xdt)
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. └─mlr3tuning:::.__ObjectiveTuningBatch__.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_TunerBatchHyperband.R:34:3'): TunerBatchHyperband works with eta = 2.5 ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3hyperband:::test_tuner_hyperband(eta = 2.5, learner) at test_TunerBatchHyperband.R:34:3
2. └─mlr3tuning::tune(...) at ./helper.R:26:3
3. └─tuner$optimize(instance)
4. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__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. └─mlr3hyperband:::.__OptimizerBatchHyperband__.optimize(...)
14. └─inst$eval_batch(xdt)
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. └─mlr3tuning:::.__ObjectiveTuningBatch__.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_TunerBatchHyperband.R:47:3'): TunerBatchHyperband works with xgboost ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3hyperband:::test_tuner_hyperband(eta = 2, learner) at test_TunerBatchHyperband.R:47:3
2. └─mlr3tuning::tune(...) at ./helper.R:26:3
3. └─tuner$optimize(instance)
4. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__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. └─mlr3hyperband:::.__OptimizerBatchHyperband__.optimize(...)
14. └─inst$eval_batch(xdt)
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. └─mlr3tuning:::.__ObjectiveTuningBatch__.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_TunerBatchHyperband.R:58:3'): TunerBatchHyperband works with subsampling ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3hyperband:::test_tuner_hyperband(eta = 3, graph_learner) at test_TunerBatchHyperband.R:58:3
2. └─mlr3tuning::tune(...) at ./helper.R:26:3
3. └─tuner$optimize(instance)
4. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__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. └─mlr3hyperband:::.__OptimizerBatchHyperband__.optimize(...)
14. └─inst$eval_batch(xdt)
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. └─mlr3tuning:::.__ObjectiveTuningBatch__.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_TunerBatchHyperband.R:68:3'): TunerBatchHyperband works works with multi-crit ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3hyperband:::test_tuner_hyperband(...) at test_TunerBatchHyperband.R:68:3
2. └─mlr3tuning::tune(...) at ./helper.R:26:3
3. └─tuner$optimize(instance)
4. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__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. └─mlr3hyperband:::.__OptimizerBatchHyperband__.optimize(...)
14. └─inst$eval_batch(xdt)
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. └─mlr3tuning:::.__ObjectiveTuningBatch__.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_TunerBatchHyperband.R:82:3'): TunerBatchHyperband works with custom sampler ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3hyperband:::test_tuner_hyperband(eta = 2, learner, sampler = sampler) at test_TunerBatchHyperband.R:82:3
2. └─mlr3tuning::tune(...) at ./helper.R:26:3
3. └─tuner$optimize(instance)
4. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__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. └─mlr3hyperband:::.__OptimizerBatchHyperband__.optimize(...)
14. └─inst$eval_batch(xdt)
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. └─mlr3tuning:::.__ObjectiveTuningBatch__.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_TunerBatchHyperband.R:167:3'): TunerBatchHyperband minimizes measure ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3hyperband:::test_tuner_hyperband(...) at test_TunerBatchHyperband.R:167:3
2. └─mlr3tuning::tune(...) at ./helper.R:26:3
3. └─tuner$optimize(instance)
4. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__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. └─mlr3hyperband:::.__OptimizerBatchHyperband__.optimize(...)
14. └─inst$eval_batch(xdt)
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. └─mlr3tuning:::.__ObjectiveTuningBatch__.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_TunerBatchHyperband.R:178:3'): TunerBatchHyperband maximizes measure ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3hyperband:::test_tuner_hyperband(...) at test_TunerBatchHyperband.R:178:3
2. └─mlr3tuning::tune(...) at ./helper.R:26:3
3. └─tuner$optimize(instance)
4. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__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. └─mlr3hyperband:::.__OptimizerBatchHyperband__.optimize(...)
14. └─inst$eval_batch(xdt)
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. └─mlr3tuning:::.__ObjectiveTuningBatch__.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_TunerBatchHyperband.R:189:3'): TunerBatchHyperband works with single budget value ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3hyperband:::test_tuner_hyperband(eta = 2, learner) at test_TunerBatchHyperband.R:189:3
2. └─mlr3tuning::tune(...) at ./helper.R:26:3
3. └─tuner$optimize(instance)
4. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__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. └─mlr3hyperband:::.__OptimizerBatchHyperband__.optimize(...)
14. └─inst$eval_batch(xdt)
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. └─mlr3tuning:::.__ObjectiveTuningBatch__.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_TunerBatchHyperband.R:198:3'): TunerBatchHyperband works with repetitions ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3tuning::tune(...) at test_TunerBatchHyperband.R:198:3
2. └─tuner$optimize(instance)
3. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__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. └─mlr3hyperband:::.__OptimizerBatchHyperband__.optimize(...)
13. └─inst$eval_batch(xdt)
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. └─mlr3tuning:::.__ObjectiveTuningBatch__.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_TunerBatchHyperband.R:214:3'): TunerBatchHyperband terminates itself ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3tuning::tune(...) at test_TunerBatchHyperband.R:214:3
2. └─tuner$optimize(instance)
3. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__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. └─mlr3hyperband:::.__OptimizerBatchHyperband__.optimize(...)
13. └─inst$eval_batch(xdt)
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. └─mlr3tuning:::.__ObjectiveTuningBatch__.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_TunerBatchHyperband.R:230:3'): TunerBatchHyperband works with infinite repetitions ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3tuning::tune(...) at test_TunerBatchHyperband.R:230:3
2. └─tuner$optimize(instance)
3. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__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. └─mlr3hyperband:::.__OptimizerBatchHyperband__.optimize(...)
13. └─inst$eval_batch(xdt)
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. └─mlr3tuning:::.__ObjectiveTuningBatch__.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_TunerBatchSuccessiveHalving.R:7:3'): TunerBatchSuccessiveHalving works ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3hyperband:::test_tuner_successive_halving(...) at test_TunerBatchSuccessiveHalving.R:7:3
2. └─mlr3tuning::tune(...) at ./helper.R:61:3
3. └─tuner$optimize(instance)
4. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__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. └─mlr3hyperband:::.__OptimizerBatchSuccessiveHalving__.optimize(...)
14. └─inst$eval_batch(xdt)
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. └─mlr3tuning:::.__ObjectiveTuningBatch__.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_TunerBatchSuccessiveHalving.R:16:3'): TunerBatchSuccessiveHalving works with minimum budget > 1 ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3hyperband:::test_tuner_successive_halving(...) at test_TunerBatchSuccessiveHalving.R:16:3
2. └─mlr3tuning::tune(...) at ./helper.R:61:3
3. └─tuner$optimize(instance)
4. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__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. └─mlr3hyperband:::.__OptimizerBatchSuccessiveHalving__.optimize(...)
14. └─inst$eval_batch(xdt)
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. └─mlr3tuning:::.__ObjectiveTuningBatch__.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_TunerBatchSuccessiveHalving.R:25:3'): TunerBatchSuccessiveHalving rounds budget ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3hyperband:::test_tuner_successive_halving(...) at test_TunerBatchSuccessiveHalving.R:25:3
2. └─mlr3tuning::tune(...) at ./helper.R:61:3
3. └─tuner$optimize(instance)
4. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__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. └─mlr3hyperband:::.__OptimizerBatchSuccessiveHalving__.optimize(...)
14. └─inst$eval_batch(xdt)
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. └─mlr3tuning:::.__ObjectiveTuningBatch__.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_TunerBatchSuccessiveHalving.R:34:3'): TunerBatchSuccessiveHalving works with eta = 2.5 ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3hyperband:::test_tuner_successive_halving(...) at test_TunerBatchSuccessiveHalving.R:34:3
2. └─mlr3tuning::tune(...) at ./helper.R:61:3
3. └─tuner$optimize(instance)
4. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__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. └─mlr3hyperband:::.__OptimizerBatchSuccessiveHalving__.optimize(...)
14. └─inst$eval_batch(xdt)
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. └─mlr3tuning:::.__ObjectiveTuningBatch__.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_TunerBatchSuccessiveHalving.R:43:3'): TunerBatchSuccessiveHalving adjusts minimum budget ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3hyperband:::test_tuner_successive_halving(...) at test_TunerBatchSuccessiveHalving.R:43:3
2. └─mlr3tuning::tune(...) at ./helper.R:61:3
3. └─tuner$optimize(instance)
4. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__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. └─mlr3hyperband:::.__OptimizerBatchSuccessiveHalving__.optimize(...)
14. └─inst$eval_batch(xdt)
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. └─mlr3tuning:::.__ObjectiveTuningBatch__.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_TunerBatchSuccessiveHalving.R:65:3'): TunerBatchSuccessiveHalving works with xgboost ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3hyperband:::test_tuner_successive_halving(...) at test_TunerBatchSuccessiveHalving.R:65:3
2. └─mlr3tuning::tune(...) at ./helper.R:61:3
3. └─tuner$optimize(instance)
4. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__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. └─mlr3hyperband:::.__OptimizerBatchSuccessiveHalving__.optimize(...)
14. └─inst$eval_batch(xdt)
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. └─mlr3tuning:::.__ObjectiveTuningBatch__.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_TunerBatchSuccessiveHalving.R:76:3'): TunerBatchSuccessiveHalving works with subsampling ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3hyperband:::test_tuner_successive_halving(...) at test_TunerBatchSuccessiveHalving.R:76:3
2. └─mlr3tuning::tune(...) at ./helper.R:61:3
3. └─tuner$optimize(instance)
4. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__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. └─mlr3hyperband:::.__OptimizerBatchSuccessiveHalving__.optimize(...)
14. └─inst$eval_batch(xdt)
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. └─mlr3tuning:::.__ObjectiveTuningBatch__.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_TunerBatchSuccessiveHalving.R:85:3'): TunerBatchSuccessiveHalving works with multi-crit ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3hyperband:::test_tuner_successive_halving(...) at test_TunerBatchSuccessiveHalving.R:85:3
2. └─mlr3tuning::tune(...) at ./helper.R:61:3
3. └─tuner$optimize(instance)
4. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__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. └─mlr3hyperband:::.__OptimizerBatchSuccessiveHalving__.optimize(...)
14. └─inst$eval_batch(xdt)
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. └─mlr3tuning:::.__ObjectiveTuningBatch__.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_TunerBatchSuccessiveHalving.R:96:3'): TunerBatchSuccessiveHalving works with custom sampler ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3hyperband:::test_tuner_successive_halving(...) at test_TunerBatchSuccessiveHalving.R:96:3
2. └─mlr3tuning::tune(...) at ./helper.R:61:3
3. └─tuner$optimize(instance)
4. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__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. └─mlr3hyperband:::.__OptimizerBatchSuccessiveHalving__.optimize(...)
14. └─inst$eval_batch(xdt)
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. └─mlr3tuning:::.__ObjectiveTuningBatch__.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_TunerBatchSuccessiveHalving.R:181:3'): TunerBatchSuccessiveHalving minimizes measure ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3hyperband:::test_tuner_successive_halving(...) at test_TunerBatchSuccessiveHalving.R:181:3
2. └─mlr3tuning::tune(...) at ./helper.R:61:3
3. └─tuner$optimize(instance)
4. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__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. └─mlr3hyperband:::.__OptimizerBatchSuccessiveHalving__.optimize(...)
14. └─inst$eval_batch(xdt)
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. └─mlr3tuning:::.__ObjectiveTuningBatch__.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_TunerBatchSuccessiveHalving.R:191:3'): TunerBatchSuccessiveHalving maximizes measure ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3hyperband:::test_tuner_successive_halving(...) at test_TunerBatchSuccessiveHalving.R:191:3
2. └─mlr3tuning::tune(...) at ./helper.R:61:3
3. └─tuner$optimize(instance)
4. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__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. └─mlr3hyperband:::.__OptimizerBatchSuccessiveHalving__.optimize(...)
14. └─inst$eval_batch(xdt)
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. └─mlr3tuning:::.__ObjectiveTuningBatch__.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_TunerBatchSuccessiveHalving.R:201:3'): TunerBatchSuccessiveHalving works with single budget value ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3hyperband:::test_tuner_successive_halving(...) at test_TunerBatchSuccessiveHalving.R:201:3
2. └─mlr3tuning::tune(...) at ./helper.R:61:3
3. └─tuner$optimize(instance)
4. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__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. └─mlr3hyperband:::.__OptimizerBatchSuccessiveHalving__.optimize(...)
14. └─inst$eval_batch(xdt)
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. └─mlr3tuning:::.__ObjectiveTuningBatch__.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_TunerBatchSuccessiveHalving.R:210:3'): TunerBatchSuccessiveHalving works with repetitions ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3tuning::tune(...) at test_TunerBatchSuccessiveHalving.R:210:3
2. └─tuner$optimize(instance)
3. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__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. └─mlr3hyperband:::.__OptimizerBatchSuccessiveHalving__.optimize(...)
13. └─inst$eval_batch(xdt)
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. └─mlr3tuning:::.__ObjectiveTuningBatch__.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_TunerBatchSuccessiveHalving.R:226:3'): TunerBatchSuccessiveHalving terminates itself ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3tuning::tune(...) at test_TunerBatchSuccessiveHalving.R:226:3
2. └─tuner$optimize(instance)
3. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__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. └─mlr3hyperband:::.__OptimizerBatchSuccessiveHalving__.optimize(...)
13. └─inst$eval_batch(xdt)
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. └─mlr3tuning:::.__ObjectiveTuningBatch__.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_TunerBatchSuccessiveHalving.R:242:3'): TunerBatchSuccessiveHalving works with infinite repetitions ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3tuning::tune(...) at test_TunerBatchSuccessiveHalving.R:242:3
2. └─tuner$optimize(instance)
3. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__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. └─mlr3hyperband:::.__OptimizerBatchSuccessiveHalving__.optimize(...)
13. └─inst$eval_batch(xdt)
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. └─mlr3tuning:::.__ObjectiveTuningBatch__.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_TunerBatchSuccessiveHalving.R:259:3'): TunerBatchSuccessiveHalving works with r_max > n ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3hyperband:::test_tuner_successive_halving(...) at test_TunerBatchSuccessiveHalving.R:259:3
2. └─mlr3tuning::tune(...) at ./helper.R:61:3
3. └─tuner$optimize(instance)
4. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__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. └─mlr3hyperband:::.__OptimizerBatchSuccessiveHalving__.optimize(...)
14. └─inst$eval_batch(xdt)
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. └─mlr3tuning:::.__ObjectiveTuningBatch__.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_TunerBatchSuccessiveHalving.R:268:3'): TunerBatchSuccessiveHalving works with r_max < n ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3hyperband:::test_tuner_successive_halving(...) at test_TunerBatchSuccessiveHalving.R:268:3
2. └─mlr3tuning::tune(...) at ./helper.R:61:3
3. └─tuner$optimize(instance)
4. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__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. └─mlr3hyperband:::.__OptimizerBatchSuccessiveHalving__.optimize(...)
14. └─inst$eval_batch(xdt)
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. └─mlr3tuning:::.__ObjectiveTuningBatch__.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_TunerBatchSuccessiveHalving.R:277:3'): TunerBatchSuccessiveHalving works with r_max < n and adjust minimum budget ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─mlr3hyperband:::test_tuner_successive_halving(...) at test_TunerBatchSuccessiveHalving.R:277:3
2. └─mlr3tuning::tune(...) at ./helper.R:61:3
3. └─tuner$optimize(instance)
4. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__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. └─mlr3hyperband:::.__OptimizerBatchSuccessiveHalving__.optimize(...)
14. └─inst$eval_batch(xdt)
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. └─mlr3tuning:::.__ObjectiveTuningBatch__.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`(...)
[ FAIL 32 | WARN 0 | SKIP 1 | PASS 36 ]
Error:
! Test failures.
Execution halted
- checking PDF version of manual ... [4s/7s] OK
- checking HTML version of manual ... [2s/2s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 1 ERROR