CRAN Package Check Results for Package mlr3mbo

Last updated on 2026-04-08 19:53:28 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.1.0 7.80 539.37 547.17 OK
r-devel-linux-x86_64-debian-gcc 1.1.0 6.53 403.91 410.44 OK
r-devel-linux-x86_64-fedora-clang 1.1.0 13.00 884.03 897.03 ERROR
r-devel-linux-x86_64-fedora-gcc 1.1.0 13.00 865.83 878.83 OK
r-devel-macos-arm64 1.1.0 2.00 128.00 130.00 OK
r-devel-windows-x86_64 1.1.0 14.00 528.00 542.00 OK
r-patched-linux-x86_64 1.1.0 11.62 506.78 518.40 OK
r-release-linux-x86_64 1.1.0 7.68 488.00 495.68 OK
r-release-macos-arm64 1.1.0 2.00 127.00 129.00 OK
r-release-macos-x86_64 1.1.0 8.00 470.00 478.00 OK
r-release-windows-x86_64 1.1.0 13.00 492.00 505.00 OK
r-oldrel-macos-arm64 1.1.0 2.00 130.00 132.00 OK
r-oldrel-macos-x86_64 1.1.0 7.00 494.00 501.00 OK
r-oldrel-windows-x86_64 1.1.0 16.00 686.00 702.00 OK

Check Details

Version: 1.1.0
Check: tests
Result: 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 Flavor: r-devel-linux-x86_64-fedora-clang