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"))
+ 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:51:24.497] [mlr3]  Running benchmark with 36 resampling iterations 
INFO  [22:51:24.509] [mlr3]  Applying learner 'classif.featureless' on task 'sonar' (iter 3/3) 
INFO  [22:51:24.528] [mlr3]  Applying learner 'classif.xgboost' on task 'sonar' (iter 3/3) 
[22:51:24] 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:51:24.594] [mlr3]  Applying learner 'classif.xgboost' on task 'zoo' (iter 1/3) 
[22:51:24] 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:51:24.625] [mlr3]  Applying learner 'classif.rpart' on task 'sonar' (iter 1/3) 
INFO  [22:51:24.695] [mlr3]  Applying learner 'classif.xgboost' on task 'iris' (iter 1/3) 
[22:51:24] 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:51:24.729] [mlr3]  Applying learner 'classif.rpart' on task 'iris' (iter 1/3) 
INFO  [22:51:24.760] [mlr3]  Applying learner 'classif.rpart' on task 'iris' (iter 3/3) 
INFO  [22:51:24.788] [mlr3]  Applying learner 'classif.xgboost' on task 'zoo' (iter 2/3) 
[22:51:24] 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:51:24.821] [mlr3]  Applying learner 'classif.xgboost' on task 'sonar' (iter 1/3) 
[22:51:24] 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:51:24.863] [mlr3]  Applying learner 'classif.rpart' on task 'wine' (iter 2/3) 
INFO  [22:51:24.897] [mlr3]  Applying learner 'classif.rpart' on task 'zoo' (iter 3/3) 
INFO  [22:51:24.932] [mlr3]  Applying learner 'classif.xgboost' on task 'wine' (iter 1/3) 
[22:51:24] 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:51:24.962] [mlr3]  Applying learner 'classif.featureless' on task 'zoo' (iter 1/3) 
INFO  [22:51:24.979] [mlr3]  Applying learner 'classif.rpart' on task 'wine' (iter 1/3) 
INFO  [22:51:25.012] [mlr3]  Applying learner 'classif.xgboost' on task 'iris' (iter 2/3) 
[22:51:25] 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:51:25.042] [mlr3]  Applying learner 'classif.rpart' on task 'wine' (iter 3/3) 
INFO  [22:51:25.076] [mlr3]  Applying learner 'classif.rpart' on task 'sonar' (iter 2/3) 
INFO  [22:51:25.126] [mlr3]  Applying learner 'classif.featureless' on task 'zoo' (iter 3/3) 
INFO  [22:51:25.143] [mlr3]  Applying learner 'classif.xgboost' on task 'wine' (iter 3/3) 
[22:51:25] 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:51:25.175] [mlr3]  Applying learner 'classif.featureless' on task 'iris' (iter 3/3) 
INFO  [22:51:25.193] [mlr3]  Applying learner 'classif.featureless' on task 'zoo' (iter 2/3) 
INFO  [22:51:25.210] [mlr3]  Applying learner 'classif.rpart' on task 'iris' (iter 2/3) 
INFO  [22:51:25.237] [mlr3]  Applying learner 'classif.featureless' on task 'wine' (iter 2/3) 
INFO  [22:51:25.254] [mlr3]  Applying learner 'classif.featureless' on task 'sonar' (iter 2/3) 
INFO  [22:51:25.270] [mlr3]  Applying learner 'classif.xgboost' on task 'sonar' (iter 2/3) 
[22:51:25] 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:51:25.306] [mlr3]  Applying learner 'classif.xgboost' on task 'zoo' (iter 3/3) 
[22:51:25] 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:51:25.336] [mlr3]  Applying learner 'classif.rpart' on task 'sonar' (iter 3/3) 
INFO  [22:51:25.388] [mlr3]  Applying learner 'classif.xgboost' on task 'wine' (iter 2/3) 
[22:51:25] 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:51:25.421] [mlr3]  Applying learner 'classif.featureless' on task 'iris' (iter 1/3) 
INFO  [22:51:25.438] [mlr3]  Applying learner 'classif.rpart' on task 'zoo' (iter 2/3) 
INFO  [22:51:25.471] [mlr3]  Applying learner 'classif.featureless' on task 'wine' (iter 1/3) 
INFO  [22:51:25.488] [mlr3]  Applying learner 'classif.xgboost' on task 'iris' (iter 3/3) 
[22:51:25] 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:51:25.516] [mlr3]  Applying learner 'classif.featureless' on task 'sonar' (iter 1/3) 
INFO  [22:51:25.540] [mlr3]  Applying learner 'classif.rpart' on task 'zoo' (iter 1/3) 
INFO  [22:51:25.572] [mlr3]  Applying learner 'classif.featureless' on task 'iris' (iter 2/3) 
INFO  [22:51:25.587] [mlr3]  Applying learner 'classif.featureless' on task 'wine' (iter 3/3) 
INFO  [22:51:25.606] [mlr3]  Finished benchmark 
Error: 'posthoc.friedman.nemenyi.test.default' is defunct.
Use 'PMCMRplus::frdAllPairsNemenyiTest' instead.
See help("Defunct") and help("PMCMR-defunct").
Execution halted