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:13:45.103] [mlr3] Running benchmark with 40 resampling iterations
INFO  [17:13:45.217] [mlr3] Applying learner 'classif.featureless' on task 'pima' (iter 1/10)
INFO  [17:13:45.280] [mlr3] Applying learner 'classif.featureless' on task 'pima' (iter 2/10)
INFO  [17:13:45.312] [mlr3] Applying learner 'classif.featureless' on task 'pima' (iter 3/10)
INFO  [17:13:45.336] [mlr3] Applying learner 'classif.featureless' on task 'pima' (iter 4/10)
INFO  [17:13:45.363] [mlr3] Applying learner 'classif.featureless' on task 'pima' (iter 5/10)
INFO  [17:13:45.383] [mlr3] Applying learner 'classif.featureless' on task 'pima' (iter 6/10)
INFO  [17:13:45.404] [mlr3] Applying learner 'classif.featureless' on task 'pima' (iter 7/10)
INFO  [17:13:45.514] [mlr3] Applying learner 'classif.featureless' on task 'pima' (iter 8/10)
INFO  [17:13:45.576] [mlr3] Applying learner 'classif.featureless' on task 'pima' (iter 9/10)
INFO  [17:13:45.604] [mlr3] Applying learner 'classif.featureless' on task 'pima' (iter 10/10)
INFO  [17:13:45.631] [mlr3] Applying learner 'classif.rpart' on task 'pima' (iter 1/10)
INFO  [17:13:45.693] [mlr3] Applying learner 'classif.rpart' on task 'pima' (iter 2/10)
INFO  [17:13:45.726] [mlr3] Applying learner 'classif.rpart' on task 'pima' (iter 3/10)
INFO  [17:13:45.769] [mlr3] Applying learner 'classif.rpart' on task 'pima' (iter 4/10)
INFO  [17:13:45.802] [mlr3] Applying learner 'classif.rpart' on task 'pima' (iter 5/10)
INFO  [17:13:45.833] [mlr3] Applying learner 'classif.rpart' on task 'pima' (iter 6/10)
INFO  [17:13:45.876] [mlr3] Applying learner 'classif.rpart' on task 'pima' (iter 7/10)
INFO  [17:13:45.906] [mlr3] Applying learner 'classif.rpart' on task 'pima' (iter 8/10)
INFO  [17:13:46.100] [mlr3] Applying learner 'classif.rpart' on task 'pima' (iter 9/10)
INFO  [17:13:46.125] [mlr3] Applying learner 'classif.rpart' on task 'pima' (iter 10/10)
INFO  [17:13:46.151] [mlr3] Applying learner 'classif.featureless' on task 'sonar' (iter 1/10)
INFO  [17:13:46.177] [mlr3] Applying learner 'classif.featureless' on task 'sonar' (iter 2/10)
INFO  [17:13:46.204] [mlr3] Applying learner 'classif.featureless' on task 'sonar' (iter 3/10)
INFO  [17:13:46.232] [mlr3] Applying learner 'classif.featureless' on task 'sonar' (iter 4/10)
INFO  [17:13:46.271] [mlr3] Applying learner 'classif.featureless' on task 'sonar' (iter 5/10)
INFO  [17:13:46.315] [mlr3] Applying learner 'classif.featureless' on task 'sonar' (iter 6/10)
INFO  [17:13:46.341] [mlr3] Applying learner 'classif.featureless' on task 'sonar' (iter 7/10)
INFO  [17:13:46.376] [mlr3] Applying learner 'classif.featureless' on task 'sonar' (iter 8/10)
INFO  [17:13:46.450] [mlr3] Applying learner 'classif.featureless' on task 'sonar' (iter 9/10)
INFO  [17:13:46.496] [mlr3] Applying learner 'classif.featureless' on task 'sonar' (iter 10/10)
INFO  [17:13:46.522] [mlr3] Applying learner 'classif.rpart' on task 'sonar' (iter 1/10)
INFO  [17:13:46.567] [mlr3] Applying learner 'classif.rpart' on task 'sonar' (iter 2/10)
INFO  [17:13:46.612] [mlr3] Applying learner 'classif.rpart' on task 'sonar' (iter 3/10)
INFO  [17:13:46.647] [mlr3] Applying learner 'classif.rpart' on task 'sonar' (iter 4/10)
INFO  [17:13:46.684] [mlr3] Applying learner 'classif.rpart' on task 'sonar' (iter 5/10)
INFO  [17:13:46.721] [mlr3] Applying learner 'classif.rpart' on task 'sonar' (iter 6/10)
INFO  [17:13:46.760] [mlr3] Applying learner 'classif.rpart' on task 'sonar' (iter 7/10)
INFO  [17:13:46.800] [mlr3] Applying learner 'classif.rpart' on task 'sonar' (iter 8/10)
INFO  [17:13:46.840] [mlr3] Applying learner 'classif.rpart' on task 'sonar' (iter 9/10)
INFO  [17:13:46.886] [mlr3] Applying learner 'classif.rpart' on task 'sonar' (iter 10/10)
INFO  [17:13:46.934] [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