- using R Under development (unstable) (2026-11-20 r90940)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
clang version 23.1.5
flang version 23.1.5
- running under: Fedora Linux 44 (Server Edition)
- using session charset: UTF-8
* current time: 2026-11-20 09:20:04 UTC
- using option ‘--no-stop-on-test-error’
- checking for file ‘mlr3viz/DESCRIPTION’ ... OK
- this is package ‘mlr3viz’ version ‘0.11.2’
- 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 ... 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 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 ... [12s/14s] OK
- checking Rd files ... OK
- checking Rd metadata ... OK
- checking Rd line widths ... OK
- checking Rd cross-references ... INFO
Undeclared package ‘stabm’ in Rd xrefs
- 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 ... ERROR
Running examples in ‘mlr3viz-Ex.R’ failed
The error most likely occurred in:
> ### Name: autoplot.LearnerClassifRpart
> ### Title: Plots for Rpart Learners
> ### Aliases: autoplot.LearnerClassifRpart autoplot.LearnerRegrRpart
>
> ### ** Examples
>
> if (mlr3misc::require_namespaces(c("partykit", "ggparty"), quietly = TRUE)) {
+ # classification
+ task = tsk("iris")
+ learner = lrn("classif.rpart", keep_model = TRUE)
+ learner$train(task)
+ autoplot(learner, type = "ggparty")
+
+ # regression
+ task = tsk("mtcars")
+ learner = lrn("regr.rpart", keep_model = TRUE)
+ learner$train(task)
+ autoplot(learner, type = "ggparty")
+ }
Error in `ggplot()`:
! `mapping` must be created by `aes()`.
✖ You've supplied an <uneval> object.
Backtrace:
▆
1. ├─ggplot2::autoplot(learner, type = "ggparty")
2. └─mlr3viz:::autoplot.LearnerClassifRpart(learner, type = "ggparty")
3. └─ggparty::ggparty(partykit::as.party(object$model))
4. ├─ggplot2::ggplot(data = plot_data, mapping = mapping)
5. └─ggplot2:::ggplot.default(data = plot_data, mapping = mapping)
6. └─ggplot2:::validate_mapping(mapping)
7. └─cli::cli_abort(msg, call = call)
8. └─rlang::abort(...)
Execution halted
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [104s/69s] ERROR
Running ‘testthat.R’ [104s/69s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> if (requireNamespace("testthat", quietly = TRUE)) {
+ library("testthat")
+ library("mlr3viz")
+ test_check("mlr3viz")
+ }
Loading required package: mlr3
Starting 2 test processes.
> test_EnsembleFSResult.R: Loading required namespace: vdiffr
> test_BenchmarkResult.R: Loading required namespace: vdiffr
Saving _problems/test_LearnerClassifRpart-8.R
Saving _problems/test_LearnerRegrRpart-8.R
> test_OptimInstanceSingleCrit.R: Loading required package: paradox
> test_PredictionRegr.R: `stat_bin()` using `bins = 30`. Pick better value `binwidth`.
> test_ResampleResult.R: `stat_bin()` using `bins = 30`. Pick better value `binwidth`.
> test_TaskClassif.R: `stat_bin()` using `bins = 30`. Pick better value `binwidth`.
> test_TaskClassif.R: `stat_bin()` using `bins = 30`. Pick better value `binwidth`.
> test_TaskClassif.R: `stat_bin()` using `bins = 30`. Pick better value `binwidth`.
> test_TaskClassif.R: `stat_bin()` using `bins = 30`. Pick better value `binwidth`.
[ FAIL 2 | WARN 0 | SKIP 27 | PASS 138 ]
══ Skipped tests (27) ══════════════════════════════════════════════════════════
• On CRAN (27): 'test_EnsembleFSResult.R:4:1', 'test_Filter.R:3:1',
'test_LearnerClassif.R:3:1', 'test_LearnerClassif.R:13:1',
'test_BenchmarkResult.R:24:1', 'test_BenchmarkResult.R:43:1',
'test_BenchmarkResult.R:63:1', 'test_LearnerClassifCVGlmnet.R:8:1',
'test_LearnerClustHierarchical.R:7:3', 'test_LearnerRegr.R:3:1',
'test_LearnerRegr.R:13:1', 'test_LearnerRegr.R:23:1',
'test_LearnerClassifGlmnet.R:8:1', 'test_LearnerRegrCVGlmnet.R:8:1',
'test_LearnerRegrGlmnet.R:7:1', 'test_PredictionClassif.R:8:1',
'test_PredictionClust.R:8:3', 'test_PredictionRegr.R:3:1',
'test_OptimInstanceSingleCrit.R:36:1', 'test_TaskClassif.R:3:1',
'test_ResampleResult.R:22:1', 'test_TaskClust.R:4:1', 'test_TaskRegr.R:3:1',
'test_plot_learner_prediction.R:3:1', 'test_plot_learner_prediction.R:38:1',
'test_plot_learner_prediction.R:46:1', 'test_TuningInstanceSingleCrit.R:34:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test_LearnerClassifRpart.R:8:3'): autoplot.LearnerClassifRpart ──────
Error in `ggplot(data = plot_data, mapping = mapping)`: `mapping` must be created by `aes()`.
x You've supplied an <uneval> object.
Backtrace:
▆
1. ├─base::suppressWarnings(p <- autoplot(learner, type = "ggparty")) at test_LearnerClassifRpart.R:8:3
2. │ └─base::withCallingHandlers(...)
3. ├─ggplot2::autoplot(learner, type = "ggparty")
4. └─mlr3viz:::autoplot.LearnerClassifRpart(learner, type = "ggparty")
5. └─ggparty::ggparty(partykit::as.party(object$model))
6. ├─ggplot2::ggplot(data = plot_data, mapping = mapping)
7. └─ggplot2:::ggplot.default(data = plot_data, mapping = mapping)
8. └─ggplot2:::validate_mapping(mapping)
9. └─cli::cli_abort(msg, call = call)
10. └─rlang::abort(...)
── Error ('test_LearnerRegrRpart.R:8:3'): autoplot.LearnerRegrRpart ────────────
Error in `ggplot(data = plot_data, mapping = mapping)`: `mapping` must be created by `aes()`.
x You've supplied an <uneval> object.
Backtrace:
▆
1. ├─base::suppressWarnings(p <- autoplot(learner, type = "ggparty")) at test_LearnerRegrRpart.R:8:3
2. │ └─base::withCallingHandlers(...)
3. ├─ggplot2::autoplot(learner, type = "ggparty")
4. └─mlr3viz:::autoplot.LearnerRegrRpart(learner, type = "ggparty")
5. └─ggparty::ggparty(partykit::as.party(object$model))
6. ├─ggplot2::ggplot(data = plot_data, mapping = mapping)
7. └─ggplot2:::ggplot.default(data = plot_data, mapping = mapping)
8. └─ggplot2:::validate_mapping(mapping)
9. └─cli::cli_abort(msg, call = call)
10. └─rlang::abort(...)
[ FAIL 2 | WARN 0 | SKIP 27 | PASS 138 ]
Deleting unused snapshots: 'LearnerClassifRpart/learner-classif-rpart.svg',
'LearnerClustHierarchical/learner-clust-agnes.svg',
'LearnerClustHierarchical/learner-clust-hclust.svg',
'LearnerRegrRpart/learner-regr-rpart.svg',
'PredictionClust/predictionclust-pca.svg',
'PredictionClust/predictionclust-scatter.svg',
'PredictionClust/predictionclust-sil.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-surface-regr-lm.svg', and
'TuningInstanceSingleCrit/tisc-surface.svg'
Error:
! Test failures.
Execution halted
- checking PDF version of manual ... OK
- checking HTML version of manual ... OK
- checking for non-standard things in the check directory ... OK
- checking for detritus in the temp directory ... OK
- DONE
Status: 2 ERRORs