- using R version 4.3.3 (2024-02-29)
- using platform: x86_64-apple-darwin20 (64-bit)
- R was compiled by
Apple clang version 14.0.0 (clang-1400.0.29.202)
GNU Fortran (GCC) 12.2.0
- running under: macOS Ventura 13.3.1
- using session charset: UTF-8
- checking for file ‘mlr3viz/DESCRIPTION’ ... OK
- this is package ‘mlr3viz’ version ‘0.9.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 ‘mlr3viz’ can be installed ... [4s/6s] OK
See the install log for details.
- 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 R files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... [1s/1s] OK
- checking whether the package can be loaded with stated dependencies ... [1s/1s] OK
- checking whether the package can be unloaded cleanly ... [1s/1s] OK
- checking whether the namespace can be loaded with stated dependencies ... [1s/1s] OK
- checking whether the namespace can be unloaded cleanly ... [1s/1s] OK
- checking loading without being on the library search path ... [1s/1s] OK
- checking startup messages can be suppressed ... [1s/1s] 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 ... [4s/6s] OK
- checking Rd files ... [0s/1s] OK
- checking Rd metadata ... OK
- checking Rd cross-references ... WARNING
Missing link or links in documentation object 'autoplot.EnsembleFSResult.Rd':
‘[mlr3fselect:ensemble_fs_result]{EnsembleFSResult}’
‘[mlr3fselect:ensemble_fs_result]{mlr3fselect::EnsembleFSResult}’
Missing link or links in documentation object 'autoplot.OptimInstanceBatchSingleCrit.Rd':
‘[bbotk:OptimInstanceBatchSingleCrit]{bbotk::OptimInstanceBatchSingleCrit}’
Missing link or links in documentation object 'autoplot.TuningInstanceBatchSingleCrit.Rd':
‘[mlr3tuning:TuningInstanceBatchSingleCrit]{mlr3tuning::TuningInstanceBatchSingleCrit}’
See section 'Cross-references' in the 'Writing R Extensions' manual.
- 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 examples ... [8s/12s] ERROR
Running examples in ‘mlr3viz-Ex.R’ failed
The error most likely occurred in:
> ### Name: autoplot.OptimInstanceBatchSingleCrit
> ### Title: Plots for Optimization Instances
> ### Aliases: autoplot.OptimInstanceBatchSingleCrit
>
> ### ** Examples
>
> if (requireNamespace("mlr3") && requireNamespace("bbotk") && requireNamespace("patchwork")) {
+ library(bbotk)
+ library(paradox)
+
+ fun = function(xs) {
+ c(y = -(xs[[1]] - 2)^2 - (xs[[2]] + 3)^2 + 10)
+ }
+ domain = ps(
+ x1 = p_dbl(-10, 10),
+ x2 = p_dbl(-5, 5)
+ )
+ codomain = ps(
+ y = p_dbl(tags = "maximize")
+ )
+ obfun = ObjectiveRFun$new(
+ fun = fun,
+ domain = domain,
+ codomain = codomain
+ )
+
+ instance = oi(objective = obfun, terminator = trm("evals", n_evals = 20))
+
+ optimizer = opt("random_search", batch_size = 2)
+ optimizer$optimize(instance)
+
+ # plot y versus batch number
+ print(autoplot(instance, type = "performance"))
+
+ # plot x1 values versus performance
+ print(autoplot(instance, type = "marginal", cols_x = "x1"))
+
+ # plot parallel coordinates plot
+ print(autoplot(instance, type = "parallel"))
+
+ # plot pairs
+ print(autoplot(instance, type = "pairs"))
+
+ # plot incumbent
+ print(autoplot(instance, type = "incumbent"))
+ }
Loading required namespace: bbotk
Loading required namespace: patchwork
Loading required package: paradox
Error in oi(objective = obfun, terminator = trm("evals", n_evals = 20)) :
could not find function "oi"
Execution halted
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [32s/32s] ERROR
Running ‘testthat.R’ [32s/32s]
Running the tests in ‘tests/testthat.R’ failed.
Last 13 lines of output:
• TuningInstanceSingleCrit/tisc-parameter-trafo-01.svg
• TuningInstanceSingleCrit/tisc-parameter-trafo-02.svg
• TuningInstanceSingleCrit/tisc-parameter-x-domain-01.svg
• TuningInstanceSingleCrit/tisc-performance.svg
• TuningInstanceSingleCrit/tisc-points.svg
• TuningInstanceSingleCrit/tisc-surface-grid-50.svg
• TuningInstanceSingleCrit/tisc-surface-regr-lm.svg
• TuningInstanceSingleCrit/tisc-surface.svg
• plot_learner_prediction/learner-prediction-1d-se.svg
• plot_learner_prediction/learner-prediction-binary-prob.svg
• plot_learner_prediction/learner-prediction-binary-response.svg
• plot_learner_prediction/learner-prediction-categorical.svg
• plot_learner_prediction/learner-prediction-prob.svg
Error: Test failures
Execution halted
- checking PDF version of manual ... [6s/9s] OK
- DONE
Status: 2 ERRORs, 1 WARNING
- using check arguments '--no-clean-on-error '