* using log directory 'd:/Rcompile/CRANpkg/local/4.6/bbotk.Rcheck' * using R Under development (unstable) (2025-12-23 r89222 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 14.3.0 GNU Fortran (GCC) 14.3.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'bbotk/DESCRIPTION' ... OK * this is package 'bbotk' version '1.8.1' * package encoding: UTF-8 * 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 whether package 'bbotk' can be installed ... OK * used C compiler: 'gcc.exe (GCC) 14.3.0' * checking installed package size ... OK * checking package 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 ... [1s] OK * checking whether the package can be loaded with stated dependencies ... [1s] OK * checking whether the package can be unloaded cleanly ... [1s] OK * checking whether the namespace can be loaded with stated dependencies ... [1s] OK * checking whether the namespace can be unloaded cleanly ... [1s] OK * checking loading without being on the library search path ... [1s] OK * checking whether startup messages can be suppressed ... [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 ... [26s] OK * checking Rd files ... [4s] OK * checking Rd metadata ... 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 line endings in C/C++/Fortran sources/headers ... OK * checking pragmas in C/C++ headers and code ... OK * checking compiled code ... OK * checking examples ... [34s] OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... [232s] ERROR Running 'testthat.R' [232s] Running the tests in 'tests/testthat.R' failed. Complete output: > if (requireNamespace("testthat", quietly = TRUE)) { + library("testthat") + library("checkmate") + test_check("bbotk") + } Loading required package: bbotk Loading required package: paradox [ FAIL 4 | WARN 0 | SKIP 54 | PASS 1137 ] ══ Skipped tests (54) ══════════════════════════════════════════════════════════ • On CRAN (51): 'test_ArchiveAsync.R:2:3', 'test_ArchiveAsync.R:61:3', 'test_ArchiveAsyncFrozen.R:2:3', 'test_ArchiveBatch.R:1:1', 'test_CallbackAsync.R:4:3', 'test_CallbackAsync.R:31:3', 'test_CallbackAsync.R:59:3', 'test_CallbackAsync.R:88:3', 'test_CallbackAsync.R:118:3', 'test_CallbackAsync.R:154:3', 'test_CallbackAsync.R:183:3', 'test_CallbackAsync.R:210:3', 'test_CallbackAsync.R:239:3', 'test_CallbackAsync.R:269:3', 'test_CallbackAsync.R:297:3', 'test_Objective.R:1:1', 'test_OptimInstanceAsyncSingleCrit.R:2:3', 'test_OptimInstanceAsyncSingleCrit.R:26:3', 'test_OptimInstanceAsyncSingleCrit.R:45:3', 'test_OptimInstanceAsyncSingleCrit.R:65:3', 'test_OptimInstanceAsyncSingleCrit.R:82:3', 'test_OptimInstanceAsyncSingleCrit.R:109:3', 'test_OptimInstanceBatchMultiCrit.R:1:1', 'test_OptimInstanceBatchSingleCrit.R:1:1', 'test_OptimizerAsynDesignPoints.R:2:3', 'test_OptimizerAsynGridSearch.R:2:3', 'test_OptimizerAsync.R:2:3', 'test_OptimizerAsync.R:26:3', 'test_OptimizerAsync.R:50:3', 'test_OptimizerAsync.R:73:3', 'test_OptimizerAsync.R:95:3', 'test_OptimizerAsync.R:124:3', 'test_OptimizerAsync.R:155:3', 'test_OptimizerAsync.R:178:3', 'test_OptimizerAsyncRandomSearch.R:2:3', 'test_OptimizerBatchCmaes.R:1:1', 'test_OptimizerBatchDesignPoints.R:1:1', 'test_OptimizerBatchFocusSearch.R:1:1', 'test_OptimizerBatchGenSA.R:1:1', 'test_OptimizerBatchGridSearch.R:1:1', 'test_OptimizerBatchRandomSearch.R:1:1', 'test_TerminatorClockTime.R:1:1', 'test_TerminatorCombo.R:1:1', 'test_TerminatorEvals.R:1:1', 'test_TerminatorNone.R:1:1', 'test_TerminatorPerfReached.R:1:1', 'test_TerminatorRunTime.R:2:5', 'test_TerminatorStagnation.R:1:1', 'test_TerminatorStagnationBatch.R:1:1', 'test_TerminatorStagnationBatch.R:15:1', 'test_mlr_callbacks.R:58:3' • On Windows (2): 'test_OptimizerBatchNLoptr.R:2:3', 'test_OptimizerBatchNLoptr.R:18:3' • TRUE is TRUE (1): 'test_mlr_callbacks.R:19:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test_OptimizerBatchIrace.R:23:3'): OptimizerBatchIrace minimize works ── Error in ``[.data.table`(log, , `:=`("step", rleid("instance")), by = "iteration")`: attempt access index 5/5 in VECTOR_ELT Backtrace: ▆ 1. ├─utils::capture.output(optimizer$optimize(instance)) at test_OptimizerBatchIrace.R:23:3 2. │ └─base::withVisible(...elt(i)) 3. └─optimizer$optimize(instance) 4. └─bbotk:::.__OptimizerBatch__optimize(...) 5. └─bbotk::optimize_batch_default(inst, self) 6. ├─base::tryCatch(...) 7. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 8. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 9. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 10. └─get_private(optimizer)$.optimize(instance) 11. └─bbotk:::.__OptimizerBatchIrace__.optimize(...) 12. ├─log[, `:=`("step", rleid("instance")), by = "iteration"] 13. └─data.table:::`[.data.table`(...) ── Error ('test_OptimizerBatchIrace.R:63:3'): OptimizerBatchIrace maximize works ── Error in ``[.data.table`(log, , `:=`("step", rleid("instance")), by = "iteration")`: attempt access index 5/5 in VECTOR_ELT Backtrace: ▆ 1. ├─utils::capture.output(optimizer$optimize(instance)) at test_OptimizerBatchIrace.R:63:3 2. │ └─base::withVisible(...elt(i)) 3. └─optimizer$optimize(instance) 4. └─bbotk:::.__OptimizerBatch__optimize(...) 5. └─bbotk::optimize_batch_default(inst, self) 6. ├─base::tryCatch(...) 7. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 8. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 9. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 10. └─get_private(optimizer)$.optimize(instance) 11. └─bbotk:::.__OptimizerBatchIrace__.optimize(...) 12. ├─log[, `:=`("step", rleid("instance")), by = "iteration"] 13. └─data.table:::`[.data.table`(...) ── Error ('test_OptimizerBatchIrace.R:129:3'): OptimizerBatchIrace works with passed constants set ── Error in ``[.data.table`(log, , `:=`("step", rleid("instance")), by = "iteration")`: attempt access index 5/5 in VECTOR_ELT Backtrace: ▆ 1. ├─utils::capture.output(optimizer$optimize(instance)) at test_OptimizerBatchIrace.R:129:3 2. │ └─base::withVisible(...elt(i)) 3. └─optimizer$optimize(instance) 4. └─bbotk:::.__OptimizerBatch__optimize(...) 5. └─bbotk::optimize_batch_default(inst, self) 6. ├─base::tryCatch(...) 7. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 8. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 9. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 10. └─get_private(optimizer)$.optimize(instance) 11. └─bbotk:::.__OptimizerBatchIrace__.optimize(...) 12. ├─log[, `:=`("step", rleid("instance")), by = "iteration"] 13. └─data.table:::`[.data.table`(...) ── Error ('test_OptimizerBatchIrace.R:154:3'): OptimizerBatchIrace works without passed constants set ── Error in ``[.data.table`(log, , `:=`("step", rleid("instance")), by = "iteration")`: attempt access index 5/5 in VECTOR_ELT Backtrace: ▆ 1. ├─utils::capture.output(optimizer$optimize(instance)) at test_OptimizerBatchIrace.R:154:3 2. │ └─base::withVisible(...elt(i)) 3. └─optimizer$optimize(instance) 4. └─bbotk:::.__OptimizerBatch__optimize(...) 5. └─bbotk::optimize_batch_default(inst, self) 6. ├─base::tryCatch(...) 7. │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 8. │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 9. │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 10. └─get_private(optimizer)$.optimize(instance) 11. └─bbotk:::.__OptimizerBatchIrace__.optimize(...) 12. ├─log[, `:=`("step", rleid("instance")), by = "iteration"] 13. └─data.table:::`[.data.table`(...) [ FAIL 4 | WARN 0 | SKIP 54 | PASS 1137 ] Error: ! Test failures. Execution halted * checking PDF version of manual ... [26s] OK * checking HTML version of manual ... [31s] OK * DONE Status: 1 ERROR