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:17:26.789] [mlr3] Running benchmark with 40 resampling iterations
INFO  [17:17:26.927] [mlr3] Applying learner 'classif.featureless' on task 'pima' (iter 1/10)
INFO  [17:17:26.985] [mlr3] Applying learner 'classif.featureless' on task 'pima' (iter 2/10)
INFO  [17:17:27.039] [mlr3] Applying learner 'classif.featureless' on task 'pima' (iter 3/10)
INFO  [17:17:27.059] [mlr3] Applying learner 'classif.featureless' on task 'pima' (iter 4/10)
INFO  [17:17:27.087] [mlr3] Applying learner 'classif.featureless' on task 'pima' (iter 5/10)
INFO  [17:17:27.108] [mlr3] Applying learner 'classif.featureless' on task 'pima' (iter 6/10)
INFO  [17:17:27.133] [mlr3] Applying learner 'classif.featureless' on task 'pima' (iter 7/10)
INFO  [17:17:27.283] [mlr3] Applying learner 'classif.featureless' on task 'pima' (iter 8/10)
INFO  [17:17:27.339] [mlr3] Applying learner 'classif.featureless' on task 'pima' (iter 9/10)
INFO  [17:17:27.396] [mlr3] Applying learner 'classif.featureless' on task 'pima' (iter 10/10)
INFO  [17:17:27.422] [mlr3] Applying learner 'classif.rpart' on task 'pima' (iter 1/10)
INFO  [17:17:27.480] [mlr3] Applying learner 'classif.rpart' on task 'pima' (iter 2/10)
INFO  [17:17:27.511] [mlr3] Applying learner 'classif.rpart' on task 'pima' (iter 3/10)
INFO  [17:17:27.549] [mlr3] Applying learner 'classif.rpart' on task 'pima' (iter 4/10)
INFO  [17:17:27.583] [mlr3] Applying learner 'classif.rpart' on task 'pima' (iter 5/10)
INFO  [17:17:27.614] [mlr3] Applying learner 'classif.rpart' on task 'pima' (iter 6/10)
INFO  [17:17:27.655] [mlr3] Applying learner 'classif.rpart' on task 'pima' (iter 7/10)
INFO  [17:17:27.687] [mlr3] Applying learner 'classif.rpart' on task 'pima' (iter 8/10)
INFO  [17:17:27.892] [mlr3] Applying learner 'classif.rpart' on task 'pima' (iter 9/10)
INFO  [17:17:27.924] [mlr3] Applying learner 'classif.rpart' on task 'pima' (iter 10/10)
INFO  [17:17:27.954] [mlr3] Applying learner 'classif.featureless' on task 'sonar' (iter 1/10)
INFO  [17:17:27.982] [mlr3] Applying learner 'classif.featureless' on task 'sonar' (iter 2/10)
INFO  [17:17:28.066] [mlr3] Applying learner 'classif.featureless' on task 'sonar' (iter 3/10)
INFO  [17:17:28.145] [mlr3] Applying learner 'classif.featureless' on task 'sonar' (iter 4/10)
INFO  [17:17:28.205] [mlr3] Applying learner 'classif.featureless' on task 'sonar' (iter 5/10)
INFO  [17:17:28.243] [mlr3] Applying learner 'classif.featureless' on task 'sonar' (iter 6/10)
INFO  [17:17:28.324] [mlr3] Applying learner 'classif.featureless' on task 'sonar' (iter 7/10)
INFO  [17:17:28.416] [mlr3] Applying learner 'classif.featureless' on task 'sonar' (iter 8/10)
INFO  [17:17:28.510] [mlr3] Applying learner 'classif.featureless' on task 'sonar' (iter 9/10)
INFO  [17:17:28.591] [mlr3] Applying learner 'classif.featureless' on task 'sonar' (iter 10/10)
INFO  [17:17:28.664] [mlr3] Applying learner 'classif.rpart' on task 'sonar' (iter 1/10)
INFO  [17:17:28.706] [mlr3] Applying learner 'classif.rpart' on task 'sonar' (iter 2/10)
INFO  [17:17:28.746] [mlr3] Applying learner 'classif.rpart' on task 'sonar' (iter 3/10)
INFO  [17:17:28.787] [mlr3] Applying learner 'classif.rpart' on task 'sonar' (iter 4/10)
INFO  [17:17:28.863] [mlr3] Applying learner 'classif.rpart' on task 'sonar' (iter 5/10)
INFO  [17:17:28.933] [mlr3] Applying learner 'classif.rpart' on task 'sonar' (iter 6/10)
INFO  [17:17:28.968] [mlr3] Applying learner 'classif.rpart' on task 'sonar' (iter 7/10)
INFO  [17:17:29.003] [mlr3] Applying learner 'classif.rpart' on task 'sonar' (iter 8/10)
INFO  [17:17:29.040] [mlr3] Applying learner 'classif.rpart' on task 'sonar' (iter 9/10)
INFO  [17:17:29.083] [mlr3] Applying learner 'classif.rpart' on task 'sonar' (iter 10/10)
INFO  [17:17:29.130] [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