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  [17:11:33.299] [mlr3] Running benchmark with 40 resampling iterations
INFO  [17:11:33.451] [mlr3] Applying learner 'classif.featureless' on task 'pima' (iter 1/10)
INFO  [17:11:33.508] [mlr3] Applying learner 'classif.featureless' on task 'pima' (iter 2/10)
INFO  [17:11:33.539] [mlr3] Applying learner 'classif.featureless' on task 'pima' (iter 3/10)
INFO  [17:11:33.568] [mlr3] Applying learner 'classif.featureless' on task 'pima' (iter 4/10)
INFO  [17:11:33.596] [mlr3] Applying learner 'classif.featureless' on task 'pima' (iter 5/10)
INFO  [17:11:33.622] [mlr3] Applying learner 'classif.featureless' on task 'pima' (iter 6/10)
INFO  [17:11:33.645] [mlr3] Applying learner 'classif.featureless' on task 'pima' (iter 7/10)
INFO  [17:11:33.695] [mlr3] Applying learner 'classif.featureless' on task 'pima' (iter 8/10)
INFO  [17:11:33.720] [mlr3] Applying learner 'classif.featureless' on task 'pima' (iter 9/10)
INFO  [17:11:33.751] [mlr3] Applying learner 'classif.featureless' on task 'pima' (iter 10/10)
INFO  [17:11:33.783] [mlr3] Applying learner 'classif.rpart' on task 'pima' (iter 1/10)
INFO  [17:11:33.854] [mlr3] Applying learner 'classif.rpart' on task 'pima' (iter 2/10)
INFO  [17:11:33.902] [mlr3] Applying learner 'classif.rpart' on task 'pima' (iter 3/10)
INFO  [17:11:33.959] [mlr3] Applying learner 'classif.rpart' on task 'pima' (iter 4/10)
INFO  [17:11:34.013] [mlr3] Applying learner 'classif.rpart' on task 'pima' (iter 5/10)
INFO  [17:11:34.064] [mlr3] Applying learner 'classif.rpart' on task 'pima' (iter 6/10)
INFO  [17:11:34.104] [mlr3] Applying learner 'classif.rpart' on task 'pima' (iter 7/10)
INFO  [17:11:34.143] [mlr3] Applying learner 'classif.rpart' on task 'pima' (iter 8/10)
INFO  [17:11:34.307] [mlr3] Applying learner 'classif.rpart' on task 'pima' (iter 9/10)
INFO  [17:11:34.349] [mlr3] Applying learner 'classif.rpart' on task 'pima' (iter 10/10)
INFO  [17:11:34.389] [mlr3] Applying learner 'classif.featureless' on task 'sonar' (iter 1/10)
INFO  [17:11:34.427] [mlr3] Applying learner 'classif.featureless' on task 'sonar' (iter 2/10)
INFO  [17:11:34.461] [mlr3] Applying learner 'classif.featureless' on task 'sonar' (iter 3/10)
INFO  [17:11:34.502] [mlr3] Applying learner 'classif.featureless' on task 'sonar' (iter 4/10)
INFO  [17:11:34.540] [mlr3] Applying learner 'classif.featureless' on task 'sonar' (iter 5/10)
INFO  [17:11:34.576] [mlr3] Applying learner 'classif.featureless' on task 'sonar' (iter 6/10)
INFO  [17:11:34.611] [mlr3] Applying learner 'classif.featureless' on task 'sonar' (iter 7/10)
INFO  [17:11:34.644] [mlr3] Applying learner 'classif.featureless' on task 'sonar' (iter 8/10)
INFO  [17:11:34.678] [mlr3] Applying learner 'classif.featureless' on task 'sonar' (iter 9/10)
INFO  [17:11:34.717] [mlr3] Applying learner 'classif.featureless' on task 'sonar' (iter 10/10)
INFO  [17:11:34.751] [mlr3] Applying learner 'classif.rpart' on task 'sonar' (iter 1/10)
INFO  [17:11:34.812] [mlr3] Applying learner 'classif.rpart' on task 'sonar' (iter 2/10)
INFO  [17:11:34.858] [mlr3] Applying learner 'classif.rpart' on task 'sonar' (iter 3/10)
INFO  [17:11:34.911] [mlr3] Applying learner 'classif.rpart' on task 'sonar' (iter 4/10)
INFO  [17:11:34.949] [mlr3] Applying learner 'classif.rpart' on task 'sonar' (iter 5/10)
INFO  [17:11:35.000] [mlr3] Applying learner 'classif.rpart' on task 'sonar' (iter 6/10)
INFO  [17:11:35.057] [mlr3] Applying learner 'classif.rpart' on task 'sonar' (iter 7/10)
INFO  [17:11:35.114] [mlr3] Applying learner 'classif.rpart' on task 'sonar' (iter 8/10)
INFO  [17:11:35.169] [mlr3] Applying learner 'classif.rpart' on task 'sonar' (iter 9/10)
INFO  [17:11:35.232] [mlr3] Applying learner 'classif.rpart' on task 'sonar' (iter 10/10)
INFO  [17:11:35.299] [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