- using R Under development (unstable) (2025-03-02 r87864)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
clang version 20.1.0-rc3
flang version 20.1.0-rc3
- running under: Fedora Linux 40 (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.2.8’
- 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/32s] OK
See the install log for details.
- used C compiler: ‘clang version 20.1.0-rc3’
- 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 ... [60s/123s] 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 ... [23s/37s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [9m/10m] ERROR
Running ‘testthat.R’ [9m/10m]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> if (requireNamespace("testthat", quietly = TRUE)) {
+ library(testthat)
+ library(mlr3mbo)
+ test_check("mlr3mbo")
+ }
Loading required package: mlr3tuning
Loading required package: mlr3
Loading required package: paradox
Loading required namespace: mlr3learners
Loading required namespace: DiceKriging
Loading required namespace: rgenoud
WARN [07:17:12.006] [bbotk] Optimizer Error.
WARN [07:17:53.457] [bbotk] Less then `n_select` (1) candidate points found during acquisition function optimization were not already evaluated.
WARN [07:19:11.028] [bbotk] Task 'surrogate_task' has missing values in column(s) 'y_scal', but learner 'regr.km' does not support this
WARN [07:19:11.032] [bbotk] Could not update the surrogate a final time after the optimization process has terminated.
WARN [07:19:38.223] [mlr3] train: BFGS hit on best individual produced Out of Boundary individual.
WARN [07:19:38.227] [mlr3] train: BFGS hit on best individual produced Out of Boundary individual.
WARN [07:19:38.230] [mlr3] train: BFGS hit on best individual produced Out of Boundary individual.
WARN [07:20:31.092] [bbotk] Task 'surrogate_task' has missing values in column(s) 'y_scal', but learner 'regr.km' does not support this
WARN [07:20:31.096] [bbotk] Could not update the surrogate a final time after the optimization process has terminated.
WARN [07:21:42.003] [bbotk] Surrogate Train Error.
WARN [07:21:54.973] [bbotk] Current insample performance of the Surrogate Model does not meet the performance threshold.
WARN [07:22:02.548] [bbotk] Surrogate Train Error.
WARN [07:22:25.051] [bbotk] Current insample performance of the Surrogate Model does not meet the performance threshold.
WARN [07:22:28.494] [mlr3] train: BFGS hit on best individual produced Out of Boundary individual.
WARN [07:22:28.497] [mlr3] train: BFGS hit on best individual produced Out of Boundary individual.
WARN [07:22:28.500] [mlr3] train: BFGS hit on best individual produced Out of Boundary individual.
WARN [07:23:27.311] [bbotk] Current insample performance of the Surrogate Model does not meet the performance threshold.
WARN [07:23:32.054] [bbotk] Optimizer Error.
WARN [07:23:32.718] [bbotk] Surrogate Train Error.
WARN [07:23:33.433] [bbotk] Surrogate Predict Error.
ERROR [07:24:47.288] [mlr3] train: Surrogate Train Error.
[ FAIL 1 | WARN 0 | SKIP 17 | PASS 1047 ]
══ Skipped tests (17) ══════════════════════════════════════════════════════════
• 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'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test_AcqFunctionMulti.R:73:3'): AcqFunctionMulti API works ──────────
Error in `grepl(as.character(pattern), x, ignore.case, FALSE, perl, fixed,
useBytes, FALSE)`: NA in coercion to boolean
Backtrace:
▆
1. ├─testthat::expect_true(...) at test_AcqFunctionMulti.R:73:3
2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─base::grepl("mlr_acqfunctions_multi", x = acqf$man, "man")
[ FAIL 1 | WARN 0 | SKIP 17 | PASS 1047 ]
Error: Test failures
Execution halted
- checking PDF version of manual ... [15s/15s] OK
- checking HTML version of manual ... [10s/11s] OK
- checking for non-standard things in the check directory ... OK
- checking for detritus in the temp directory ... OK
- DONE
Status: 1 ERROR