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"))
+ bm = benchmark(benchmark_grid(task, learns, rsmp("cv", folds = 3)))
+ obj = as.BenchmarkAggr(bm)
+ 
+ # mean and error bars
+ autoplot(obj, type = "mean", level = 0.95)
+ 
+ if (requireNamespace("PMCMR", 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  [20:29:40.285] [mlr3]  Running benchmark with 36 resampling iterations 
INFO  [20:29:40.320] [mlr3]  Applying learner 'classif.featureless' on task 'sonar' (iter 3/3) 
INFO  [20:29:40.357] [mlr3]  Applying learner 'classif.xgboost' on task 'sonar' (iter 3/3) 
[20:29:40] WARNING: amalgamation/../src/learner.cc:1095: Starting in XGBoost 1.3.0, the default evaluation metric used with the objective 'binary:logistic' was changed from 'error' to 'logloss'. Explicitly set eval_metric if you'd like to restore the old behavior.
INFO  [20:29:40.509] [mlr3]  Applying learner 'classif.xgboost' on task 'zoo' (iter 1/3) 
[20:29:40] WARNING: amalgamation/../src/learner.cc:1095: Starting in XGBoost 1.3.0, the default evaluation metric used with the objective 'multi:softprob' was changed from 'merror' to 'mlogloss'. Explicitly set eval_metric if you'd like to restore the old behavior.
INFO  [20:29:40.580] [mlr3]  Applying learner 'classif.rpart' on task 'sonar' (iter 1/3) 
INFO  [20:29:40.714] [mlr3]  Applying learner 'classif.xgboost' on task 'iris' (iter 1/3) 
[20:29:40] WARNING: amalgamation/../src/learner.cc:1095: Starting in XGBoost 1.3.0, the default evaluation metric used with the objective 'multi:softprob' was changed from 'merror' to 'mlogloss'. Explicitly set eval_metric if you'd like to restore the old behavior.
INFO  [20:29:40.817] [mlr3]  Applying learner 'classif.rpart' on task 'iris' (iter 1/3) 
INFO  [20:29:40.933] [mlr3]  Applying learner 'classif.rpart' on task 'iris' (iter 3/3) 
INFO  [20:29:41.055] [mlr3]  Applying learner 'classif.xgboost' on task 'zoo' (iter 2/3) 
[20:29:41] WARNING: amalgamation/../src/learner.cc:1095: Starting in XGBoost 1.3.0, the default evaluation metric used with the objective 'multi:softprob' was changed from 'merror' to 'mlogloss'. Explicitly set eval_metric if you'd like to restore the old behavior.
INFO  [20:29:41.186] [mlr3]  Applying learner 'classif.xgboost' on task 'sonar' (iter 1/3) 
[20:29:41] WARNING: amalgamation/../src/learner.cc:1095: Starting in XGBoost 1.3.0, the default evaluation metric used with the objective 'binary:logistic' was changed from 'error' to 'logloss'. Explicitly set eval_metric if you'd like to restore the old behavior.
INFO  [20:29:41.328] [mlr3]  Applying learner 'classif.rpart' on task 'wine' (iter 2/3) 
INFO  [20:29:41.489] [mlr3]  Applying learner 'classif.rpart' on task 'zoo' (iter 3/3) 
INFO  [20:29:41.617] [mlr3]  Applying learner 'classif.xgboost' on task 'wine' (iter 1/3) 
[20:29:41] WARNING: amalgamation/../src/learner.cc:1095: Starting in XGBoost 1.3.0, the default evaluation metric used with the objective 'multi:softprob' was changed from 'merror' to 'mlogloss'. Explicitly set eval_metric if you'd like to restore the old behavior.
INFO  [20:29:41.743] [mlr3]  Applying learner 'classif.featureless' on task 'zoo' (iter 1/3) 
INFO  [20:29:41.799] [mlr3]  Applying learner 'classif.rpart' on task 'wine' (iter 1/3) 
INFO  [20:29:41.895] [mlr3]  Applying learner 'classif.xgboost' on task 'iris' (iter 2/3) 
[20:29:41] WARNING: amalgamation/../src/learner.cc:1095: Starting in XGBoost 1.3.0, the default evaluation metric used with the objective 'multi:softprob' was changed from 'merror' to 'mlogloss'. Explicitly set eval_metric if you'd like to restore the old behavior.
INFO  [20:29:42.010] [mlr3]  Applying learner 'classif.rpart' on task 'wine' (iter 3/3) 
INFO  [20:29:42.092] [mlr3]  Applying learner 'classif.rpart' on task 'sonar' (iter 2/3) 
INFO  [20:29:42.337] [mlr3]  Applying learner 'classif.featureless' on task 'zoo' (iter 3/3) 
INFO  [20:29:42.428] [mlr3]  Applying learner 'classif.xgboost' on task 'wine' (iter 3/3) 
[20:29:42] WARNING: amalgamation/../src/learner.cc:1095: Starting in XGBoost 1.3.0, the default evaluation metric used with the objective 'multi:softprob' was changed from 'merror' to 'mlogloss'. Explicitly set eval_metric if you'd like to restore the old behavior.
INFO  [20:29:42.538] [mlr3]  Applying learner 'classif.featureless' on task 'iris' (iter 3/3) 
INFO  [20:29:42.630] [mlr3]  Applying learner 'classif.featureless' on task 'zoo' (iter 2/3) 
INFO  [20:29:42.706] [mlr3]  Applying learner 'classif.rpart' on task 'iris' (iter 2/3) 
INFO  [20:29:42.814] [mlr3]  Applying learner 'classif.featureless' on task 'wine' (iter 2/3) 
INFO  [20:29:42.880] [mlr3]  Applying learner 'classif.featureless' on task 'sonar' (iter 2/3) 
INFO  [20:29:42.950] [mlr3]  Applying learner 'classif.xgboost' on task 'sonar' (iter 2/3) 
[20:29:43] WARNING: amalgamation/../src/learner.cc:1095: Starting in XGBoost 1.3.0, the default evaluation metric used with the objective 'binary:logistic' was changed from 'error' to 'logloss'. Explicitly set eval_metric if you'd like to restore the old behavior.
INFO  [20:29:43.076] [mlr3]  Applying learner 'classif.xgboost' on task 'zoo' (iter 3/3) 
[20:29:43] WARNING: amalgamation/../src/learner.cc:1095: Starting in XGBoost 1.3.0, the default evaluation metric used with the objective 'multi:softprob' was changed from 'merror' to 'mlogloss'. Explicitly set eval_metric if you'd like to restore the old behavior.
INFO  [20:29:43.178] [mlr3]  Applying learner 'classif.rpart' on task 'sonar' (iter 3/3) 
INFO  [20:29:43.362] [mlr3]  Applying learner 'classif.xgboost' on task 'wine' (iter 2/3) 
[20:29:43] WARNING: amalgamation/../src/learner.cc:1095: Starting in XGBoost 1.3.0, the default evaluation metric used with the objective 'multi:softprob' was changed from 'merror' to 'mlogloss'. Explicitly set eval_metric if you'd like to restore the old behavior.
INFO  [20:29:43.438] [mlr3]  Applying learner 'classif.featureless' on task 'iris' (iter 1/3) 
INFO  [20:29:43.501] [mlr3]  Applying learner 'classif.rpart' on task 'zoo' (iter 2/3) 
INFO  [20:29:43.623] [mlr3]  Applying learner 'classif.featureless' on task 'wine' (iter 1/3) 
INFO  [20:29:43.669] [mlr3]  Applying learner 'classif.xgboost' on task 'iris' (iter 3/3) 
[20:29:43] WARNING: amalgamation/../src/learner.cc:1095: Starting in XGBoost 1.3.0, the default evaluation metric used with the objective 'multi:softprob' was changed from 'merror' to 'mlogloss'. Explicitly set eval_metric if you'd like to restore the old behavior.
INFO  [20:29:43.783] [mlr3]  Applying learner 'classif.featureless' on task 'sonar' (iter 1/3) 
INFO  [20:29:43.837] [mlr3]  Applying learner 'classif.rpart' on task 'zoo' (iter 1/3) 
INFO  [20:29:43.957] [mlr3]  Applying learner 'classif.featureless' on task 'iris' (iter 2/3) 
INFO  [20:29:44.025] [mlr3]  Applying learner 'classif.featureless' on task 'wine' (iter 3/3) 
INFO  [20:29:44.092] [mlr3]  Finished benchmark 
Error: 'posthoc.friedman.nemenyi.test.default' is defunct.
Use 'PMCMRplus::frdAllPairsNemenyiTest' instead.
See help("Defunct") and help("PMCMR-defunct").
Execution halted