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

> ### 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  [12:31:59.527] [mlr3] Running benchmark with 40 resampling iterations
INFO  [12:31:59.933] [mlr3] Applying learner 'classif.featureless' on task 'pima' (iter 1/10)
INFO  [12:32:00.106] [mlr3] Applying learner 'classif.featureless' on task 'pima' (iter 2/10)
INFO  [12:32:00.197] [mlr3] Applying learner 'classif.featureless' on task 'pima' (iter 3/10)
INFO  [12:32:00.328] [mlr3] Applying learner 'classif.featureless' on task 'pima' (iter 4/10)
INFO  [12:32:00.477] [mlr3] Applying learner 'classif.featureless' on task 'pima' (iter 5/10)
INFO  [12:32:00.571] [mlr3] Applying learner 'classif.featureless' on task 'pima' (iter 6/10)
INFO  [12:32:00.664] [mlr3] Applying learner 'classif.featureless' on task 'pima' (iter 7/10)
INFO  [12:32:00.860] [mlr3] Applying learner 'classif.featureless' on task 'pima' (iter 8/10)
INFO  [12:32:00.907] [mlr3] Applying learner 'classif.featureless' on task 'pima' (iter 9/10)
INFO  [12:32:00.952] [mlr3] Applying learner 'classif.featureless' on task 'pima' (iter 10/10)
INFO  [12:32:01.041] [mlr3] Applying learner 'classif.rpart' on task 'pima' (iter 1/10)
INFO  [12:32:01.160] [mlr3] Applying learner 'classif.rpart' on task 'pima' (iter 2/10)
INFO  [12:32:01.285] [mlr3] Applying learner 'classif.rpart' on task 'pima' (iter 3/10)
INFO  [12:32:01.365] [mlr3] Applying learner 'classif.rpart' on task 'pima' (iter 4/10)
INFO  [12:32:01.513] [mlr3] Applying learner 'classif.rpart' on task 'pima' (iter 5/10)
INFO  [12:32:01.637] [mlr3] Applying learner 'classif.rpart' on task 'pima' (iter 6/10)
INFO  [12:32:01.802] [mlr3] Applying learner 'classif.rpart' on task 'pima' (iter 7/10)
INFO  [12:32:01.922] [mlr3] Applying learner 'classif.rpart' on task 'pima' (iter 8/10)
INFO  [12:32:02.520] [mlr3] Applying learner 'classif.rpart' on task 'pima' (iter 9/10)
INFO  [12:32:02.613] [mlr3] Applying learner 'classif.rpart' on task 'pima' (iter 10/10)
INFO  [12:32:02.682] [mlr3] Applying learner 'classif.featureless' on task 'sonar' (iter 1/10)
INFO  [12:32:02.770] [mlr3] Applying learner 'classif.featureless' on task 'sonar' (iter 2/10)
INFO  [12:32:02.847] [mlr3] Applying learner 'classif.featureless' on task 'sonar' (iter 3/10)
INFO  [12:32:02.982] [mlr3] Applying learner 'classif.featureless' on task 'sonar' (iter 4/10)
INFO  [12:32:03.091] [mlr3] Applying learner 'classif.featureless' on task 'sonar' (iter 5/10)
INFO  [12:32:03.177] [mlr3] Applying learner 'classif.featureless' on task 'sonar' (iter 6/10)
INFO  [12:32:03.324] [mlr3] Applying learner 'classif.featureless' on task 'sonar' (iter 7/10)
INFO  [12:32:03.427] [mlr3] Applying learner 'classif.featureless' on task 'sonar' (iter 8/10)
INFO  [12:32:03.556] [mlr3] Applying learner 'classif.featureless' on task 'sonar' (iter 9/10)
INFO  [12:32:03.638] [mlr3] Applying learner 'classif.featureless' on task 'sonar' (iter 10/10)
INFO  [12:32:03.783] [mlr3] Applying learner 'classif.rpart' on task 'sonar' (iter 1/10)
INFO  [12:32:04.022] [mlr3] Applying learner 'classif.rpart' on task 'sonar' (iter 2/10)
INFO  [12:32:04.202] [mlr3] Applying learner 'classif.rpart' on task 'sonar' (iter 3/10)
INFO  [12:32:04.418] [mlr3] Applying learner 'classif.rpart' on task 'sonar' (iter 4/10)
INFO  [12:32:04.603] [mlr3] Applying learner 'classif.rpart' on task 'sonar' (iter 5/10)
INFO  [12:32:04.808] [mlr3] Applying learner 'classif.rpart' on task 'sonar' (iter 6/10)
INFO  [12:32:04.951] [mlr3] Applying learner 'classif.rpart' on task 'sonar' (iter 7/10)
INFO  [12:32:05.076] [mlr3] Applying learner 'classif.rpart' on task 'sonar' (iter 8/10)
INFO  [12:32:05.254] [mlr3] Applying learner 'classif.rpart' on task 'sonar' (iter 9/10)
INFO  [12:32:05.447] [mlr3] Applying learner 'classif.rpart' on task 'sonar' (iter 10/10)
INFO  [12:32:05.667] [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