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  [02:08:29.650] [mlr3] Running benchmark with 40 resampling iterations
INFO  [02:08:30.020] [mlr3] Applying learner 'classif.featureless' on task 'pima' (iter 1/10)
INFO  [02:08:30.149] [mlr3] Applying learner 'classif.featureless' on task 'pima' (iter 2/10)
INFO  [02:08:30.247] [mlr3] Applying learner 'classif.featureless' on task 'pima' (iter 3/10)
INFO  [02:08:30.326] [mlr3] Applying learner 'classif.featureless' on task 'pima' (iter 4/10)
INFO  [02:08:30.398] [mlr3] Applying learner 'classif.featureless' on task 'pima' (iter 5/10)
INFO  [02:08:30.471] [mlr3] Applying learner 'classif.featureless' on task 'pima' (iter 6/10)
INFO  [02:08:30.547] [mlr3] Applying learner 'classif.featureless' on task 'pima' (iter 7/10)
INFO  [02:08:30.636] [mlr3] Applying learner 'classif.featureless' on task 'pima' (iter 8/10)
INFO  [02:08:30.743] [mlr3] Applying learner 'classif.featureless' on task 'pima' (iter 9/10)
INFO  [02:08:30.789] [mlr3] Applying learner 'classif.featureless' on task 'pima' (iter 10/10)
INFO  [02:08:30.906] [mlr3] Applying learner 'classif.rpart' on task 'pima' (iter 1/10)
INFO  [02:08:31.001] [mlr3] Applying learner 'classif.rpart' on task 'pima' (iter 2/10)
INFO  [02:08:31.063] [mlr3] Applying learner 'classif.rpart' on task 'pima' (iter 3/10)
INFO  [02:08:31.136] [mlr3] Applying learner 'classif.rpart' on task 'pima' (iter 4/10)
INFO  [02:08:31.198] [mlr3] Applying learner 'classif.rpart' on task 'pima' (iter 5/10)
INFO  [02:08:31.262] [mlr3] Applying learner 'classif.rpart' on task 'pima' (iter 6/10)
INFO  [02:08:31.326] [mlr3] Applying learner 'classif.rpart' on task 'pima' (iter 7/10)
INFO  [02:08:31.402] [mlr3] Applying learner 'classif.rpart' on task 'pima' (iter 8/10)
INFO  [02:08:31.465] [mlr3] Applying learner 'classif.rpart' on task 'pima' (iter 9/10)
INFO  [02:08:31.531] [mlr3] Applying learner 'classif.rpart' on task 'pima' (iter 10/10)
INFO  [02:08:31.599] [mlr3] Applying learner 'classif.featureless' on task 'sonar' (iter 1/10)
INFO  [02:08:31.653] [mlr3] Applying learner 'classif.featureless' on task 'sonar' (iter 2/10)
INFO  [02:08:31.703] [mlr3] Applying learner 'classif.featureless' on task 'sonar' (iter 3/10)
INFO  [02:08:31.747] [mlr3] Applying learner 'classif.featureless' on task 'sonar' (iter 4/10)
INFO  [02:08:31.840] [mlr3] Applying learner 'classif.featureless' on task 'sonar' (iter 5/10)
INFO  [02:08:31.916] [mlr3] Applying learner 'classif.featureless' on task 'sonar' (iter 6/10)
INFO  [02:08:31.994] [mlr3] Applying learner 'classif.featureless' on task 'sonar' (iter 7/10)
INFO  [02:08:32.077] [mlr3] Applying learner 'classif.featureless' on task 'sonar' (iter 8/10)
INFO  [02:08:32.134] [mlr3] Applying learner 'classif.featureless' on task 'sonar' (iter 9/10)
INFO  [02:08:32.188] [mlr3] Applying learner 'classif.featureless' on task 'sonar' (iter 10/10)
INFO  [02:08:32.278] [mlr3] Applying learner 'classif.rpart' on task 'sonar' (iter 1/10)
INFO  [02:08:32.380] [mlr3] Applying learner 'classif.rpart' on task 'sonar' (iter 2/10)
INFO  [02:08:32.507] [mlr3] Applying learner 'classif.rpart' on task 'sonar' (iter 3/10)
INFO  [02:08:32.593] [mlr3] Applying learner 'classif.rpart' on task 'sonar' (iter 4/10)
INFO  [02:08:32.710] [mlr3] Applying learner 'classif.rpart' on task 'sonar' (iter 5/10)
INFO  [02:08:32.814] [mlr3] Applying learner 'classif.rpart' on task 'sonar' (iter 6/10)
INFO  [02:08:32.894] [mlr3] Applying learner 'classif.rpart' on task 'sonar' (iter 7/10)
INFO  [02:08:32.972] [mlr3] Applying learner 'classif.rpart' on task 'sonar' (iter 8/10)
INFO  [02:08:33.053] [mlr3] Applying learner 'classif.rpart' on task 'sonar' (iter 9/10)
INFO  [02:08:33.137] [mlr3] Applying learner 'classif.rpart' on task 'sonar' (iter 10/10)
INFO  [02:08:33.267] [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