* using log directory 'd:/RCompile/CRANincoming/R-devel/mlr3tuning.Rcheck' * using R Under development (unstable) (2024-11-24 r87369 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 13.3.0 GNU Fortran (GCC) 13.3.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'mlr3tuning/DESCRIPTION' ... OK * this is package 'mlr3tuning' version '1.2.1' * package encoding: UTF-8 * checking CRAN incoming feasibility ... [13s] 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 hidden files and directories ... OK * checking for portable file names ... OK * checking serialization versions ... OK * checking whether package 'mlr3tuning' can be installed ... OK * checking installed package size ... OK * checking package directory ... OK * checking for future file timestamps ... OK * checking 'build' directory ... 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 ... [16s] 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 installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... OK * checking examples ... [19s] OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... [156s] ERROR Running 'testthat.R' [155s] Running the tests in 'tests/testthat.R' failed. Complete output: > 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 * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... OK * checking PDF version of manual ... [17s] OK * checking HTML version of manual ... [13s] OK * DONE Status: 1 ERROR