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  [17:16:36.595] [mlr3] Running benchmark with 40 resampling iterations
INFO  [17:16:36.725] [mlr3] Applying learner 'classif.featureless' on task 'pima' (iter 1/10)
INFO  [17:16:36.779] [mlr3] Applying learner 'classif.featureless' on task 'pima' (iter 2/10)
INFO  [17:16:36.819] [mlr3] Applying learner 'classif.featureless' on task 'pima' (iter 3/10)
INFO  [17:16:36.840] [mlr3] Applying learner 'classif.featureless' on task 'pima' (iter 4/10)
INFO  [17:16:36.873] [mlr3] Applying learner 'classif.featureless' on task 'pima' (iter 5/10)
INFO  [17:16:36.971] [mlr3] Applying learner 'classif.featureless' on task 'pima' (iter 6/10)
INFO  [17:16:37.075] [mlr3] Applying learner 'classif.featureless' on task 'pima' (iter 7/10)
INFO  [17:16:37.244] [mlr3] Applying learner 'classif.featureless' on task 'pima' (iter 8/10)
INFO  [17:16:37.286] [mlr3] Applying learner 'classif.featureless' on task 'pima' (iter 9/10)
INFO  [17:16:37.330] [mlr3] Applying learner 'classif.featureless' on task 'pima' (iter 10/10)
INFO  [17:16:37.357] [mlr3] Applying learner 'classif.rpart' on task 'pima' (iter 1/10)
INFO  [17:16:37.406] [mlr3] Applying learner 'classif.rpart' on task 'pima' (iter 2/10)
INFO  [17:16:37.436] [mlr3] Applying learner 'classif.rpart' on task 'pima' (iter 3/10)
INFO  [17:16:37.473] [mlr3] Applying learner 'classif.rpart' on task 'pima' (iter 4/10)
INFO  [17:16:37.502] [mlr3] Applying learner 'classif.rpart' on task 'pima' (iter 5/10)
INFO  [17:16:37.531] [mlr3] Applying learner 'classif.rpart' on task 'pima' (iter 6/10)
INFO  [17:16:37.574] [mlr3] Applying learner 'classif.rpart' on task 'pima' (iter 7/10)
INFO  [17:16:37.604] [mlr3] Applying learner 'classif.rpart' on task 'pima' (iter 8/10)
INFO  [17:16:37.789] [mlr3] Applying learner 'classif.rpart' on task 'pima' (iter 9/10)
INFO  [17:16:37.816] [mlr3] Applying learner 'classif.rpart' on task 'pima' (iter 10/10)
INFO  [17:16:37.842] [mlr3] Applying learner 'classif.featureless' on task 'sonar' (iter 1/10)
INFO  [17:16:37.863] [mlr3] Applying learner 'classif.featureless' on task 'sonar' (iter 2/10)
INFO  [17:16:37.885] [mlr3] Applying learner 'classif.featureless' on task 'sonar' (iter 3/10)
INFO  [17:16:37.919] [mlr3] Applying learner 'classif.featureless' on task 'sonar' (iter 4/10)
INFO  [17:16:37.984] [mlr3] Applying learner 'classif.featureless' on task 'sonar' (iter 5/10)
INFO  [17:16:38.043] [mlr3] Applying learner 'classif.featureless' on task 'sonar' (iter 6/10)
INFO  [17:16:38.087] [mlr3] Applying learner 'classif.featureless' on task 'sonar' (iter 7/10)
INFO  [17:16:38.148] [mlr3] Applying learner 'classif.featureless' on task 'sonar' (iter 8/10)
INFO  [17:16:38.197] [mlr3] Applying learner 'classif.featureless' on task 'sonar' (iter 9/10)
INFO  [17:16:38.222] [mlr3] Applying learner 'classif.featureless' on task 'sonar' (iter 10/10)
INFO  [17:16:38.246] [mlr3] Applying learner 'classif.rpart' on task 'sonar' (iter 1/10)
INFO  [17:16:38.327] [mlr3] Applying learner 'classif.rpart' on task 'sonar' (iter 2/10)
INFO  [17:16:38.390] [mlr3] Applying learner 'classif.rpart' on task 'sonar' (iter 3/10)
INFO  [17:16:38.425] [mlr3] Applying learner 'classif.rpart' on task 'sonar' (iter 4/10)
INFO  [17:16:38.496] [mlr3] Applying learner 'classif.rpart' on task 'sonar' (iter 5/10)
INFO  [17:16:38.570] [mlr3] Applying learner 'classif.rpart' on task 'sonar' (iter 6/10)
INFO  [17:16:38.651] [mlr3] Applying learner 'classif.rpart' on task 'sonar' (iter 7/10)
INFO  [17:16:38.733] [mlr3] Applying learner 'classif.rpart' on task 'sonar' (iter 8/10)
INFO  [17:16:38.796] [mlr3] Applying learner 'classif.rpart' on task 'sonar' (iter 9/10)
INFO  [17:16:38.864] [mlr3] Applying learner 'classif.rpart' on task 'sonar' (iter 10/10)
INFO  [17:16:38.927] [mlr3] Finished benchmark
Error in `[.data.table`(data, , `:=`("task_hash", task[[1L]]$hash), by = "uhash") : 
  attempt access index 9/9 in VECTOR_ELT
Calls: benchmark ... initialize -> .__ResultData__initialize -> [ -> [.data.table
Execution halted