- using R Under development (unstable) (2025-12-20 r89211)
- 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 ‘mlr3mbo/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘mlr3mbo’ version ‘0.3.3’
- package encoding: UTF-8
- checking CRAN incoming feasibility ... [2s/3s] 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 ‘mlr3mbo’ can be installed ... OK
See the install log for details.
- used C compiler: ‘gcc-15 (Debian 15.2.0-11) 15.2.0’
- 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/2s] 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 ... [24s/27s] OK
- checking Rd files ... [1s/2s] 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 line endings in C/C++/Fortran sources/headers ... OK
- checking pragmas in C/C++ headers and code ... OK
- checking compilation flags used ... OK
- checking compiled code ... OK
- checking examples ... [11s/15s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [248s/275s] ERROR
Running ‘testthat.R’ [248s/274s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> if (requireNamespace("testthat", quietly = TRUE)) {
+ library(testthat)
+ library(checkmate)
+ library(mlr3mbo)
+ test_check("mlr3mbo")
+ }
Loading required package: mlr3tuning
Loading required package: mlr3
Loading required package: paradox
Attaching package: 'mlr3mbo'
The following object is masked from 'package:testthat':
it
Loading required namespace: mlr3learners
Loading required namespace: DiceKriging
Loading required namespace: rgenoud
WARN [17:18:25.907] [bbotk] Optimizer Error.
Saving _problems/test_ResultAssignerArchive-79.R
Saving _problems/test_ResultAssignerSurrogate-110.R
Saving _problems/test_TunerMbo-52.R
Saving _problems/test_TunerMbo-79.R
Saving _problems/test_TunerMbo-143.R
Saving _problems/test_TunerMbo-158.R
[ FAIL 6 | WARN 2 | SKIP 18 | PASS 1043 ]
══ Skipped tests (18) ══════════════════════════════════════════════════════════
• On CRAN (17): 'test_AcqFunctionEHVIGH.R:35:3',
'test_AcqFunctionStochasticCB.R:2:3', 'test_AcqFunctionStochasticCB.R:30:3',
'test_AcqFunctionStochasticCB.R:59:3', 'test_AcqFunctionStochasticCB.R:89:3',
'test_AcqFunctionStochasticCB.R:119:3', 'test_AcqFunctionStochasticEI.R:2:3',
'test_AcqFunctionStochasticEI.R:31:3', 'test_AcqFunctionStochasticEI.R:60:3',
'test_OptimizerADBO.R:2:3', 'test_OptimizerAsyncMbo.R:2:3',
'test_OptimizerAsyncMbo.R:24:3', 'test_OptimizerMbo.R:2:3',
'test_ResultAssignerSurrogate.R:16:3', 'test_TunerADBO.R:2:3',
'test_TunerAsyncMbo.R:2:3', 'test_TunerMbo.R:2:3'
• empty test (1): 'test_bayesopt_ego.R:55:1'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test_ResultAssignerArchive.R:79:3'): ResultAssignerArchive passes internal tuned values ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. ├─checkmate::expect_data_table(tuner$optimize(instance), nrows = 1L) at test_ResultAssignerArchive.R:79:3
2. │ └─checkmate::checkDataTable(...)
3. └─tuner$optimize(instance)
4. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
5. └─private$.optimizer$optimize(inst)
6. └─mlr3mbo:::.__OptimizerMbo__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. └─mlr3mbo:::.__OptimizerMbo__.optimize(...)
14. ├─mlr3misc::invoke(...)
15. │ └─base::eval.parent(expr, n = 1L)
16. │ └─base::eval(expr, p)
17. │ └─base::eval(expr, p)
18. └─self$loop_function(...)
19. └─instance$eval_batch(design)
20. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
21. └─self$objective$eval_many(xss_trafoed)
22. └─bbotk:::.__Objective__eval_many(...)
23. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
24. │ └─base::eval.parent(expr, n = 1L)
25. │ └─base::eval(expr, p)
26. │ └─base::eval(expr, p)
27. └─private$.eval_many(xss = xss, resampling = `<list>`)
28. └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
29. └─mlr3::benchmark(...)
30. └─ResultData$new(grid, data_extra, store_backends = store_backends)
31. └─mlr3 (local) initialize(...)
32. └─mlr3:::.__ResultData__initialize(...)
33. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
34. └─data.table:::`[.data.table`(...)
── Error ('test_ResultAssignerSurrogate.R:110:3'): ResultAssignerSurrogate passes internal tuned values ──
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. ├─checkmate::expect_data_table(tuner$optimize(instance), nrows = 1L) at test_ResultAssignerSurrogate.R:110:3
2. │ └─checkmate::checkDataTable(...)
3. └─tuner$optimize(instance)
4. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
5. └─private$.optimizer$optimize(inst)
6. └─mlr3mbo:::.__OptimizerMbo__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. └─mlr3mbo:::.__OptimizerMbo__.optimize(...)
14. ├─mlr3misc::invoke(...)
15. │ └─base::eval.parent(expr, n = 1L)
16. │ └─base::eval(expr, p)
17. │ └─base::eval(expr, p)
18. └─self$loop_function(...)
19. └─instance$eval_batch(design)
20. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
21. └─self$objective$eval_many(xss_trafoed)
22. └─bbotk:::.__Objective__eval_many(...)
23. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
24. │ └─base::eval.parent(expr, n = 1L)
25. │ └─base::eval(expr, p)
26. │ └─base::eval(expr, p)
27. └─private$.eval_many(xss = xss, resampling = `<list>`)
28. └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
29. └─mlr3::benchmark(...)
30. └─ResultData$new(grid, data_extra, store_backends = store_backends)
31. └─mlr3 (local) initialize(...)
32. └─mlr3:::.__ResultData__initialize(...)
33. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
34. └─data.table:::`[.data.table`(...)
── Error ('test_TunerMbo.R:52:3'): Constructing TunerMbo and ABs ───────────────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─tuner$optimize(instance) at test_TunerMbo.R:52:3
2. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
3. └─private$.optimizer$optimize(inst)
4. └─mlr3mbo:::.__OptimizerMbo__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. └─mlr3mbo:::.__OptimizerMbo__.optimize(...)
12. ├─mlr3misc::invoke(...)
13. │ └─base::eval.parent(expr, n = 1L)
14. │ └─base::eval(expr, p)
15. │ └─base::eval(expr, p)
16. └─self$loop_function(...)
17. └─instance$eval_batch(design)
18. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
19. └─self$objective$eval_many(xss_trafoed)
20. └─bbotk:::.__Objective__eval_many(...)
21. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
22. │ └─base::eval.parent(expr, n = 1L)
23. │ └─base::eval(expr, p)
24. │ └─base::eval(expr, p)
25. └─private$.eval_many(xss = xss, resampling = `<list>`)
26. └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
27. └─mlr3::benchmark(...)
28. └─ResultData$new(grid, data_extra, store_backends = store_backends)
29. └─mlr3 (local) initialize(...)
30. └─mlr3:::.__ResultData__initialize(...)
31. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
32. └─data.table:::`[.data.table`(...)
── Error ('test_TunerMbo.R:72:3'): TunerMbo sugar ──────────────────────────────
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_TunerMbo.R:72:3
2. └─tuner$optimize(instance)
3. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
4. └─private$.optimizer$optimize(inst)
5. └─mlr3mbo:::.__OptimizerMbo__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. └─mlr3mbo:::.__OptimizerMbo__.optimize(...)
13. ├─mlr3misc::invoke(...)
14. │ └─base::eval.parent(expr, n = 1L)
15. │ └─base::eval(expr, p)
16. │ └─base::eval(expr, p)
17. └─self$loop_function(...)
18. └─instance$eval_batch(design)
19. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
20. └─self$objective$eval_many(xss_trafoed)
21. └─bbotk:::.__Objective__eval_many(...)
22. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
23. │ └─base::eval.parent(expr, n = 1L)
24. │ └─base::eval(expr, p)
25. │ └─base::eval(expr, p)
26. └─private$.eval_many(xss = xss, resampling = `<list>`)
27. └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
28. └─mlr3::benchmark(...)
29. └─ResultData$new(grid, data_extra, store_backends = store_backends)
30. └─mlr3 (local) initialize(...)
31. └─mlr3:::.__ResultData__initialize(...)
32. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
33. └─data.table:::`[.data.table`(...)
── Error ('test_TunerMbo.R:143:3'): TunerMbo args ──────────────────────────────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─tuner$optimize(instance) at test_TunerMbo.R:143:3
2. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
3. └─private$.optimizer$optimize(inst)
4. └─mlr3mbo:::.__OptimizerMbo__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. └─mlr3mbo:::.__OptimizerMbo__.optimize(...)
12. ├─mlr3misc::invoke(...)
13. │ └─base::eval.parent(expr, n = 1L)
14. │ └─base::eval(expr, p)
15. │ └─base::eval(expr, p)
16. └─self$loop_function(...)
17. └─instance$eval_batch(design)
18. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
19. └─self$objective$eval_many(xss_trafoed)
20. └─bbotk:::.__Objective__eval_many(...)
21. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
22. │ └─base::eval.parent(expr, n = 1L)
23. │ └─base::eval(expr, p)
24. │ └─base::eval(expr, p)
25. └─private$.eval_many(xss = xss, resampling = `<list>`)
26. └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
27. └─mlr3::benchmark(...)
28. └─ResultData$new(grid, data_extra, store_backends = store_backends)
29. └─mlr3 (local) initialize(...)
30. └─mlr3:::.__ResultData__initialize(...)
31. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
32. └─data.table:::`[.data.table`(...)
── Error ('test_TunerMbo.R:158:3'): TunerMbo reset ─────────────────────────────
Error in ``[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash")`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─tuner$optimize(instance) at test_TunerMbo.R:158:3
2. └─mlr3tuning:::.__TunerBatchFromOptimizerBatch__optimize(...)
3. └─private$.optimizer$optimize(inst)
4. └─mlr3mbo:::.__OptimizerMbo__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. └─mlr3mbo:::.__OptimizerMbo__.optimize(...)
12. ├─mlr3misc::invoke(...)
13. │ └─base::eval.parent(expr, n = 1L)
14. │ └─base::eval(expr, p)
15. │ └─base::eval(expr, p)
16. └─self$loop_function(...)
17. └─instance$eval_batch(design)
18. └─bbotk:::.__OptimInstanceBatch__eval_batch(...)
19. └─self$objective$eval_many(xss_trafoed)
20. └─bbotk:::.__Objective__eval_many(...)
21. ├─mlr3misc::invoke(private$.eval_many, xss = xss, .args = self$constants$values)
22. │ └─base::eval.parent(expr, n = 1L)
23. │ └─base::eval(expr, p)
24. │ └─base::eval(expr, p)
25. └─private$.eval_many(xss = xss, resampling = `<list>`)
26. └─mlr3tuning:::.__ObjectiveTuningBatch__.eval_many(...)
27. └─mlr3::benchmark(...)
28. └─ResultData$new(grid, data_extra, store_backends = store_backends)
29. └─mlr3 (local) initialize(...)
30. └─mlr3:::.__ResultData__initialize(...)
31. ├─data[, `:=`("task_hash", task[[1L]]$hash), by = "uhash"]
32. └─data.table:::`[.data.table`(...)
[ FAIL 6 | WARN 2 | SKIP 18 | PASS 1043 ]
Error:
! Test failures.
Execution halted
- checking PDF version of manual ... [8s/9s] OK
- checking HTML version of manual ... [8s/10s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 1 ERROR