Running examples in ‘mlr3benchmark-Ex.R’ failed
The error most likely occurred in:

> ### 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  [10:07:26.930] [mlr3] Running benchmark with 36 resampling iterations
INFO  [10:07:26.970] [mlr3] Applying learner 'classif.featureless' on task 'iris' (iter 1/3)
INFO  [10:07:27.042] [mlr3] Applying learner 'classif.featureless' on task 'iris' (iter 2/3)
INFO  [10:07:27.113] [mlr3] Applying learner 'classif.featureless' on task 'iris' (iter 3/3)
INFO  [10:07:27.184] [mlr3] Applying learner 'classif.rpart' on task 'iris' (iter 1/3)
INFO  [10:07:27.243] [mlr3] Applying learner 'classif.rpart' on task 'iris' (iter 2/3)
INFO  [10:07:27.314] [mlr3] Applying learner 'classif.rpart' on task 'iris' (iter 3/3)
INFO  [10:07:27.441] [mlr3] Applying learner 'classif.xgboost' on task 'iris' (iter 1/3)
INFO  [10:07:27.674] [mlr3] Applying learner 'classif.xgboost' on task 'iris' (iter 2/3)
INFO  [10:07:27.820] [mlr3] Applying learner 'classif.xgboost' on task 'iris' (iter 3/3)
INFO  [10:07:27.927] [mlr3] Applying learner 'classif.featureless' on task 'sonar' (iter 1/3)
INFO  [10:07:27.999] [mlr3] Applying learner 'classif.featureless' on task 'sonar' (iter 2/3)
INFO  [10:07:28.053] [mlr3] Applying learner 'classif.featureless' on task 'sonar' (iter 3/3)
INFO  [10:07:28.127] [mlr3] Applying learner 'classif.rpart' on task 'sonar' (iter 1/3)
INFO  [10:07:28.309] [mlr3] Applying learner 'classif.rpart' on task 'sonar' (iter 2/3)
INFO  [10:07:28.547] [mlr3] Applying learner 'classif.rpart' on task 'sonar' (iter 3/3)
INFO  [10:07:28.815] [mlr3] Applying learner 'classif.xgboost' on task 'sonar' (iter 1/3)
INFO  [10:07:29.332] [mlr3] Applying learner 'classif.xgboost' on task 'sonar' (iter 2/3)
INFO  [10:07:29.845] [mlr3] Applying learner 'classif.xgboost' on task 'sonar' (iter 3/3)
INFO  [10:07:30.397] [mlr3] Applying learner 'classif.featureless' on task 'wine' (iter 1/3)
INFO  [10:07:30.588] [mlr3] Applying learner 'classif.featureless' on task 'wine' (iter 2/3)
INFO  [10:07:30.736] [mlr3] Applying learner 'classif.featureless' on task 'wine' (iter 3/3)
INFO  [10:07:30.924] [mlr3] Applying learner 'classif.rpart' on task 'wine' (iter 1/3)
INFO  [10:07:31.060] [mlr3] Applying learner 'classif.rpart' on task 'wine' (iter 2/3)
INFO  [10:07:31.160] [mlr3] Applying learner 'classif.rpart' on task 'wine' (iter 3/3)
INFO  [10:07:31.284] [mlr3] Applying learner 'classif.xgboost' on task 'wine' (iter 1/3)
INFO  [10:07:31.609] [mlr3] Applying learner 'classif.xgboost' on task 'wine' (iter 2/3)
INFO  [10:07:31.889] [mlr3] Applying learner 'classif.xgboost' on task 'wine' (iter 3/3)
INFO  [10:07:32.230] [mlr3] Applying learner 'classif.featureless' on task 'zoo' (iter 1/3)
INFO  [10:07:32.406] [mlr3] Applying learner 'classif.featureless' on task 'zoo' (iter 2/3)
INFO  [10:07:32.542] [mlr3] Applying learner 'classif.featureless' on task 'zoo' (iter 3/3)
INFO  [10:07:32.721] [mlr3] Applying learner 'classif.rpart' on task 'zoo' (iter 1/3)
INFO  [10:07:32.900] [mlr3] Applying learner 'classif.rpart' on task 'zoo' (iter 2/3)
INFO  [10:07:33.075] [mlr3] Applying learner 'classif.rpart' on task 'zoo' (iter 3/3)
INFO  [10:07:33.233] [mlr3] Applying learner 'classif.xgboost' on task 'zoo' (iter 1/3)
INFO  [10:07:33.634] [mlr3] Applying learner 'classif.xgboost' on task 'zoo' (iter 2/3)
INFO  [10:07:33.925] [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  [10:07:34.383] [mlr3] Finished benchmark
Error: Global Friedman test non-significant (p > 0.05), try type = 'mean' instead.
Execution halted