CRAN Package Check Results for Package mlr3mbo

Last updated on 2026-03-01 12:50:08 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.3.3 8.17 573.73 581.90 OK
r-devel-linux-x86_64-debian-gcc 1.0.0 5.90 387.67 393.57 OK
r-devel-linux-x86_64-fedora-clang 0.3.3 13.00 820.55 833.55 OK
r-devel-linux-x86_64-fedora-gcc 1.0.0 14.00 861.07 875.07 ERROR
r-devel-macos-arm64 1.0.0 3.00 146.00 149.00 OK
r-devel-windows-x86_64 1.0.0 12.00 459.00 471.00 OK
r-patched-linux-x86_64 0.3.3 9.62 501.46 511.08 OK
r-release-linux-x86_64 1.0.0 7.60 494.46 502.06 OK
r-release-macos-arm64 1.0.0 2.00 129.00 131.00 OK
r-release-macos-x86_64 0.3.3 6.00 463.00 469.00 OK
r-release-windows-x86_64 0.3.3 13.00 508.00 521.00 OK
r-oldrel-macos-arm64 1.0.0 2.00 131.00 133.00 OK
r-oldrel-macos-x86_64 1.0.0 8.00 972.00 980.00 OK
r-oldrel-windows-x86_64 0.3.3 17.00 673.00 690.00 OK

Check Details

Version: 1.0.0
Check: tests
Result: ERROR Running ‘testthat.R’ [11m/27m] 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-116.R WARN [08:13:42.131] [bbotk] Caught the following error: x Acquisition function optimization failed. > Class: Mlr3ErrorMboAcqOptimizer Caused by: Optimizer Error. WARN [08:13:43.045] [bbotk] Caught the following error: x Surrogate update failed. > Class: Mlr3ErrorMboSurrogateUpdate Caused by: x Surrogate Train Error. > Class: Mlr3ErrorLearnerTrain WARN [08:13:44.030] [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 18 | PASS 1169 ] ══ Skipped tests (18) ══════════════════════════════════════════════════════════ • On CRAN (18): 'test_AcqFunctionEHVIGH.R:35:3', 'test_AcqFunctionStochasticCB.R:2:3', 'test_AcqFunctionStochasticCB.R:35:3', 'test_AcqFunctionStochasticCB.R:67:3', 'test_AcqFunctionStochasticCB.R:100:3', 'test_AcqFunctionStochasticCB.R:133:3', 'test_AcqFunctionStochasticEI.R:2:3', 'test_AcqFunctionStochasticEI.R:34:3', 'test_AcqFunctionStochasticEI.R:66:3', 'test_OptimizerADBO.R:2:3', 'test_OptimizerAsyncMbo.R:2:3', 'test_OptimizerAsyncMbo.R:24:3', 'test_OptimizerMbo.R:2:3', 'test_ResultAssignerSurrogate.R:18:3', 'test_TunerADBO.R:2:3', 'test_TunerAsyncMbo.R:2:3', 'test_TunerMbo.R:2:3', 'test_conditions.R:5:1' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test_ResultAssignerSurrogate.R:116: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:116: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 18 | PASS 1169 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-fedora-gcc