* using log directory ‘/srv/hornik/tmp/CRAN/mlr3viz.Rcheck’ * using R Under development (unstable) (2024-06-24 r86824) * using platform: x86_64-pc-linux-gnu * R was compiled by Debian clang version 18.1.5 (2) Debian flang-new version 18.1.5 (2) * running under: Debian GNU/Linux trixie/sid * using session charset: UTF-8 * checking for file ‘mlr3viz/DESCRIPTION’ ... OK * this is package ‘mlr3viz’ version ‘0.9.0’ * package encoding: UTF-8 * checking CRAN incoming feasibility ... [5s/6s] Note_to_CRAN_maintainers Maintainer: ‘Michel Lang ’ * 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 serialization versions ... OK * checking whether package ‘mlr3viz’ can be installed ... [3s/3s] OK * checking package directory ... OK * checking for future file timestamps ... 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 ... [1s/1s] OK * checking whether the package can be loaded with stated dependencies ... [0s/0s] OK * checking whether the package can be unloaded cleanly ... [0s/0s] OK * checking whether the namespace can be loaded with stated dependencies ... [0s/0s] 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 whether startup messages can be suppressed ... [1s/1s] 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 ... [5s/5s] OK * checking Rd files ... [0s/0s] OK * checking Rd metadata ... OK * checking Rd line widths ... OK * checking Rd cross-references ... WARNING Missing link or links in Rd file 'autoplot.EnsembleFSResult.Rd': ‘[mlr3fselect:ensemble_fs_result]{EnsembleFSResult}’ ‘[mlr3fselect:ensemble_fs_result]{mlr3fselect::EnsembleFSResult}’ Missing link or links in Rd file 'autoplot.OptimInstanceBatchSingleCrit.Rd': ‘[bbotk:OptimInstanceBatchSingleCrit]{bbotk::OptimInstanceBatchSingleCrit}’ Missing link or links in Rd file '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 ... [7s/7s] ERROR Running examples in ‘mlr3viz-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### 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 ... [25s/15s] ERROR Running ‘testthat.R’ [25s/15s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > if (requireNamespace("testthat", quietly = TRUE)) { + library("testthat") + library("mlr3viz") + test_check("mlr3viz") + } Starting 2 test processes [ FAIL 3 | WARN 0 | SKIP 25 | PASS 82 ] ══ Skipped tests (25) ══════════════════════════════════════════════════════════ • On CRAN (25): 'test_Filter.R:10:3', 'test_LearnerClassif.R:8:3', 'test_LearnerClassif.R:18:3', 'test_BenchmarkResult.R:20:3', 'test_BenchmarkResult.R:49:3', 'test_LearnerClassifCVGlmnet.R:13:3', 'test_LearnerClassifRpart.R:10:3', 'test_LearnerClasssifGlmnet.R:13:3', 'test_LearnerRegr.R:8:3', 'test_LearnerRegr.R:18:3', 'test_LearnerRegr.R:28:3', 'test_LearnerClustHierarchical.R:7:3', 'test_LearnerRegrCVGlmnet.R:13:3', 'test_LearnerRegrGlmnet.R:12:3', 'test_PredictionClassif.R:11:3', 'test_LearnerRegrRpart.R:10:3', 'test_PredictionClust.R:8:3', 'test_PredictionRegr.R:10:3', 'test_TaskClassif.R:8:3', 'test_TaskClust.R:10:3', 'test_TaskRegr.R:8:3', 'test_plot_learner_prediction.R:10:3', 'test_plot_learner_prediction.R:43:3', 'test_plot_learner_prediction.R:53:3', 'test_ResampleResult.R:21:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test_EnsembleFSResult.R:20:3'): autoplot ResampleResult ───────────── Error: 'EnsembleFSResult' is not an exported object from 'namespace:mlr3fselect' ── Error ('test_OptimInstanceSingleCrit.R:24:1'): (code run outside of `test_that()`) ── Error in `eval(code, test_env)`: object 'OptimInstanceBatchSingleCrit' not found ── Error ('test_TuningInstanceSingleCrit.R:16:1'): (code run outside of `test_that()`) ── Error in `eval(code, test_env)`: object 'TuningInstanceBatchSingleCrit' not found [ FAIL 3 | WARN 0 | SKIP 25 | PASS 82 ] Deleting unused snapshots: • BenchmarkResult/bmr-prc.svg • BenchmarkResult/bmr-roc.svg • EnsembleFSResult/pareto-estimated.svg • EnsembleFSResult/pareto-n-features.svg • EnsembleFSResult/pareto-performance.svg • EnsembleFSResult/pareto-stability.svg • EnsembleFSResult/pareto-stepwise.svg • Filter/filter-2.svg • LearnerClustHierarchical/learner-clust-agnes.svg • LearnerClustHierarchical/learner-clust-hclust.svg • OptimInstanceSingleCrit/tisc-marginal-01.svg • OptimInstanceSingleCrit/tisc-marginal-02.svg • OptimInstanceSingleCrit/tisc-marginal-trafo-01.svg • OptimInstanceSingleCrit/tisc-marginal-trafo-02.svg • OptimInstanceSingleCrit/tisc-marginal-x-domain-01.svg • OptimInstanceSingleCrit/tisc-parallel.svg • OptimInstanceSingleCrit/tisc-parameter-01.svg • OptimInstanceSingleCrit/tisc-parameter-02.svg • OptimInstanceSingleCrit/tisc-parameter-return-list-01.svg • OptimInstanceSingleCrit/tisc-parameter-return-list-02.svg • OptimInstanceSingleCrit/tisc-parameter-trafo-01.svg • OptimInstanceSingleCrit/tisc-parameter-trafo-02.svg • OptimInstanceSingleCrit/tisc-parameter-x-domain-01.svg • OptimInstanceSingleCrit/tisc-performance.svg • OptimInstanceSingleCrit/tisc-points.svg • OptimInstanceSingleCrit/tisc-surface-grid-50.svg • OptimInstanceSingleCrit/tisc-surface-regr-lm.svg • OptimInstanceSingleCrit/tisc-surface.svg • PredictionClassif/predictionclassif-prc.svg • PredictionClassif/predictionclassif-roc.svg • PredictionClassif/predictionclassif-threshold.svg • PredictionClust/predictionclust-pca.svg • PredictionClust/predictionclust-sil.svg • PredictionRegr/predictionregr-confidence.svg • PredictionRegr/predictionregr-histogram.svg • PredictionRegr/predictionregr-residual.svg • ResampleResult/resampleresult-histogram.svg • ResampleResult/resampleresult-prc.svg • ResampleResult/resampleresult-roc.svg • TaskClassif/taskclassif-duo.svg • TuningInstanceSingleCrit/tisc-incumbent.svg • TuningInstanceSingleCrit/tisc-marginal-01.svg • TuningInstanceSingleCrit/tisc-marginal-02.svg • TuningInstanceSingleCrit/tisc-marginal-trafo-01.svg • TuningInstanceSingleCrit/tisc-marginal-trafo-02.svg • TuningInstanceSingleCrit/tisc-marginal-x-domain-01.svg • TuningInstanceSingleCrit/tisc-parallel.svg • TuningInstanceSingleCrit/tisc-parameter-01.svg • TuningInstanceSingleCrit/tisc-parameter-02.svg • TuningInstanceSingleCrit/tisc-parameter-return-list-01.svg • TuningInstanceSingleCrit/tisc-parameter-return-list-02.svg • 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 ... [3s/3s] OK * checking HTML version of manual ... [1s/1s] OK * checking for non-standard things in the check directory ... OK * checking for detritus in the temp directory ... OK * DONE Status: 2 ERRORs, 1 WARNING