- using R Under development (unstable) (2026-04-08 r89807)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
clang version 22.1.2 (https://github.com/llvm/llvm-project 1ab49a973e210e97d61e5db6557180dcb92c3e98)
flang version 22.1.2 (https://github.com/llvm/llvm-project 1ab49a973e210e97d61e5db6557180dcb92c3e98)
- running under: Fedora Linux 42 (Workstation Edition)
- using session charset: UTF-8
* current time: 2026-04-08 06:34:24 UTC
- using option ‘--no-stop-on-test-error’
- checking for file ‘mlr3mbo/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘mlr3mbo’ version ‘1.1.0’
- 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 executable files ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking whether package ‘mlr3mbo’ can be installed ... [13s/35s] OK
See the install log for details.
- used C compiler: ‘clang version 22.1.2 (https://github.com/llvm/llvm-project 1ab49a973e210e97d61e5db6557180dcb92c3e98)’
- 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 ... 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 ... [76s/202s] OK
- checking Rd files ... [4s/11s] OK
- checking Rd metadata ... OK
- checking Rd line widths ... OK
- checking Rd cross-references ... INFO
Undeclared package ‘cmaes’ in Rd xrefs
- 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 ... [29s/77s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [11m/31m] ERROR
Running ‘testthat.R’ [11m/31m]
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: mlr3
Loading required package: mlr3tuning
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
Saving _problems/test_ResultAssignerSurrogate-142.R
WARN [08:10:46.154] [bbotk] Caught the following error:
x Acquisition function optimization failed.
> Class: Mlr3ErrorMboAcqOptimizer
Caused by:
Optimizer Error.
WARN [08:10:48.217] [bbotk] Caught the following error:
x Surrogate update failed.
> Class: Mlr3ErrorMboSurrogateUpdate
Caused by:
x Surrogate Train Error.
> Class: Mlr3ErrorLearnerTrain
WARN [08:10:49.956] [bbotk] Caught the following error:
x Acquisition function optimization failed.
> Class: Mlr3ErrorMboAcqOptimizer
Caused by:
x Surrogate Predict Error.
> Class: Mlr3ErrorLearnerPredict
[ FAIL 1 | WARN 0 | SKIP 11 | PASS 1174 ]
══ Skipped tests (11) ══════════════════════════════════════════════════════════
• On CRAN (11): 'test_AcqFunctionEHVIGH.R:38:3',
'test_AcqFunctionStochasticCB.R:2:1', 'test_AcqFunctionStochasticEI.R:2:1',
'test_OptimizerADBO.R:2:1', 'test_OptimizerAsyncMbo.R:2:1',
'test_OptimizerMbo.R:2:3', 'test_ResultAssignerSurrogate.R:18:3',
'test_TunerADBO.R:2:1', 'test_TunerAsyncMbo.R:2:1', 'test_TunerMbo.R:2:3',
'test_conditions.R:5:1'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test_ResultAssignerSurrogate.R:142:3'): ResultAssignerSurrogate passes internal tuned values ──
Error in `.__OptimInstanceBatchSingleCrit__assign_result(self = self, private = private, super = super, xdt = xdt, y = y, extra = extra, ... = ...)`: Assertion on 'private$.result_y' failed: Must have length 1.
Backtrace:
▆
1. ├─checkmate::expect_data_table(tuner$optimize(instance), nrows = 1L) at test_ResultAssignerSurrogate.R:142: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. └─get_private(optimizer)$.assign_result(instance)
9. └─mlr3mbo:::.__OptimizerMbo__.assign_result(...)
10. └─self$result_assigner$assign_result(inst)
11. └─mlr3mbo:::.__ResultAssignerSurrogate__assign_result(...)
12. └─instance$assign_result(xdt = best, y = best_y, extra = extra)
13. └─mlr3tuning:::.__TuningInstanceBatchSingleCrit__assign_result(...)
14. └─super$assign_result(private$.result_xdt, private$.result_y)
15. └─bbotk:::.__OptimInstanceBatchSingleCrit__assign_result(...)
16. └─checkmate::assert_number(private$.result_y)
17. └─checkmate::makeAssertion(x, res, .var.name, add)
18. └─checkmate:::mstop(...)
[ FAIL 1 | WARN 0 | SKIP 11 | PASS 1174 ]
Error:
! Test failures.
Execution halted
- checking PDF version of manual ... [18s/35s] OK
- checking HTML version of manual ... [25s/36s] OK
- checking for non-standard things in the check directory ... OK
- checking for detritus in the temp directory ... OK
- DONE
Status: 1 ERROR