- using R Under development (unstable) (2025-08-08 r88539)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
clang version 20.1.8
flang version 20.1.8
- running under: Fedora Linux 42 (Workstation Edition)
- using session charset: UTF-8
- using option ‘--no-stop-on-test-error’
- checking for file ‘mlr3mbo/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘mlr3mbo’ version ‘0.3.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 ... [12s/19s] OK
See the install log for details.
- used C compiler: ‘clang version 20.1.8’
- 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 ... [64s/100s] OK
- checking Rd files ... OK
- checking Rd metadata ... OK
- checking Rd line widths ... OK
- checking Rd cross-references ... OK
- 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 ... [25s/41s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [10m/15m] ERROR
Running ‘testthat.R’ [10m/15m]
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 [18:27:42.199] [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
- checking PDF version of manual ... [17s/21s] OK
- checking HTML version of manual ... [11s/17s] OK
- checking for non-standard things in the check directory ... OK
- checking for detritus in the temp directory ... OK
- DONE
Status: 1 ERROR