- using R Under development (unstable) (2025-12-07 r89119)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
Debian clang version 21.1.6 (2)
Debian flang version 21.1.6 (2)
- running under: Debian GNU/Linux forky/sid
- using session charset: UTF-8
- checking for file ‘mlr3benchmark/DESCRIPTION’ ... OK
- this is package ‘mlr3benchmark’ version ‘0.1.7’
- package encoding: UTF-8
- checking CRAN incoming feasibility ... [1s/2s] OK
- 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 ‘mlr3benchmark’ can be installed ... OK
See the install log for details.
- 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 ... [2s/4s] OK
- checking whether the package can be loaded with stated dependencies ... [2s/2s] OK
- checking whether the package can be unloaded cleanly ... [2s/3s] OK
- checking whether the namespace can be loaded with stated dependencies ... [2s/3s] OK
- checking whether the namespace can be unloaded cleanly ... [2s/3s] OK
- checking loading without being on the library search path ... [1s/2s] 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/21s] OK
- checking Rd files ... [0s/1s] 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 examples ... [19s/15s] ERROR
Running examples in ‘mlr3benchmark-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: autoplot.BenchmarkAggr
> ### Title: Plots for BenchmarkAggr
> ### Aliases: autoplot.BenchmarkAggr
>
> ### ** Examples
>
> if (requireNamespaces(c("mlr3learners", "mlr3", "rpart", "xgboost"))) {
+ library(mlr3)
+ library(mlr3learners)
+ library(ggplot2)
+
+ set.seed(1)
+ task = tsks(c("iris", "sonar", "wine", "zoo"))
+ learns = lrns(c("classif.featureless", "classif.rpart", "classif.xgboost"))
+ learns$classif.xgboost$param_set$values$nrounds = 50
+ bm = benchmark(benchmark_grid(task, learns, rsmp("cv", folds = 3)))
+ obj = as_benchmark_aggr(bm)
+
+ # mean and error bars
+ autoplot(obj, type = "mean", level = 0.95)
+
+ if (requireNamespace("PMCMRplus", quietly = TRUE)) {
+ # critical differences
+ autoplot(obj, type = "cd",style = 1)
+ autoplot(obj, type = "cd",style = 2)
+
+ # post-hoc friedman-nemenyi
+ autoplot(obj, type = "fn")
+ }
+
+ }
INFO [04:30:32.783] [mlr3] Running benchmark with 36 resampling iterations
INFO [04:30:32.845] [mlr3] Applying learner 'classif.featureless' on task 'iris' (iter 1/3)
INFO [04:30:32.905] [mlr3] Applying learner 'classif.featureless' on task 'iris' (iter 2/3)
INFO [04:30:32.936] [mlr3] Applying learner 'classif.featureless' on task 'iris' (iter 3/3)
INFO [04:30:33.033] [mlr3] Applying learner 'classif.rpart' on task 'iris' (iter 1/3)
INFO [04:30:33.072] [mlr3] Applying learner 'classif.rpart' on task 'iris' (iter 2/3)
INFO [04:30:33.111] [mlr3] Applying learner 'classif.rpart' on task 'iris' (iter 3/3)
INFO [04:30:33.149] [mlr3] Applying learner 'classif.xgboost' on task 'iris' (iter 1/3)
INFO [04:30:33.215] [mlr3] Applying learner 'classif.xgboost' on task 'iris' (iter 2/3)
INFO [04:30:33.268] [mlr3] Applying learner 'classif.xgboost' on task 'iris' (iter 3/3)
INFO [04:30:33.326] [mlr3] Applying learner 'classif.featureless' on task 'sonar' (iter 1/3)
INFO [04:30:33.360] [mlr3] Applying learner 'classif.featureless' on task 'sonar' (iter 2/3)
INFO [04:30:33.393] [mlr3] Applying learner 'classif.featureless' on task 'sonar' (iter 3/3)
INFO [04:30:33.426] [mlr3] Applying learner 'classif.rpart' on task 'sonar' (iter 1/3)
INFO [04:30:33.493] [mlr3] Applying learner 'classif.rpart' on task 'sonar' (iter 2/3)
INFO [04:30:33.546] [mlr3] Applying learner 'classif.rpart' on task 'sonar' (iter 3/3)
INFO [04:30:33.606] [mlr3] Applying learner 'classif.xgboost' on task 'sonar' (iter 1/3)
INFO [04:30:33.716] [mlr3] Applying learner 'classif.xgboost' on task 'sonar' (iter 2/3)
INFO [04:30:33.833] [mlr3] Applying learner 'classif.xgboost' on task 'sonar' (iter 3/3)
INFO [04:30:33.928] [mlr3] Applying learner 'classif.featureless' on task 'wine' (iter 1/3)
INFO [04:30:33.957] [mlr3] Applying learner 'classif.featureless' on task 'wine' (iter 2/3)
INFO [04:30:33.985] [mlr3] Applying learner 'classif.featureless' on task 'wine' (iter 3/3)
INFO [04:30:34.018] [mlr3] Applying learner 'classif.rpart' on task 'wine' (iter 1/3)
INFO [04:30:34.056] [mlr3] Applying learner 'classif.rpart' on task 'wine' (iter 2/3)
INFO [04:30:34.093] [mlr3] Applying learner 'classif.rpart' on task 'wine' (iter 3/3)
INFO [04:30:34.131] [mlr3] Applying learner 'classif.xgboost' on task 'wine' (iter 1/3)
INFO [04:30:34.189] [mlr3] Applying learner 'classif.xgboost' on task 'wine' (iter 2/3)
INFO [04:30:34.246] [mlr3] Applying learner 'classif.xgboost' on task 'wine' (iter 3/3)
INFO [04:30:34.302] [mlr3] Applying learner 'classif.featureless' on task 'zoo' (iter 1/3)
INFO [04:30:34.340] [mlr3] Applying learner 'classif.featureless' on task 'zoo' (iter 2/3)
INFO [04:30:34.404] [mlr3] Applying learner 'classif.featureless' on task 'zoo' (iter 3/3)
INFO [04:30:34.435] [mlr3] Applying learner 'classif.rpart' on task 'zoo' (iter 1/3)
INFO [04:30:34.474] [mlr3] Applying learner 'classif.rpart' on task 'zoo' (iter 2/3)
INFO [04:30:34.514] [mlr3] Applying learner 'classif.rpart' on task 'zoo' (iter 3/3)
INFO [04:30:34.553] [mlr3] Applying learner 'classif.xgboost' on task 'zoo' (iter 1/3)
INFO [04:30:34.627] [mlr3] Applying learner 'classif.xgboost' on task 'zoo' (iter 2/3)
INFO [04:30:34.692] [mlr3] Applying learner 'classif.xgboost' on task 'zoo' (iter 3/3)
Warning in check.deprecation(deprecated_train_params, match.call(), ...) :
Passed invalid function arguments: nthread, num_class, eval_metric. These should be passed as a list to argument 'params'. Conversion from argument to 'params' entry will be done automatically, but this behavior will become an error in a future version.
Warning in check.custom.obj(params, objective) :
Argument 'objective' is only for custom objectives. For built-in objectives, pass the objective under 'params'. This warning will become an error in a future version.
Warning in check.deprecation(deprecated_train_params, match.call(), ...) :
Passed invalid function arguments: nthread, num_class, eval_metric. These should be passed as a list to argument 'params'. Conversion from argument to 'params' entry will be done automatically, but this behavior will become an error in a future version.
Warning in check.custom.obj(params, objective) :
Argument 'objective' is only for custom objectives. For built-in objectives, pass the objective under 'params'. This warning will become an error in a future version.
Warning in check.deprecation(deprecated_train_params, match.call(), ...) :
Passed invalid function arguments: nthread, num_class, eval_metric. These should be passed as a list to argument 'params'. Conversion from argument to 'params' entry will be done automatically, but this behavior will become an error in a future version.
Warning in check.custom.obj(params, objective) :
Argument 'objective' is only for custom objectives. For built-in objectives, pass the objective under 'params'. This warning will become an error in a future version.
Warning in check.deprecation(deprecated_train_params, match.call(), ...) :
Passed invalid function arguments: nthread, eval_metric. These should be passed as a list to argument 'params'. Conversion from argument to 'params' entry will be done automatically, but this behavior will become an error in a future version.
Warning in check.custom.obj(params, objective) :
Argument 'objective' is only for custom objectives. For built-in objectives, pass the objective under 'params'. This warning will become an error in a future version.
Warning in check.deprecation(deprecated_train_params, match.call(), ...) :
Passed invalid function arguments: nthread, eval_metric. These should be passed as a list to argument 'params'. Conversion from argument to 'params' entry will be done automatically, but this behavior will become an error in a future version.
Warning in check.custom.obj(params, objective) :
Argument 'objective' is only for custom objectives. For built-in objectives, pass the objective under 'params'. This warning will become an error in a future version.
Warning in check.deprecation(deprecated_train_params, match.call(), ...) :
Passed invalid function arguments: nthread, eval_metric. These should be passed as a list to argument 'params'. Conversion from argument to 'params' entry will be done automatically, but this behavior will become an error in a future version.
Warning in check.custom.obj(params, objective) :
Argument 'objective' is only for custom objectives. For built-in objectives, pass the objective under 'params'. This warning will become an error in a future version.
Warning in check.deprecation(deprecated_train_params, match.call(), ...) :
Passed invalid function arguments: nthread, num_class, eval_metric. These should be passed as a list to argument 'params'. Conversion from argument to 'params' entry will be done automatically, but this behavior will become an error in a future version.
Warning in check.custom.obj(params, objective) :
Argument 'objective' is only for custom objectives. For built-in objectives, pass the objective under 'params'. This warning will become an error in a future version.
Warning in check.deprecation(deprecated_train_params, match.call(), ...) :
Passed invalid function arguments: nthread, num_class, eval_metric. These should be passed as a list to argument 'params'. Conversion from argument to 'params' entry will be done automatically, but this behavior will become an error in a future version.
Warning in check.custom.obj(params, objective) :
Argument 'objective' is only for custom objectives. For built-in objectives, pass the objective under 'params'. This warning will become an error in a future version.
Warning in check.deprecation(deprecated_train_params, match.call(), ...) :
Passed invalid function arguments: nthread, num_class, eval_metric. These should be passed as a list to argument 'params'. Conversion from argument to 'params' entry will be done automatically, but this behavior will become an error in a future version.
Warning in check.custom.obj(params, objective) :
Argument 'objective' is only for custom objectives. For built-in objectives, pass the objective under 'params'. This warning will become an error in a future version.
Warning in check.deprecation(deprecated_train_params, match.call(), ...) :
Passed invalid function arguments: nthread, num_class, eval_metric. These should be passed as a list to argument 'params'. Conversion from argument to 'params' entry will be done automatically, but this behavior will become an error in a future version.
Warning in check.custom.obj(params, objective) :
Argument 'objective' is only for custom objectives. For built-in objectives, pass the objective under 'params'. This warning will become an error in a future version.
Warning in check.deprecation(deprecated_train_params, match.call(), ...) :
Passed invalid function arguments: nthread, num_class, eval_metric. These should be passed as a list to argument 'params'. Conversion from argument to 'params' entry will be done automatically, but this behavior will become an error in a future version.
Warning in check.custom.obj(params, objective) :
Argument 'objective' is only for custom objectives. For built-in objectives, pass the objective under 'params'. This warning will become an error in a future version.
Warning in check.deprecation(deprecated_train_params, match.call(), ...) :
Passed invalid function arguments: nthread, num_class, eval_metric. These should be passed as a list to argument 'params'. Conversion from argument to 'params' entry will be done automatically, but this behavior will become an error in a future version.
Warning in check.custom.obj(params, objective) :
Argument 'objective' is only for custom objectives. For built-in objectives, pass the objective under 'params'. This warning will become an error in a future version.
INFO [04:30:34.778] [mlr3] Finished benchmark
Error: Global Friedman test non-significant (p > 0.05), try type = 'mean' instead.
Execution halted
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [10s/11s] OK
Running ‘testthat.R’ [9s/10s]
- checking PDF version of manual ... [4s/8s] OK
- checking HTML version of manual ... [1s/2s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 1 ERROR