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  [16:04:29.336] [mlr3] Running benchmark with 36 resampling iterations
INFO  [16:04:29.374] [mlr3] Applying learner 'classif.featureless' on task 'iris' (iter 1/3)
INFO  [16:04:29.450] [mlr3] Applying learner 'classif.featureless' on task 'iris' (iter 2/3)
INFO  [16:04:29.522] [mlr3] Applying learner 'classif.featureless' on task 'iris' (iter 3/3)
INFO  [16:04:29.588] [mlr3] Applying learner 'classif.rpart' on task 'iris' (iter 1/3)
INFO  [16:04:29.667] [mlr3] Applying learner 'classif.rpart' on task 'iris' (iter 2/3)
INFO  [16:04:29.718] [mlr3] Applying learner 'classif.rpart' on task 'iris' (iter 3/3)
INFO  [16:04:29.778] [mlr3] Applying learner 'classif.xgboost' on task 'iris' (iter 1/3)
INFO  [16:04:29.922] [mlr3] Applying learner 'classif.xgboost' on task 'iris' (iter 2/3)
INFO  [16:04:30.067] [mlr3] Applying learner 'classif.xgboost' on task 'iris' (iter 3/3)
INFO  [16:04:30.171] [mlr3] Applying learner 'classif.featureless' on task 'sonar' (iter 1/3)
INFO  [16:04:30.205] [mlr3] Applying learner 'classif.featureless' on task 'sonar' (iter 2/3)
INFO  [16:04:30.236] [mlr3] Applying learner 'classif.featureless' on task 'sonar' (iter 3/3)
INFO  [16:04:30.296] [mlr3] Applying learner 'classif.rpart' on task 'sonar' (iter 1/3)
INFO  [16:04:30.432] [mlr3] Applying learner 'classif.rpart' on task 'sonar' (iter 2/3)
INFO  [16:04:30.533] [mlr3] Applying learner 'classif.rpart' on task 'sonar' (iter 3/3)
INFO  [16:04:30.633] [mlr3] Applying learner 'classif.xgboost' on task 'sonar' (iter 1/3)
INFO  [16:04:30.842] [mlr3] Applying learner 'classif.xgboost' on task 'sonar' (iter 2/3)
INFO  [16:04:31.038] [mlr3] Applying learner 'classif.xgboost' on task 'sonar' (iter 3/3)
INFO  [16:04:31.245] [mlr3] Applying learner 'classif.featureless' on task 'wine' (iter 1/3)
INFO  [16:04:31.326] [mlr3] Applying learner 'classif.featureless' on task 'wine' (iter 2/3)
INFO  [16:04:31.389] [mlr3] Applying learner 'classif.featureless' on task 'wine' (iter 3/3)
INFO  [16:04:31.449] [mlr3] Applying learner 'classif.rpart' on task 'wine' (iter 1/3)
INFO  [16:04:31.523] [mlr3] Applying learner 'classif.rpart' on task 'wine' (iter 2/3)
INFO  [16:04:31.594] [mlr3] Applying learner 'classif.rpart' on task 'wine' (iter 3/3)
INFO  [16:04:31.669] [mlr3] Applying learner 'classif.xgboost' on task 'wine' (iter 1/3)
INFO  [16:04:31.800] [mlr3] Applying learner 'classif.xgboost' on task 'wine' (iter 2/3)
INFO  [16:04:31.956] [mlr3] Applying learner 'classif.xgboost' on task 'wine' (iter 3/3)
INFO  [16:04:32.089] [mlr3] Applying learner 'classif.featureless' on task 'zoo' (iter 1/3)
INFO  [16:04:32.166] [mlr3] Applying learner 'classif.featureless' on task 'zoo' (iter 2/3)
INFO  [16:04:32.243] [mlr3] Applying learner 'classif.featureless' on task 'zoo' (iter 3/3)
INFO  [16:04:32.313] [mlr3] Applying learner 'classif.rpart' on task 'zoo' (iter 1/3)
INFO  [16:04:32.394] [mlr3] Applying learner 'classif.rpart' on task 'zoo' (iter 2/3)
INFO  [16:04:32.511] [mlr3] Applying learner 'classif.rpart' on task 'zoo' (iter 3/3)
INFO  [16:04:32.592] [mlr3] Applying learner 'classif.xgboost' on task 'zoo' (iter 1/3)
INFO  [16:04:32.762] [mlr3] Applying learner 'classif.xgboost' on task 'zoo' (iter 2/3)
INFO  [16:04:32.919] [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  [16:04:33.160] [mlr3] Finished benchmark
Error: Global Friedman test non-significant (p > 0.05), try type = 'mean' instead.
Execution halted