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  [04:45:06.236] [mlr3]  Running benchmark with 36 resampling iterations 
OMP: Warning #96: Cannot form a team with 24 threads, using 2 instead.
OMP: Hint Consider unsetting KMP_DEVICE_THREAD_LIMIT (KMP_ALL_THREADS), KMP_TEAMS_THREAD_LIMIT, and OMP_THREAD_LIMIT (if any are set).
INFO  [04:45:06.268] [mlr3]  Applying learner 'classif.featureless' on task 'sonar' (iter 3/3) 
INFO  [04:45:06.330] [mlr3]  Applying learner 'classif.xgboost' on task 'sonar' (iter 3/3) 
[04:45:06] 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  [04:45:06.458] [mlr3]  Applying learner 'classif.xgboost' on task 'zoo' (iter 1/3) 
[04:45:06] 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  [04:45:06.544] [mlr3]  Applying learner 'classif.rpart' on task 'sonar' (iter 1/3) 
INFO  [04:45:06.752] [mlr3]  Applying learner 'classif.xgboost' on task 'iris' (iter 1/3) 
[04:45:06] 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  [04:45:06.872] [mlr3]  Applying learner 'classif.rpart' on task 'iris' (iter 1/3) 
INFO  [04:45:06.987] [mlr3]  Applying learner 'classif.rpart' on task 'iris' (iter 3/3) 
INFO  [04:45:07.092] [mlr3]  Applying learner 'classif.xgboost' on task 'zoo' (iter 2/3) 
[04:45:07] 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  [04:45:07.212] [mlr3]  Applying learner 'classif.xgboost' on task 'sonar' (iter 1/3) 
[04:45:07] 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  [04:45:07.352] [mlr3]  Applying learner 'classif.rpart' on task 'wine' (iter 2/3) 
INFO  [04:45:07.469] [mlr3]  Applying learner 'classif.rpart' on task 'zoo' (iter 3/3) 
INFO  [04:45:07.589] [mlr3]  Applying learner 'classif.xgboost' on task 'wine' (iter 1/3) 
[04:45:07] 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  [04:45:07.704] [mlr3]  Applying learner 'classif.featureless' on task 'zoo' (iter 1/3) 
INFO  [04:45:07.749] [mlr3]  Applying learner 'classif.rpart' on task 'wine' (iter 1/3) 
INFO  [04:45:07.840] [mlr3]  Applying learner 'classif.xgboost' on task 'iris' (iter 2/3) 
[04:45:07] 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  [04:45:07.926] [mlr3]  Applying learner 'classif.rpart' on task 'wine' (iter 3/3) 
INFO  [04:45:07.982] [mlr3]  Applying learner 'classif.rpart' on task 'sonar' (iter 2/3) 
INFO  [04:45:08.071] [mlr3]  Applying learner 'classif.featureless' on task 'zoo' (iter 3/3) 
INFO  [04:45:08.091] [mlr3]  Applying learner 'classif.xgboost' on task 'wine' (iter 3/3) 
[04:45:08] 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  [04:45:08.143] [mlr3]  Applying learner 'classif.featureless' on task 'iris' (iter 3/3) 
INFO  [04:45:08.180] [mlr3]  Applying learner 'classif.featureless' on task 'zoo' (iter 2/3) 
INFO  [04:45:08.222] [mlr3]  Applying learner 'classif.rpart' on task 'iris' (iter 2/3) 
INFO  [04:45:08.296] [mlr3]  Applying learner 'classif.featureless' on task 'wine' (iter 2/3) 
INFO  [04:45:08.333] [mlr3]  Applying learner 'classif.featureless' on task 'sonar' (iter 2/3) 
INFO  [04:45:08.405] [mlr3]  Applying learner 'classif.xgboost' on task 'sonar' (iter 2/3) 
[04:45:08] 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  [04:45:08.517] [mlr3]  Applying learner 'classif.xgboost' on task 'zoo' (iter 3/3) 
[04:45:08] 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  [04:45:08.578] [mlr3]  Applying learner 'classif.rpart' on task 'sonar' (iter 3/3) 
INFO  [04:45:08.663] [mlr3]  Applying learner 'classif.xgboost' on task 'wine' (iter 2/3) 
[04:45:08] 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  [04:45:08.733] [mlr3]  Applying learner 'classif.featureless' on task 'iris' (iter 1/3) 
INFO  [04:45:08.774] [mlr3]  Applying learner 'classif.rpart' on task 'zoo' (iter 2/3) 
INFO  [04:45:08.873] [mlr3]  Applying learner 'classif.featureless' on task 'wine' (iter 1/3) 
INFO  [04:45:08.918] [mlr3]  Applying learner 'classif.xgboost' on task 'iris' (iter 3/3) 
[04:45:08] 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  [04:45:08.989] [mlr3]  Applying learner 'classif.featureless' on task 'sonar' (iter 1/3) 
INFO  [04:45:09.034] [mlr3]  Applying learner 'classif.rpart' on task 'zoo' (iter 1/3) 
INFO  [04:45:09.140] [mlr3]  Applying learner 'classif.featureless' on task 'iris' (iter 2/3) 
INFO  [04:45:09.209] [mlr3]  Applying learner 'classif.featureless' on task 'wine' (iter 3/3) 
INFO  [04:45:09.265] [mlr3]  Finished benchmark 
Error: 'posthoc.friedman.nemenyi.test.default' is defunct.
Use 'PMCMRplus::frdAllPairsNemenyiTest' instead.
See help("Defunct") and help("PMCMR-defunct").
Execution halted