Package: mlr3mbo Check: tests New result: ERROR Running ‘testthat.R’ [225s/224s] 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 [15:49:09.445] [bbotk] Optimizer Error. [ FAIL 2 | WARN 2 | SKIP 18 | PASS 1091 ] ══ 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 ════════════════════════════════════════════════════════════════ ── Failure ('test_mbo_defaults.R:66:3'): default_surrogate ───────────────────── sortnames(x) (`actual`) not equal to sortnames(y) (`expected`). `actual` is length 5 `expected` is length 4 `names(actual)[1:4]`: "sigma2.threshold" "se.method" "num.trees" "num.threads" `names(expected)[1:3]`: "se.method" "num.trees" "num.threads" `actual$sigma2.threshold` is a double vector (0.01) `expected$sigma2.threshold` is absent Backtrace: ▆ 1. └─mlr3mbo:::expect_equal_sorted(...) at test_mbo_defaults.R:66:3 2. └─testthat::expect_equal(sortnames(x), sortnames(y), ...) at tests/testthat/helper.R:246:3 ── Failure ('test_mbo_defaults.R:75:3'): default_surrogate ───────────────────── sortnames(x) (`actual`) not equal to sortnames(y) (`expected`). `actual` is length 5 `expected` is length 4 `names(actual)[1:4]`: "sigma2.threshold" "se.method" "num.trees" "num.threads" `names(expected)[1:3]`: "se.method" "num.trees" "num.threads" `actual$sigma2.threshold` is a double vector (0.01) `expected$sigma2.threshold` is absent Backtrace: ▆ 1. └─mlr3mbo:::expect_equal_sorted(...) at test_mbo_defaults.R:75:3 2. └─testthat::expect_equal(sortnames(x), sortnames(y), ...) at tests/testthat/helper.R:246:3 [ FAIL 2 | WARN 2 | SKIP 18 | PASS 1091 ] Error: Test failures Execution halted