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  [22:36:26.787] [mlr3]  Running benchmark with 36 resampling iterations 
INFO  [22:36:26.810] [mlr3]  Applying learner 'classif.featureless' on task 'sonar' (iter 3/3) 
INFO  [22:36:26.892] [mlr3]  Applying learner 'classif.xgboost' on task 'sonar' (iter 3/3) 
[22:36:26] 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  [22:36:27.027] [mlr3]  Applying learner 'classif.xgboost' on task 'zoo' (iter 1/3) 
[22:36:27] 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  [22:36:27.099] [mlr3]  Applying learner 'classif.rpart' on task 'sonar' (iter 1/3) 
INFO  [22:36:27.244] [mlr3]  Applying learner 'classif.xgboost' on task 'iris' (iter 1/3) 
[22:36:27] 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  [22:36:27.288] [mlr3]  Applying learner 'classif.rpart' on task 'iris' (iter 1/3) 
INFO  [22:36:27.330] [mlr3]  Applying learner 'classif.rpart' on task 'iris' (iter 3/3) 
INFO  [22:36:27.372] [mlr3]  Applying learner 'classif.xgboost' on task 'zoo' (iter 2/3) 
[22:36:27] 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  [22:36:27.427] [mlr3]  Applying learner 'classif.xgboost' on task 'sonar' (iter 1/3) 
[22:36:27] 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  [22:36:27.501] [mlr3]  Applying learner 'classif.rpart' on task 'wine' (iter 2/3) 
INFO  [22:36:27.553] [mlr3]  Applying learner 'classif.rpart' on task 'zoo' (iter 3/3) 
INFO  [22:36:27.627] [mlr3]  Applying learner 'classif.xgboost' on task 'wine' (iter 1/3) 
[22:36:27] 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  [22:36:27.703] [mlr3]  Applying learner 'classif.featureless' on task 'zoo' (iter 1/3) 
INFO  [22:36:27.730] [mlr3]  Applying learner 'classif.rpart' on task 'wine' (iter 1/3) 
INFO  [22:36:27.797] [mlr3]  Applying learner 'classif.xgboost' on task 'iris' (iter 2/3) 
[22:36:27] 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  [22:36:27.842] [mlr3]  Applying learner 'classif.rpart' on task 'wine' (iter 3/3) 
INFO  [22:36:27.886] [mlr3]  Applying learner 'classif.rpart' on task 'sonar' (iter 2/3) 
INFO  [22:36:28.022] [mlr3]  Applying learner 'classif.featureless' on task 'zoo' (iter 3/3) 
INFO  [22:36:28.048] [mlr3]  Applying learner 'classif.xgboost' on task 'wine' (iter 3/3) 
[22:36:28] 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  [22:36:28.096] [mlr3]  Applying learner 'classif.featureless' on task 'iris' (iter 3/3) 
INFO  [22:36:28.121] [mlr3]  Applying learner 'classif.featureless' on task 'zoo' (iter 2/3) 
INFO  [22:36:28.144] [mlr3]  Applying learner 'classif.rpart' on task 'iris' (iter 2/3) 
INFO  [22:36:28.182] [mlr3]  Applying learner 'classif.featureless' on task 'wine' (iter 2/3) 
INFO  [22:36:28.267] [mlr3]  Applying learner 'classif.featureless' on task 'sonar' (iter 2/3) 
INFO  [22:36:28.291] [mlr3]  Applying learner 'classif.xgboost' on task 'sonar' (iter 2/3) 
[22:36:28] 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  [22:36:28.346] [mlr3]  Applying learner 'classif.xgboost' on task 'zoo' (iter 3/3) 
[22:36:28] 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  [22:36:28.397] [mlr3]  Applying learner 'classif.rpart' on task 'sonar' (iter 3/3) 
INFO  [22:36:28.492] [mlr3]  Applying learner 'classif.xgboost' on task 'wine' (iter 2/3) 
[22:36:28] 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  [22:36:28.545] [mlr3]  Applying learner 'classif.featureless' on task 'iris' (iter 1/3) 
INFO  [22:36:28.578] [mlr3]  Applying learner 'classif.rpart' on task 'zoo' (iter 2/3) 
INFO  [22:36:28.625] [mlr3]  Applying learner 'classif.featureless' on task 'wine' (iter 1/3) 
INFO  [22:36:28.649] [mlr3]  Applying learner 'classif.xgboost' on task 'iris' (iter 3/3) 
[22:36:28] 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  [22:36:28.710] [mlr3]  Applying learner 'classif.featureless' on task 'sonar' (iter 1/3) 
INFO  [22:36:28.747] [mlr3]  Applying learner 'classif.rpart' on task 'zoo' (iter 1/3) 
INFO  [22:36:28.827] [mlr3]  Applying learner 'classif.featureless' on task 'iris' (iter 2/3) 
INFO  [22:36:28.853] [mlr3]  Applying learner 'classif.featureless' on task 'wine' (iter 3/3) 
INFO  [22:36:28.899] [mlr3]  Finished benchmark 
Error: 'posthoc.friedman.nemenyi.test.default' is defunct.
Use 'PMCMRplus::frdAllPairsNemenyiTest' instead.
See help("Defunct") and help("PMCMR-defunct").
Execution halted