* using log directory 'd:/RCompile/CRANincoming/R-devel/mlr3hyperband.Rcheck' * using R Under development (unstable) (2024-06-28 r86850 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 13.2.0 GNU Fortran (GCC) 13.2.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'mlr3hyperband/DESCRIPTION' ... OK * this is package 'mlr3hyperband' version '0.6.0' * package encoding: UTF-8 * checking CRAN incoming feasibility ... Note_to_CRAN_maintainers Maintainer: 'Marc Becker ' * 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 hidden files and directories ... OK * checking for portable file names ... OK * checking serialization versions ... OK * checking whether package 'mlr3hyperband' can be installed ... OK * checking installed package size ... OK * 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 ... OK * checking whether the package can be loaded with stated dependencies ... OK * checking whether the package can be unloaded cleanly ... OK * checking whether the namespace can be loaded with stated dependencies ... OK * checking whether the namespace can be unloaded cleanly ... OK * checking loading without being on the library search path ... OK * checking whether startup messages can be suppressed ... 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 ... OK * checking Rd files ... 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 ... ERROR Running examples in 'mlr3hyperband-Ex.R' failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: mlr_optimizers_hyperband > ### Title: Optimizer Using the Hyperband Algorithm > ### Aliases: mlr_optimizers_hyperband OptimizerBatchHyperband > > ### ** Examples > > library(bbotk) > library(data.table) > > # set search space > search_space = domain = ps( + x1 = p_dbl(-5, 10), + x2 = p_dbl(0, 15), + fidelity = p_dbl(1e-2, 1, tags = "budget") + ) > > # Branin function with fidelity, see `bbotk::branin()` > fun = function(xs) branin_wu(xs[["x1"]], xs[["x2"]], xs[["fidelity"]]) > > # create objective > objective = ObjectiveRFun$new( + fun = fun, + domain = domain, + codomain = ps(y = p_dbl(tags = "minimize")) + ) > > # initialize instance and optimizer > instance = OptimInstanceSingleCrit$new( + objective = objective, + search_space = search_space, + terminator = trm("evals", n_evals = 50) + ) OptimInstanceSingleCrit is deprecated. Use OptimInstanceBatchSingleCrit instead. > > optimizer = opt("hyperband") > > # optimize branin function > optimizer$optimize(instance) INFO [15:10:43.844] [bbotk] Starting to optimize 3 parameter(s) with '' and ' [n_evals=50, k=0]' INFO [15:10:43.927] [bbotk] Evaluating 64 configuration(s) INFO [15:10:44.738] [bbotk] Result of batch 1: INFO [15:10:44.744] [bbotk] x1 x2 fidelity stage bracket repetition y INFO [15:10:44.744] [bbotk] -1.01737005 9.7630570 0.015625 0 6 1 19.507624 INFO [15:10:44.744] [bbotk] 0.58185849 3.8702517 0.015625 0 6 1 19.496057 INFO [15:10:44.744] [bbotk] 3.59280045 7.1781787 0.015625 0 6 1 43.601177 INFO [15:10:44.744] [bbotk] 8.62311685 11.4946601 0.015625 0 6 1 290.030685 INFO [15:10:44.744] [bbotk] -1.97477103 1.2637037 0.015625 0 6 1 70.211987 INFO [15:10:44.744] [bbotk] 8.47584527 13.1298200 0.015625 0 6 1 343.359528 INFO [15:10:44.744] [bbotk] 9.17012903 5.0860941 0.015625 0 6 1 123.812172 INFO [15:10:44.744] [bbotk] 4.91196689 12.5916053 0.015625 0 6 1 198.701424 INFO [15:10:44.744] [bbotk] 4.43671066 5.2002523 0.015625 0 6 1 39.379587 INFO [15:10:44.744] [bbotk] -4.07320594 5.0066240 0.015625 0 6 1 68.051482 INFO [15:10:44.744] [bbotk] -1.91038138 7.1452687 0.015625 0 6 1 10.831274 INFO [15:10:44.744] [bbotk] -2.35164871 13.3829750 0.015625 0 6 1 15.283304 INFO [15:10:44.744] [bbotk] 5.30534270 12.9650921 0.015625 0 6 1 226.875732 INFO [15:10:44.744] [bbotk] 0.76155577 5.8498432 0.015625 0 6 1 18.039728 INFO [15:10:44.744] [bbotk] 6.54762130 11.6598105 0.015625 0 6 1 237.199981 INFO [15:10:44.744] [bbotk] 2.46548863 14.4092700 0.015625 0 6 1 150.043214 INFO [15:10:44.744] [bbotk] 5.76427762 6.5198923 0.015625 0 6 1 93.548580 INFO [15:10:44.744] [bbotk] 9.87859142 10.6877202 0.015625 0 6 1 304.460194 INFO [15:10:44.744] [bbotk] 0.70052769 5.9999155 0.015625 0 6 1 18.550288 INFO [15:10:44.744] [bbotk] 6.66167832 4.8802823 0.015625 0 6 1 84.827397 INFO [15:10:44.744] [bbotk] 9.02057847 11.3563072 0.015625 0 6 1 297.393403 INFO [15:10:44.744] [bbotk] -1.81786218 3.0403838 0.015625 0 6 1 43.107075 INFO [15:10:44.744] [bbotk] 4.77510649 10.6668183 0.015625 0 6 1 144.363867 INFO [15:10:44.744] [bbotk] -3.11667356 1.8253788 0.015625 0 6 1 89.394187 INFO [15:10:44.744] [bbotk] -0.99168997 3.6823277 0.015625 0 6 1 30.670321 INFO [15:10:44.744] [bbotk] 0.79171139 2.1495657 0.015625 0 6 1 23.557039 INFO [15:10:44.744] [bbotk] -4.79914500 3.5944412 0.015625 0 6 1 126.433071 INFO [15:10:44.744] [bbotk] 0.73581936 0.8840157 0.015625 0 6 1 32.811654 INFO [15:10:44.744] [bbotk] 8.04536269 9.6343239 0.015625 0 6 1 216.939280 INFO [15:10:44.744] [bbotk] 0.10523495 13.1440382 0.015625 0 6 1 73.002409 INFO [15:10:44.744] [bbotk] 2.23120173 11.6837202 0.015625 0 6 1 86.587371 INFO [15:10:44.744] [bbotk] 3.99348738 11.9596324 0.015625 0 6 1 143.509755 INFO [15:10:44.744] [bbotk] 2.40311961 6.8291168 0.015625 0 6 1 22.935961 INFO [15:10:44.744] [bbotk] -2.20673598 6.1512612 0.015625 0 6 1 16.621268 INFO [15:10:44.744] [bbotk] 7.41059978 12.1630536 0.015625 0 6 1 278.794962 INFO [15:10:44.744] [bbotk] 5.02700107 9.0739994 0.015625 0 6 1 119.014396 INFO [15:10:44.744] [bbotk] 6.91359791 9.8208589 0.015625 0 6 1 196.100475 INFO [15:10:44.744] [bbotk] -3.38084561 5.2979591 0.015625 0 6 1 42.071177 INFO [15:10:44.744] [bbotk] 5.85566419 4.0539022 0.015625 0 6 1 58.670215 INFO [15:10:44.744] [bbotk] 1.16911644 14.8902609 0.015625 0 6 1 128.435519 INFO [15:10:44.744] [bbotk] 7.31419441 9.5023990 0.015625 0 6 1 197.142237 INFO [15:10:44.744] [bbotk] 4.70590291 3.1981220 0.015625 0 6 1 25.992892 INFO [15:10:44.744] [bbotk] 6.74399143 1.9405852 0.015625 0 6 1 46.432126 INFO [15:10:44.744] [bbotk] 3.29554467 7.1717705 0.015625 0 6 1 37.512656 INFO [15:10:44.744] [bbotk] 2.94579370 13.8611170 0.015625 0 6 1 151.445587 INFO [15:10:44.744] [bbotk] 6.84034348 8.9814145 0.015625 0 6 1 172.642310 INFO [15:10:44.744] [bbotk] -4.65003196 14.6425604 0.015625 0 6 1 9.734521 INFO [15:10:44.744] [bbotk] 2.15845098 10.9768877 0.015625 0 6 1 73.051550 INFO [15:10:44.744] [bbotk] 5.98470608 5.3509037 0.015625 0 6 1 79.621999 INFO [15:10:44.744] [bbotk] 5.39097335 6.4721054 0.015625 0 6 1 82.588583 INFO [15:10:44.744] [bbotk] 2.16429433 2.2231734 0.015625 0 6 1 4.856714 INFO [15:10:44.744] [bbotk] 7.91814215 0.1961636 0.015625 0 6 1 33.106446 INFO [15:10:44.744] [bbotk] 1.57145661 10.7334910 0.015625 0 6 1 61.239398 INFO [15:10:44.744] [bbotk] -1.32804084 1.5477635 0.015625 0 6 1 56.133961 INFO [15:10:44.744] [bbotk] -3.93981429 6.6942652 0.015625 0 6 1 39.941596 INFO [15:10:44.744] [bbotk] -3.50800760 9.6015157 0.015625 0 6 1 6.605030 INFO [15:10:44.744] [bbotk] -0.25592439 14.8775793 0.015625 0 6 1 91.000612 INFO [15:10:44.744] [bbotk] 2.77951395 7.4339037 0.015625 0 6 1 32.605936 INFO [15:10:44.744] [bbotk] 4.93007615 7.2652429 0.015625 0 6 1 82.036584 INFO [15:10:44.744] [bbotk] 1.10245281 2.6016350 0.015625 0 6 1 17.160666 INFO [15:10:44.744] [bbotk] 8.69313886 11.3223142 0.015625 0 6 1 286.248998 INFO [15:10:44.744] [bbotk] -0.59594941 6.8084323 0.015625 0 6 1 17.969654 INFO [15:10:44.744] [bbotk] 1.88598589 7.6675468 0.015625 0 6 1 27.815346 INFO [15:10:44.744] [bbotk] -0.01407989 3.1131767 0.015625 0 6 1 28.064828 INFO [15:10:44.744] [bbotk] x1 x2 fidelity stage bracket repetition y Error: logical error. i is not a data.table, but 'on' argument is provided. Execution halted * checking for unstated dependencies in 'tests' ... OK * checking tests ... [62s] ERROR Running 'testthat.R' [61s] 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 Starting 2 test processes [ FAIL 13 | WARN 0 | SKIP 0 | PASS 95 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test_TunerHyperband.R:7:3'): TunerBatchHyperband works ────────────── Error: logical error. i is not a data.table, but 'on' argument is provided. Backtrace: ▆ 1. └─mlr3hyperband:::test_tuner_hyperband(eta = 2, learner) at test_TunerHyperband.R:7:3 2. └─mlr3tuning::tune(...) at D:\RCompile\CRANincoming\R-devel\mlr3hyperband.Rcheck\tests\testthat\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. ├─archive$data[archive$n_batch, , on = "batch_nr"] 15. └─data.table::`[.data.table`(archive$data, archive$n_batch, , on = "batch_nr") 16. └─data.table:::stopf("logical error. i is not a data.table, but 'on' argument is provided.") ── Error ('test_TunerHyperband.R:16:3'): TunerBatchHyperband works with minimum budget > 1 ── Error: logical error. i is not a data.table, but 'on' argument is provided. Backtrace: ▆ 1. └─mlr3hyperband:::test_tuner_hyperband(eta = 2, learner) at test_TunerHyperband.R:16:3 2. └─mlr3tuning::tune(...) at D:\RCompile\CRANincoming\R-devel\mlr3hyperband.Rcheck\tests\testthat\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. ├─archive$data[archive$n_batch, , on = "batch_nr"] 15. └─data.table::`[.data.table`(archive$data, archive$n_batch, , on = "batch_nr") 16. └─data.table:::stopf("logical error. i is not a data.table, but 'on' argument is provided.") ── Error ('test_TunerHyperband.R:25:3'): TunerBatchHyperband rounds budget ───── Error: logical error. i is not a data.table, but 'on' argument is provided. Backtrace: ▆ 1. └─mlr3hyperband:::test_tuner_hyperband(eta = 2, learner) at test_TunerHyperband.R:25:3 2. └─mlr3tuning::tune(...) at D:\RCompile\CRANincoming\R-devel\mlr3hyperband.Rcheck\tests\testthat\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. ├─archive$data[archive$n_batch, , on = "batch_nr"] 15. └─data.table::`[.data.table`(archive$data, archive$n_batch, , on = "batch_nr") 16. └─data.table:::stopf("logical error. i is not a data.table, but 'on' argument is provided.") ── Error ('test_TunerHyperband.R:34:3'): TunerBatchHyperband works with eta = 2.5 ── Error: logical error. i is not a data.table, but 'on' argument is provided. Backtrace: ▆ 1. └─mlr3hyperband:::test_tuner_hyperband(eta = 2.5, learner) at test_TunerHyperband.R:34:3 2. └─mlr3tuning::tune(...) at D:\RCompile\CRANincoming\R-devel\mlr3hyperband.Rcheck\tests\testthat\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. ├─archive$data[archive$n_batch, , on = "batch_nr"] 15. └─data.table::`[.data.table`(archive$data, archive$n_batch, , on = "batch_nr") 16. └─data.table:::stopf("logical error. i is not a data.table, but 'on' argument is provided.") ── Error ('test_TunerHyperband.R:47:3'): TunerBatchHyperband works with xgboost ── Error: logical error. i is not a data.table, but 'on' argument is provided. Backtrace: ▆ 1. └─mlr3hyperband:::test_tuner_hyperband(eta = 2, learner) at test_TunerHyperband.R:47:3 2. └─mlr3tuning::tune(...) at D:\RCompile\CRANincoming\R-devel\mlr3hyperband.Rcheck\tests\testthat\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. ├─archive$data[archive$n_batch, , on = "batch_nr"] 15. └─data.table::`[.data.table`(archive$data, archive$n_batch, , on = "batch_nr") 16. └─data.table:::stopf("logical error. i is not a data.table, but 'on' argument is provided.") ── Error ('test_TunerHyperband.R:58:3'): TunerBatchHyperband works with subsampling ── Error: logical error. i is not a data.table, but 'on' argument is provided. Backtrace: ▆ 1. └─mlr3hyperband:::test_tuner_hyperband(eta = 3, graph_learner) at test_TunerHyperband.R:58:3 2. └─mlr3tuning::tune(...) at D:\RCompile\CRANincoming\R-devel\mlr3hyperband.Rcheck\tests\testthat\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. ├─archive$data[archive$n_batch, , on = "batch_nr"] 15. └─data.table::`[.data.table`(archive$data, archive$n_batch, , on = "batch_nr") 16. └─data.table:::stopf("logical error. i is not a data.table, but 'on' argument is provided.") ── Error ('test_TunerHyperband.R:68:3'): TunerBatchHyperband works works with multi-crit ── Error: logical error. i is not a data.table, but 'on' argument is provided. Backtrace: ▆ 1. └─mlr3hyperband:::test_tuner_hyperband(...) at test_TunerHyperband.R:68:3 2. └─mlr3tuning::tune(...) at D:\RCompile\CRANincoming\R-devel\mlr3hyperband.Rcheck\tests\testthat\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. ├─archive$data[archive$n_batch, , on = "batch_nr"] 15. └─data.table::`[.data.table`(archive$data, archive$n_batch, , on = "batch_nr") 16. └─data.table:::stopf("logical error. i is not a data.table, but 'on' argument is provided.") ── Error ('test_TunerHyperband.R:79:3'): TunerBatchHyperband works with custom sampler ── Error: logical error. i is not a data.table, but 'on' argument is provided. Backtrace: ▆ 1. └─mlr3hyperband:::test_tuner_hyperband(eta = 2, learner, sampler = sampler) at test_TunerHyperband.R:79:3 2. └─mlr3tuning::tune(...) at D:\RCompile\CRANincoming\R-devel\mlr3hyperband.Rcheck\tests\testthat\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. ├─archive$data[archive$n_batch, , on = "batch_nr"] 15. └─data.table::`[.data.table`(archive$data, archive$n_batch, , on = "batch_nr") 16. └─data.table:::stopf("logical error. i is not a data.table, but 'on' argument is provided.") ── Error ('test_TunerHyperband.R:164:3'): TunerBatchHyperband minimizes measure ── Error: logical error. i is not a data.table, but 'on' argument is provided. Backtrace: ▆ 1. └─mlr3hyperband:::test_tuner_hyperband(...) at test_TunerHyperband.R:164:3 2. └─mlr3tuning::tune(...) at D:\RCompile\CRANincoming\R-devel\mlr3hyperband.Rcheck\tests\testthat\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. ├─archive$data[archive$n_batch, , on = "batch_nr"] 15. └─data.table::`[.data.table`(archive$data, archive$n_batch, , on = "batch_nr") 16. └─data.table:::stopf("logical error. i is not a data.table, but 'on' argument is provided.") ── Error ('test_TunerHyperband.R:175:3'): TunerBatchHyperband maximizes measure ── Error: logical error. i is not a data.table, but 'on' argument is provided. Backtrace: ▆ 1. └─mlr3hyperband:::test_tuner_hyperband(...) at test_TunerHyperband.R:175:3 2. └─mlr3tuning::tune(...) at D:\RCompile\CRANincoming\R-devel\mlr3hyperband.Rcheck\tests\testthat\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. ├─archive$data[archive$n_batch, , on = "batch_nr"] 15. └─data.table::`[.data.table`(archive$data, archive$n_batch, , on = "batch_nr") 16. └─data.table:::stopf("logical error. i is not a data.table, but 'on' argument is provided.") ── Error ('test_TunerHyperband.R:195:3'): TunerBatchHyperband works with repetitions ── Error: logical error. i is not a data.table, but 'on' argument is provided. Backtrace: ▆ 1. └─mlr3tuning::tune(...) at test_TunerHyperband.R:195: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. ├─archive$data[archive$n_batch, , on = "batch_nr"] 14. └─data.table::`[.data.table`(archive$data, archive$n_batch, , on = "batch_nr") 15. └─data.table:::stopf("logical error. i is not a data.table, but 'on' argument is provided.") ── Error ('test_TunerHyperband.R:211:3'): TunerBatchHyperband terminates itself ── Error: logical error. i is not a data.table, but 'on' argument is provided. Backtrace: ▆ 1. └─mlr3tuning::tune(...) at test_TunerHyperband.R:211: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. ├─archive$data[archive$n_batch, , on = "batch_nr"] 14. └─data.table::`[.data.table`(archive$data, archive$n_batch, , on = "batch_nr") 15. └─data.table:::stopf("logical error. i is not a data.table, but 'on' argument is provided.") ── Error ('test_TunerHyperband.R:227:3'): TunerBatchHyperband works with infinite repetitions ── Error: logical error. i is not a data.table, but 'on' argument is provided. Backtrace: ▆ 1. └─mlr3tuning::tune(...) at test_TunerHyperband.R:227: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. ├─archive$data[archive$n_batch, , on = "batch_nr"] 14. └─data.table::`[.data.table`(archive$data, archive$n_batch, , on = "batch_nr") 15. └─data.table:::stopf("logical error. i is not a data.table, but 'on' argument is provided.") [ FAIL 13 | WARN 0 | SKIP 0 | PASS 95 ] Error: Test failures Execution halted * checking PDF version of manual ... [13s] OK * checking HTML version of manual ... OK * DONE Status: 2 ERRORs