Last updated on 2025-08-01 13:49:58 CEST.
Package | ERROR | OK |
---|---|---|
mlr3mbo | 2 | 11 |
Current CRAN status: ERROR: 2, OK: 11
Version: 0.3.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [10m/10m]
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 [07:12:13.303] [bbotk] Optimizer Error.
[ FAIL 1 | WARN 2 | SKIP 18 | PASS 1092 ]
══ Skipped tests (18) ══════════════════════════════════════════════════════════
• On CRAN (17): 'test_AcqFunctionEHVIGH.R:35:3',
'test_AcqFunctionStochasticCB.R:2:3', 'test_AcqFunctionStochasticCB.R:29:3',
'test_AcqFunctionStochasticCB.R:57:3', 'test_AcqFunctionStochasticCB.R:86:3',
'test_AcqFunctionStochasticCB.R:115:3', 'test_AcqFunctionStochasticEI.R:2:3',
'test_AcqFunctionStochasticEI.R:30:3', 'test_AcqFunctionStochasticEI.R:58:3',
'test_OptimizerADBO.R:2:3', 'test_OptimizerAsyncMbo.R:2:3',
'test_OptimizerAsyncMbo.R:23: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:88:3'): default_surrogate ─────────────────────
sortnames(x) (`actual`) not equal to sortnames(y) (`expected`).
`actual` is length 12
`expected` is length 11
names(actual) | names(expected)
[6] "imputeoor.offset" | "imputeoor.offset" [6]
[7] "imputeoor.multiplier" | "imputeoor.multiplier" [7]
[8] "imputeoor.min" | "imputeoor.min" [8]
[9] "imputeoor.create_empty_level" -
[10] "imputeoor.affect_columns" | "imputeoor.affect_columns" [9]
[11] "colapply.applicator" | "colapply.applicator" [10]
[12] "colapply.affect_columns" | "colapply.affect_columns" [11]
`actual$imputeoor.create_empty_level` is a logical vector (FALSE)
`expected$imputeoor.create_empty_level` is absent
Backtrace:
▆
1. └─mlr3mbo:::expect_equal_sorted(...) at test_mbo_defaults.R:88:3
2. └─testthat::expect_equal(sortnames(x), sortnames(y), ...) at tests/testthat/helper.R:243:3
[ FAIL 1 | WARN 2 | SKIP 18 | PASS 1092 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang
Version: 0.3.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [10m/11m]
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 [07:18:32.375] [bbotk] Optimizer Error.
[ FAIL 1 | WARN 2 | SKIP 18 | PASS 1092 ]
══ Skipped tests (18) ══════════════════════════════════════════════════════════
• On CRAN (17): 'test_AcqFunctionEHVIGH.R:35:3',
'test_AcqFunctionStochasticCB.R:2:3', 'test_AcqFunctionStochasticCB.R:29:3',
'test_AcqFunctionStochasticCB.R:57:3', 'test_AcqFunctionStochasticCB.R:86:3',
'test_AcqFunctionStochasticCB.R:115:3', 'test_AcqFunctionStochasticEI.R:2:3',
'test_AcqFunctionStochasticEI.R:30:3', 'test_AcqFunctionStochasticEI.R:58:3',
'test_OptimizerADBO.R:2:3', 'test_OptimizerAsyncMbo.R:2:3',
'test_OptimizerAsyncMbo.R:23: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:88:3'): default_surrogate ─────────────────────
sortnames(x) (`actual`) not equal to sortnames(y) (`expected`).
`actual` is length 12
`expected` is length 11
names(actual) | names(expected)
[6] "imputeoor.offset" | "imputeoor.offset" [6]
[7] "imputeoor.multiplier" | "imputeoor.multiplier" [7]
[8] "imputeoor.min" | "imputeoor.min" [8]
[9] "imputeoor.create_empty_level" -
[10] "imputeoor.affect_columns" | "imputeoor.affect_columns" [9]
[11] "colapply.applicator" | "colapply.applicator" [10]
[12] "colapply.affect_columns" | "colapply.affect_columns" [11]
`actual$imputeoor.create_empty_level` is a logical vector (FALSE)
`expected$imputeoor.create_empty_level` is absent
Backtrace:
▆
1. └─mlr3mbo:::expect_equal_sorted(...) at test_mbo_defaults.R:88:3
2. └─testthat::expect_equal(sortnames(x), sortnames(y), ...) at tests/testthat/helper.R:243:3
[ FAIL 1 | WARN 2 | SKIP 18 | PASS 1092 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc