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  [04:35:40.215] [mlr3] Running benchmark with 40 resampling iterations
INFO  [04:35:40.412] [mlr3] Applying learner 'classif.featureless' on task 'pima' (iter 1/10)
INFO  [04:35:40.480] [mlr3] Applying learner 'classif.featureless' on task 'pima' (iter 2/10)
INFO  [04:35:40.511] [mlr3] Applying learner 'classif.featureless' on task 'pima' (iter 3/10)
INFO  [04:35:40.543] [mlr3] Applying learner 'classif.featureless' on task 'pima' (iter 4/10)
INFO  [04:35:40.582] [mlr3] Applying learner 'classif.featureless' on task 'pima' (iter 5/10)
INFO  [04:35:40.611] [mlr3] Applying learner 'classif.featureless' on task 'pima' (iter 6/10)
INFO  [04:35:40.641] [mlr3] Applying learner 'classif.featureless' on task 'pima' (iter 7/10)
INFO  [04:35:40.728] [mlr3] Applying learner 'classif.featureless' on task 'pima' (iter 8/10)
INFO  [04:35:40.759] [mlr3] Applying learner 'classif.featureless' on task 'pima' (iter 9/10)
INFO  [04:35:40.791] [mlr3] Applying learner 'classif.featureless' on task 'pima' (iter 10/10)
INFO  [04:35:40.824] [mlr3] Applying learner 'classif.rpart' on task 'pima' (iter 1/10)
INFO  [04:35:40.890] [mlr3] Applying learner 'classif.rpart' on task 'pima' (iter 2/10)
INFO  [04:35:40.928] [mlr3] Applying learner 'classif.rpart' on task 'pima' (iter 3/10)
INFO  [04:35:40.976] [mlr3] Applying learner 'classif.rpart' on task 'pima' (iter 4/10)
INFO  [04:35:41.016] [mlr3] Applying learner 'classif.rpart' on task 'pima' (iter 5/10)
INFO  [04:35:41.055] [mlr3] Applying learner 'classif.rpart' on task 'pima' (iter 6/10)
INFO  [04:35:41.103] [mlr3] Applying learner 'classif.rpart' on task 'pima' (iter 7/10)
INFO  [04:35:41.143] [mlr3] Applying learner 'classif.rpart' on task 'pima' (iter 8/10)
INFO  [04:35:41.353] [mlr3] Applying learner 'classif.rpart' on task 'pima' (iter 9/10)
INFO  [04:35:41.394] [mlr3] Applying learner 'classif.rpart' on task 'pima' (iter 10/10)
INFO  [04:35:41.435] [mlr3] Applying learner 'classif.featureless' on task 'sonar' (iter 1/10)
INFO  [04:35:41.476] [mlr3] Applying learner 'classif.featureless' on task 'sonar' (iter 2/10)
INFO  [04:35:41.517] [mlr3] Applying learner 'classif.featureless' on task 'sonar' (iter 3/10)
INFO  [04:35:41.551] [mlr3] Applying learner 'classif.featureless' on task 'sonar' (iter 4/10)
INFO  [04:35:41.584] [mlr3] Applying learner 'classif.featureless' on task 'sonar' (iter 5/10)
INFO  [04:35:41.627] [mlr3] Applying learner 'classif.featureless' on task 'sonar' (iter 6/10)
INFO  [04:35:41.660] [mlr3] Applying learner 'classif.featureless' on task 'sonar' (iter 7/10)
INFO  [04:35:41.693] [mlr3] Applying learner 'classif.featureless' on task 'sonar' (iter 8/10)
INFO  [04:35:41.733] [mlr3] Applying learner 'classif.featureless' on task 'sonar' (iter 9/10)
INFO  [04:35:41.770] [mlr3] Applying learner 'classif.featureless' on task 'sonar' (iter 10/10)
INFO  [04:35:41.805] [mlr3] Applying learner 'classif.rpart' on task 'sonar' (iter 1/10)
INFO  [04:35:41.862] [mlr3] Applying learner 'classif.rpart' on task 'sonar' (iter 2/10)
INFO  [04:35:41.921] [mlr3] Applying learner 'classif.rpart' on task 'sonar' (iter 3/10)
INFO  [04:35:41.971] [mlr3] Applying learner 'classif.rpart' on task 'sonar' (iter 4/10)
INFO  [04:35:42.024] [mlr3] Applying learner 'classif.rpart' on task 'sonar' (iter 5/10)
INFO  [04:35:42.077] [mlr3] Applying learner 'classif.rpart' on task 'sonar' (iter 6/10)
INFO  [04:35:42.130] [mlr3] Applying learner 'classif.rpart' on task 'sonar' (iter 7/10)
INFO  [04:35:42.184] [mlr3] Applying learner 'classif.rpart' on task 'sonar' (iter 8/10)
INFO  [04:35:42.239] [mlr3] Applying learner 'classif.rpart' on task 'sonar' (iter 9/10)
INFO  [04:35:42.301] [mlr3] Applying learner 'classif.rpart' on task 'sonar' (iter 10/10)
INFO  [04:35:42.369] [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