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  [00:28:54.790] [mlr3]  Running benchmark with 36 resampling iterations 
INFO  [00:28:54.798] [mlr3]  Applying learner 'classif.featureless' on task 'sonar' (iter 3/3) 
INFO  [00:28:54.815] [mlr3]  Applying learner 'classif.xgboost' on task 'sonar' (iter 3/3) 
[00:28:54] 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  [00:28:54.915] [mlr3]  Applying learner 'classif.xgboost' on task 'zoo' (iter 1/3) 
[00:28:54] 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  [00:28:54.952] [mlr3]  Applying learner 'classif.rpart' on task 'sonar' (iter 1/3) 
INFO  [00:28:54.992] [mlr3]  Applying learner 'classif.xgboost' on task 'iris' (iter 1/3) 
[00:28:55] 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  [00:28:55.014] [mlr3]  Applying learner 'classif.rpart' on task 'iris' (iter 1/3) 
INFO  [00:28:55.036] [mlr3]  Applying learner 'classif.rpart' on task 'iris' (iter 3/3) 
INFO  [00:28:55.059] [mlr3]  Applying learner 'classif.xgboost' on task 'zoo' (iter 2/3) 
[00:28:55] 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  [00:28:55.084] [mlr3]  Applying learner 'classif.xgboost' on task 'sonar' (iter 1/3) 
[00:28:55] 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  [00:28:55.113] [mlr3]  Applying learner 'classif.rpart' on task 'wine' (iter 2/3) 
INFO  [00:28:55.136] [mlr3]  Applying learner 'classif.rpart' on task 'zoo' (iter 3/3) 
INFO  [00:28:55.179] [mlr3]  Applying learner 'classif.xgboost' on task 'wine' (iter 1/3) 
[00:28:55] 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  [00:28:55.220] [mlr3]  Applying learner 'classif.featureless' on task 'zoo' (iter 1/3) 
INFO  [00:28:55.250] [mlr3]  Applying learner 'classif.rpart' on task 'wine' (iter 1/3) 
INFO  [00:28:55.292] [mlr3]  Applying learner 'classif.xgboost' on task 'iris' (iter 2/3) 
[00:28:55] 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  [00:28:55.314] [mlr3]  Applying learner 'classif.rpart' on task 'wine' (iter 3/3) 
INFO  [00:28:55.354] [mlr3]  Applying learner 'classif.rpart' on task 'sonar' (iter 2/3) 
INFO  [00:28:55.419] [mlr3]  Applying learner 'classif.featureless' on task 'zoo' (iter 3/3) 
INFO  [00:28:55.433] [mlr3]  Applying learner 'classif.xgboost' on task 'wine' (iter 3/3) 
[00:28:55] 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  [00:28:55.456] [mlr3]  Applying learner 'classif.featureless' on task 'iris' (iter 3/3) 
INFO  [00:28:55.469] [mlr3]  Applying learner 'classif.featureless' on task 'zoo' (iter 2/3) 
INFO  [00:28:55.483] [mlr3]  Applying learner 'classif.rpart' on task 'iris' (iter 2/3) 
INFO  [00:28:55.528] [mlr3]  Applying learner 'classif.featureless' on task 'wine' (iter 2/3) 
INFO  [00:28:55.541] [mlr3]  Applying learner 'classif.featureless' on task 'sonar' (iter 2/3) 
INFO  [00:28:55.554] [mlr3]  Applying learner 'classif.xgboost' on task 'sonar' (iter 2/3) 
[00:28:55] 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  [00:28:55.581] [mlr3]  Applying learner 'classif.xgboost' on task 'zoo' (iter 3/3) 
[00:28:55] 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  [00:28:55.605] [mlr3]  Applying learner 'classif.rpart' on task 'sonar' (iter 3/3) 
INFO  [00:28:55.643] [mlr3]  Applying learner 'classif.xgboost' on task 'wine' (iter 2/3) 
[00:28:55] 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  [00:28:55.674] [mlr3]  Applying learner 'classif.featureless' on task 'iris' (iter 1/3) 
INFO  [00:28:55.703] [mlr3]  Applying learner 'classif.rpart' on task 'zoo' (iter 2/3) 
INFO  [00:28:55.764] [mlr3]  Applying learner 'classif.featureless' on task 'wine' (iter 1/3) 
INFO  [00:28:55.802] [mlr3]  Applying learner 'classif.xgboost' on task 'iris' (iter 3/3) 
[00:28:55] 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  [00:28:55.860] [mlr3]  Applying learner 'classif.featureless' on task 'sonar' (iter 1/3) 
INFO  [00:28:55.872] [mlr3]  Applying learner 'classif.rpart' on task 'zoo' (iter 1/3) 
INFO  [00:28:55.898] [mlr3]  Applying learner 'classif.featureless' on task 'iris' (iter 2/3) 
INFO  [00:28:55.911] [mlr3]  Applying learner 'classif.featureless' on task 'wine' (iter 3/3) 
INFO  [00:28:55.942] [mlr3]  Finished benchmark 
Error: 'posthoc.friedman.nemenyi.test.default' is defunct.
Use 'PMCMRplus::frdAllPairsNemenyiTest' instead.
See help("Defunct") and help("PMCMR-defunct").
Execution halted