R Under development (unstable) (2024-11-24 r87369 ucrt) -- "Unsuffered Consequences" Copyright (C) 2024 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > if (requireNamespace("testthat", quietly = TRUE)) { + library("testthat") + library("checkmate") + library("mlr3tuning") + test_check("mlr3tuning") + } Loading required package: mlr3 Loading required package: paradox [ FAIL 5 | WARN 0 | SKIP 59 | PASS 4533 ] ══ Skipped tests (59) ══════════════════════════════════════════════════════════ • On CRAN (58): 'test_ArchiveAsyncTuning.R:2:3', 'test_ArchiveAsyncTuning.R:55:3', 'test_ArchiveAsyncTuning.R:110:3', 'test_ArchiveAsyncTuning.R:134:3', 'test_ArchiveAsyncTuning.R:154:3', 'test_ArchiveAsyncTuning.R:191:3', 'test_ArchiveAsyncTuning.R:230:3', 'test_ArchiveAsyncTuning.R:261:3', 'test_AutoTuner.R:618:3', 'test_CallbackAsyncTuning.R:4:3', 'test_CallbackAsyncTuning.R:29:3', 'test_CallbackAsyncTuning.R:55:3', 'test_CallbackAsyncTuning.R:80:3', 'test_CallbackAsyncTuning.R:107:3', 'test_CallbackAsyncTuning.R:139:3', 'test_CallbackAsyncTuning.R:162:3', 'test_CallbackAsyncTuning.R:192:3', 'test_CallbackAsyncTuning.R:219:3', 'test_CallbackAsyncTuning.R:244:3', 'test_CallbackAsyncTuning.R:271:3', 'test_CallbackAsyncTuning.R:298:3', 'test_CallbackAsyncTuning.R:324:3', 'test_Tuner.R:68:3', 'test_TunerAsyncDesignPoints.R:2:3', 'test_TunerAsyncGridSearch.R:2:3', 'test_TunerAsyncRandomSearch.R:2:3', 'test_TuningInstanceAsyncMultiCrit.R:2:3', 'test_TuningInstanceAsyncMultiCrit.R:28:3', 'test_TuningInstanceAsyncMultiCrit.R:51:3', 'test_TuningInstanceAsyncMultiCrit.R:73:3', 'test_TuningInstanceAsyncMultiCrit.R:95:3', 'test_TuningInstanceAsyncMultiCrit.R:121:3', 'test_TuningInstanceAsyncMultiCrit.R:174:3', 'test_TuningInstanceAsyncSingleCrit.R:2:3', 'test_TuningInstanceAsyncSingleCrit.R:27:3', 'test_TuningInstanceAsyncSingleCrit.R:48:3', 'test_TuningInstanceAsyncSingleCrit.R:70:3', 'test_TuningInstanceAsyncSingleCrit.R:94:3', 'test_TuningInstanceAsyncSingleCrit.R:119:3', 'test_TuningInstanceAsyncSingleCrit.R:167:3', 'test_TuningInstanceAsyncSingleCrit.R:195:3', 'test_TuningInstanceAsyncSingleCrit.R:208:3', 'test_auto_tuner.R:25:3', 'test_auto_tuner.R:46:3', 'test_mlr_callbacks.R:40:3', 'test_mlr_callbacks.R:91:3', 'test_mlr_callbacks.R:113:3', 'test_mlr_callbacks.R:135:3', 'test_mlr_callbacks.R:154:3', 'test_mlr_callbacks.R:182:3', 'test_mlr_callbacks.R:206:3', 'test_mlr_callbacks.R:237:3', 'test_mlr_callbacks.R:394:3', 'test_mlr_callbacks.R:434:3', 'test_ti_async.R:2:3', 'test_ti_async.R:16:3', 'test_ti_async.R:30:3', 'test_ti_async.R:42:3' • On Windows (1): 'test_TunerBatchNLoptr.R:2:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test_TunerBatchIrace.R:4:23'): TunerIrace ─────────────────────────── Error in `irace::irace(scenario = scenario, parameters = paradox_to_irace(inst$search_space, pv$digits))`: unused argument (parameters = paradox_to_irace(inst$search_space, pv$digits)) Backtrace: ▆ 1. ├─utils::capture.output(...) at test_TunerBatchIrace.R:4:3 2. │ └─base::withVisible(...elt(i)) 3. └─global test_tuner("irace", term_evals = 42, real_evals = 39) at test_TunerBatchIrace.R:4:23 4. └─tuner$optimize(inst) 5. └─mlr3tuning:::.__TunerBatchIrace__optimize(...) 6. └─private$.optimizer$optimize(inst) 7. └─bbotk:::.__OptimizerBatch__optimize(...) 8. └─bbotk::optimize_batch_default(inst, self) 9. ├─base::tryCatch(...) 10. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 11. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 12. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 13. └─get_private(optimizer)$.optimize(instance) 14. └─bbotk:::.__OptimizerBatchIrace__.optimize(...) ── Error ('test_TunerBatchIrace.R:32:23'): TunerIrace works with dependencies ── Error in `irace::irace(scenario = scenario, parameters = paradox_to_irace(inst$search_space, pv$digits))`: unused argument (parameters = paradox_to_irace(inst$search_space, pv$digits)) Backtrace: ▆ 1. ├─utils::capture.output(...) at test_TunerBatchIrace.R:32:3 2. │ └─base::withVisible(...elt(i)) 3. └─tuner$optimize(instance) at test_TunerBatchIrace.R:32:23 4. └─mlr3tuning:::.__TunerBatchIrace__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:::.__OptimizerBatchIrace__.optimize(...) ── Error ('test_TunerBatchIrace.R:44:23'): TunerIrace works with logical parameters ── Error in `irace::irace(scenario = scenario, parameters = paradox_to_irace(inst$search_space, pv$digits))`: unused argument (parameters = paradox_to_irace(inst$search_space, pv$digits)) Backtrace: ▆ 1. ├─utils::capture.output(...) at test_TunerBatchIrace.R:44:3 2. │ └─base::withVisible(...elt(i)) 3. └─tuner$optimize(instance) at test_TunerBatchIrace.R:44:23 4. └─mlr3tuning:::.__TunerBatchIrace__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:::.__OptimizerBatchIrace__.optimize(...) ── Error ('test_TunerBatchIrace.R:53:23'): TunerIrace uses digits ────────────── Error in `irace::irace(scenario = scenario, parameters = paradox_to_irace(inst$search_space, pv$digits))`: unused argument (parameters = paradox_to_irace(inst$search_space, pv$digits)) Backtrace: ▆ 1. ├─utils::capture.output(...) at test_TunerBatchIrace.R:53:3 2. │ └─base::withVisible(...elt(i)) 3. ├─checkmate::expect_data_table(tuner$optimize(instance)) at test_TunerBatchIrace.R:53:23 4. │ └─checkmate::checkDataTable(...) 5. └─tuner$optimize(instance) 6. └─mlr3tuning:::.__TunerBatchIrace__optimize(...) 7. └─private$.optimizer$optimize(inst) 8. └─bbotk:::.__OptimizerBatch__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. └─bbotk:::.__OptimizerBatchIrace__.optimize(...) ── Error ('test_TunerBatchIrace.R:62:23'): TunerIrace works with unnamed discrete values ── Error in `irace::irace(scenario = scenario, parameters = paradox_to_irace(inst$search_space, pv$digits))`: unused argument (parameters = paradox_to_irace(inst$search_space, pv$digits)) Backtrace: ▆ 1. ├─utils::capture.output(...) at test_TunerBatchIrace.R:62:3 2. │ └─base::withVisible(...elt(i)) 3. ├─checkmate::expect_data_table(tuner$optimize(inst)) at test_TunerBatchIrace.R:62:23 4. │ └─checkmate::checkDataTable(...) 5. └─tuner$optimize(inst) 6. └─mlr3tuning:::.__TunerBatchIrace__optimize(...) 7. └─private$.optimizer$optimize(inst) 8. └─bbotk:::.__OptimizerBatch__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. └─bbotk:::.__OptimizerBatchIrace__.optimize(...) [ FAIL 5 | WARN 0 | SKIP 59 | PASS 4533 ] Error: Test failures Execution halted