Running examples in ‘mlr3viz-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: autoplot.BenchmarkResult
> ### Title: Plots for Benchmark Results
> ### Aliases: autoplot.BenchmarkResult
> 
> ### ** Examples
> 
> if (requireNamespace("mlr3")) {
+   library(mlr3)
+   library(mlr3viz)
+ 
+   tasks = tsks(c("pima", "sonar"))
+   learner = lrns(c("classif.featureless", "classif.rpart"),
+     predict_type = "prob")
+   resampling = rsmps("cv")
+   object = benchmark(benchmark_grid(tasks, learner, resampling))
+ 
+   head(fortify(object))
+   autoplot(object)
+   autoplot(object$clone(deep = TRUE)$filter(task_ids = "pima"), type = "roc")
+ }
Loading required namespace: mlr3
INFO  [15:17:58.540] [mlr3] Running benchmark with 40 resampling iterations
INFO  [15:17:58.740] [mlr3] Applying learner 'classif.featureless' on task 'pima' (iter 1/10)
INFO  [15:17:58.834] [mlr3] Applying learner 'classif.featureless' on task 'pima' (iter 2/10)
INFO  [15:17:58.880] [mlr3] Applying learner 'classif.featureless' on task 'pima' (iter 3/10)
INFO  [15:17:58.924] [mlr3] Applying learner 'classif.featureless' on task 'pima' (iter 4/10)
INFO  [15:17:58.970] [mlr3] Applying learner 'classif.featureless' on task 'pima' (iter 5/10)
INFO  [15:17:59.017] [mlr3] Applying learner 'classif.featureless' on task 'pima' (iter 6/10)
INFO  [15:17:59.036] [mlr3] Applying learner 'classif.featureless' on task 'pima' (iter 7/10)
INFO  [15:17:59.055] [mlr3] Applying learner 'classif.featureless' on task 'pima' (iter 8/10)
INFO  [15:17:59.075] [mlr3] Applying learner 'classif.featureless' on task 'pima' (iter 9/10)
INFO  [15:17:59.095] [mlr3] Applying learner 'classif.featureless' on task 'pima' (iter 10/10)
INFO  [15:17:59.115] [mlr3] Applying learner 'classif.rpart' on task 'pima' (iter 1/10)
INFO  [15:17:59.171] [mlr3] Applying learner 'classif.rpart' on task 'pima' (iter 2/10)
INFO  [15:17:59.229] [mlr3] Applying learner 'classif.rpart' on task 'pima' (iter 3/10)
INFO  [15:17:59.293] [mlr3] Applying learner 'classif.rpart' on task 'pima' (iter 4/10)
INFO  [15:17:59.372] [mlr3] Applying learner 'classif.rpart' on task 'pima' (iter 5/10)
INFO  [15:17:59.441] [mlr3] Applying learner 'classif.rpart' on task 'pima' (iter 6/10)
INFO  [15:17:59.475] [mlr3] Applying learner 'classif.rpart' on task 'pima' (iter 7/10)
INFO  [15:17:59.513] [mlr3] Applying learner 'classif.rpart' on task 'pima' (iter 8/10)
INFO  [15:17:59.551] [mlr3] Applying learner 'classif.rpart' on task 'pima' (iter 9/10)
INFO  [15:17:59.589] [mlr3] Applying learner 'classif.rpart' on task 'pima' (iter 10/10)
INFO  [15:17:59.632] [mlr3] Applying learner 'classif.featureless' on task 'sonar' (iter 1/10)
INFO  [15:17:59.674] [mlr3] Applying learner 'classif.featureless' on task 'sonar' (iter 2/10)
INFO  [15:17:59.694] [mlr3] Applying learner 'classif.featureless' on task 'sonar' (iter 3/10)
INFO  [15:17:59.715] [mlr3] Applying learner 'classif.featureless' on task 'sonar' (iter 4/10)
INFO  [15:17:59.740] [mlr3] Applying learner 'classif.featureless' on task 'sonar' (iter 5/10)
INFO  [15:17:59.760] [mlr3] Applying learner 'classif.featureless' on task 'sonar' (iter 6/10)
INFO  [15:17:59.791] [mlr3] Applying learner 'classif.featureless' on task 'sonar' (iter 7/10)
INFO  [15:17:59.841] [mlr3] Applying learner 'classif.featureless' on task 'sonar' (iter 8/10)
INFO  [15:17:59.877] [mlr3] Applying learner 'classif.featureless' on task 'sonar' (iter 9/10)
INFO  [15:17:59.918] [mlr3] Applying learner 'classif.featureless' on task 'sonar' (iter 10/10)
INFO  [15:17:59.974] [mlr3] Applying learner 'classif.rpart' on task 'sonar' (iter 1/10)
INFO  [15:18:00.018] [mlr3] Applying learner 'classif.rpart' on task 'sonar' (iter 2/10)
INFO  [15:18:00.084] [mlr3] Applying learner 'classif.rpart' on task 'sonar' (iter 3/10)
INFO  [15:18:00.199] [mlr3] Applying learner 'classif.rpart' on task 'sonar' (iter 4/10)
INFO  [15:18:00.253] [mlr3] Applying learner 'classif.rpart' on task 'sonar' (iter 5/10)
INFO  [15:18:00.407] [mlr3] Applying learner 'classif.rpart' on task 'sonar' (iter 6/10)
INFO  [15:18:00.458] [mlr3] Applying learner 'classif.rpart' on task 'sonar' (iter 7/10)
INFO  [15:18:00.506] [mlr3] Applying learner 'classif.rpart' on task 'sonar' (iter 8/10)
INFO  [15:18:00.590] [mlr3] Applying learner 'classif.rpart' on task 'sonar' (iter 9/10)
INFO  [15:18:00.678] [mlr3] Applying learner 'classif.rpart' on task 'sonar' (iter 10/10)
INFO  [15:18:00.802] [mlr3] Finished benchmark
Error: The following packages could not be loaded: precrec
Execution halted