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  [09:23:55.908] [mlr3] Running benchmark with 40 resampling iterations
INFO  [09:23:56.720] [mlr3] Applying learner 'classif.featureless' on task 'pima' (iter 1/10)
INFO  [09:23:57.107] [mlr3] Applying learner 'classif.featureless' on task 'pima' (iter 2/10)
INFO  [09:23:57.441] [mlr3] Applying learner 'classif.featureless' on task 'pima' (iter 3/10)
INFO  [09:23:57.576] [mlr3] Applying learner 'classif.featureless' on task 'pima' (iter 4/10)
INFO  [09:23:58.520] [mlr3] Applying learner 'classif.featureless' on task 'pima' (iter 5/10)
INFO  [09:23:58.781] [mlr3] Applying learner 'classif.featureless' on task 'pima' (iter 6/10)
INFO  [09:23:58.969] [mlr3] Applying learner 'classif.featureless' on task 'pima' (iter 7/10)
INFO  [09:23:59.331] [mlr3] Applying learner 'classif.featureless' on task 'pima' (iter 8/10)
INFO  [09:23:59.511] [mlr3] Applying learner 'classif.featureless' on task 'pima' (iter 9/10)
INFO  [09:23:59.610] [mlr3] Applying learner 'classif.featureless' on task 'pima' (iter 10/10)
INFO  [09:23:59.731] [mlr3] Applying learner 'classif.rpart' on task 'pima' (iter 1/10)
INFO  [09:24:00.005] [mlr3] Applying learner 'classif.rpart' on task 'pima' (iter 2/10)
INFO  [09:24:00.150] [mlr3] Applying learner 'classif.rpart' on task 'pima' (iter 3/10)
INFO  [09:24:01.903] [mlr3] Applying learner 'classif.rpart' on task 'pima' (iter 4/10)
INFO  [09:24:02.372] [mlr3] Applying learner 'classif.rpart' on task 'pima' (iter 5/10)
INFO  [09:24:02.563] [mlr3] Applying learner 'classif.rpart' on task 'pima' (iter 6/10)
INFO  [09:24:02.769] [mlr3] Applying learner 'classif.rpart' on task 'pima' (iter 7/10)
INFO  [09:24:02.931] [mlr3] Applying learner 'classif.rpart' on task 'pima' (iter 8/10)
INFO  [09:24:03.736] [mlr3] Applying learner 'classif.rpart' on task 'pima' (iter 9/10)
INFO  [09:24:03.963] [mlr3] Applying learner 'classif.rpart' on task 'pima' (iter 10/10)
INFO  [09:24:04.197] [mlr3] Applying learner 'classif.featureless' on task 'sonar' (iter 1/10)
INFO  [09:24:04.382] [mlr3] Applying learner 'classif.featureless' on task 'sonar' (iter 2/10)
INFO  [09:24:04.535] [mlr3] Applying learner 'classif.featureless' on task 'sonar' (iter 3/10)
INFO  [09:24:04.704] [mlr3] Applying learner 'classif.featureless' on task 'sonar' (iter 4/10)
INFO  [09:24:04.872] [mlr3] Applying learner 'classif.featureless' on task 'sonar' (iter 5/10)
INFO  [09:24:05.074] [mlr3] Applying learner 'classif.featureless' on task 'sonar' (iter 6/10)
INFO  [09:24:05.267] [mlr3] Applying learner 'classif.featureless' on task 'sonar' (iter 7/10)
INFO  [09:24:05.444] [mlr3] Applying learner 'classif.featureless' on task 'sonar' (iter 8/10)
INFO  [09:24:05.625] [mlr3] Applying learner 'classif.featureless' on task 'sonar' (iter 9/10)
INFO  [09:24:05.740] [mlr3] Applying learner 'classif.featureless' on task 'sonar' (iter 10/10)
INFO  [09:24:05.959] [mlr3] Applying learner 'classif.rpart' on task 'sonar' (iter 1/10)
INFO  [09:24:06.066] [mlr3] Applying learner 'classif.rpart' on task 'sonar' (iter 2/10)
INFO  [09:24:06.169] [mlr3] Applying learner 'classif.rpart' on task 'sonar' (iter 3/10)
INFO  [09:24:06.826] [mlr3] Applying learner 'classif.rpart' on task 'sonar' (iter 4/10)
INFO  [09:24:06.915] [mlr3] Applying learner 'classif.rpart' on task 'sonar' (iter 5/10)
INFO  [09:24:07.003] [mlr3] Applying learner 'classif.rpart' on task 'sonar' (iter 6/10)
INFO  [09:24:07.506] [mlr3] Applying learner 'classif.rpart' on task 'sonar' (iter 7/10)
INFO  [09:24:07.794] [mlr3] Applying learner 'classif.rpart' on task 'sonar' (iter 8/10)
INFO  [09:24:08.003] [mlr3] Applying learner 'classif.rpart' on task 'sonar' (iter 9/10)
INFO  [09:24:08.188] [mlr3] Applying learner 'classif.rpart' on task 'sonar' (iter 10/10)
INFO  [09:24:08.496] [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