Running ‘testthat.R’ [83s/49s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > if (requireNamespace("testthat", quietly = TRUE)) {
  +   library("testthat")
  +   library("mlr3viz")
  +   test_check("mlr3viz")
  + }
  Loading required package: mlr3
  Starting 2 test processes.
  Saving _problems/test_BenchmarkResult-4.R
  > test_EnsembleFSResult.R: Loading required namespace: vdiffr
  > test_Filter.R: Loading required namespace: vdiffr
  Saving _problems/test_LearnerClassif-5.R
  Saving _problems/test_LearnerClassif-15.R
  > test_OptimInstanceSingleCrit.R: Loading required package: paradox
  > test_PredictionRegr.R: `stat_bin()` using `bins = 30`. Pick better value `binwidth`.
  > test_ResampleResult.R: `stat_bin()` using `bins = 30`. Pick better value `binwidth`.
  > test_TaskClassif.R: `stat_bin()` using `bins = 30`. Pick better value `binwidth`.
  > test_TaskClassif.R: `stat_bin()` using `bins = 30`. Pick better value `binwidth`.
  > test_TaskClassif.R: `stat_bin()` using `bins = 30`. Pick better value `binwidth`.
  > test_TaskClassif.R: `stat_bin()` using `bins = 30`. Pick better value `binwidth`.
  [ FAIL 3 | WARN 3 | SKIP 24 | PASS 129 ]
  
  ══ Skipped tests (24) ══════════════════════════════════════════════════════════
  • On CRAN (24): 'test_Filter.R:3:1', 'test_EnsembleFSResult.R:4:1',
    'test_LearnerClassifCVGlmnet.R:8:1', 'test_LearnerClassifRpart.R:6:1',
    'test_LearnerClassifGlmnet.R:8:1', 'test_LearnerClustHierarchical.R:7:3',
    'test_LearnerRegrCVGlmnet.R:8:1', 'test_LearnerRegr.R:3:1',
    'test_LearnerRegr.R:13:1', 'test_LearnerRegr.R:23:1',
    'test_LearnerRegrGlmnet.R:7:1', 'test_LearnerRegrRpart.R:6:1',
    'test_PredictionClassif.R:8:1', 'test_PredictionClust.R:8:3',
    'test_PredictionRegr.R:3:1', 'test_OptimInstanceSingleCrit.R:35:1',
    'test_TaskClassif.R:3:1', 'test_TaskClust.R:4:1', 'test_TaskRegr.R:3:1',
    'test_ResampleResult.R:17:1', 'test_plot_learner_prediction.R:3:1',
    'test_plot_learner_prediction.R:38:1', 'test_plot_learner_prediction.R:46:1',
    'test_TuningInstanceSingleCrit.R:33:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_BenchmarkResult.R:4:1'): (code run outside of `test_that()`) ───
  Error in `UseMethod("as_data_backend")`: no applicable method for 'as_data_backend' applied to an object of class "NULL"
  Backtrace:
      ▆
   1. └─mlr3::tsks(c("iris", "pima", "sonar")) at test_BenchmarkResult.R:4:1
   2.   └─mlr3misc::dictionary_sugar_mget(dict = mlr_tasks, .keys, ...)
   3.     └─base::lapply(...)
   4.       └─mlr3misc (local) FUN(X[[i]], ...)
   5.         └─mlr3misc:::dictionary_get(dict, .key, .dicts_suggest = .dicts_suggest)
   6.           └─mlr3misc:::dictionary_initialize_item(key, obj, dots)
   7.             ├─base::do.call(constructor, cargs)
   8.             └─mlr3 (local) `<fn>`()
   9.               └─mlr3::as_data_backend(load_dataset("PimaIndiansDiabetes2", "mlbench"))
  ── Error ('test_LearnerClassif.R:5:3'): autoplot.PredictionClassif decision boundary probability ──
  Error in `UseMethod("as_data_backend")`: no applicable method for 'as_data_backend' applied to an object of class "NULL"
  Backtrace:
      ▆
   1. └─mlr3::tsk("pima") at test_LearnerClassif.R:5:3
   2.   └─mlr3misc::dictionary_sugar_get(dict = mlr_tasks, .key, ...)
   3.     └─mlr3misc:::dictionary_get(dict, .key, .dicts_suggest = .dicts_suggest)
   4.       └─mlr3misc:::dictionary_initialize_item(key, obj, dots)
   5.         ├─base::do.call(constructor, cargs)
   6.         └─mlr3 (local) `<fn>`()
   7.           └─mlr3::as_data_backend(load_dataset("PimaIndiansDiabetes2", "mlbench"))
  ── Error ('test_LearnerClassif.R:15:3'): autoplot.PredictionClassif decision boundary response ──
  Error in `UseMethod("as_data_backend")`: no applicable method for 'as_data_backend' applied to an object of class "NULL"
  Backtrace:
      ▆
   1. └─mlr3::tsk("pima") at test_LearnerClassif.R:15:3
   2.   └─mlr3misc::dictionary_sugar_get(dict = mlr_tasks, .key, ...)
   3.     └─mlr3misc:::dictionary_get(dict, .key, .dicts_suggest = .dicts_suggest)
   4.       └─mlr3misc:::dictionary_initialize_item(key, obj, dots)
   5.         ├─base::do.call(constructor, cargs)
   6.         └─mlr3 (local) `<fn>`()
   7.           └─mlr3::as_data_backend(load_dataset("PimaIndiansDiabetes2", "mlbench"))
  
  [ FAIL 3 | WARN 3 | SKIP 24 | PASS 129 ]
  Deleting unused snapshots: 'BenchmarkResult/bmr-boxplot.svg',
  'BenchmarkResult/bmr-holdout-ci.svg', 'BenchmarkResult/bmr-holdout-roc.svg',
  'BenchmarkResult/bmr-prc.svg', 'BenchmarkResult/bmr-roc.svg',
  'LearnerClassif/learner-classif-prob.svg',
  'LearnerClassif/learner-classif-response.svg',
  'LearnerClustHierarchical/learner-clust-agnes.svg',
  'LearnerClustHierarchical/learner-clust-hclust.svg',
  'PredictionClust/predictionclust-pca.svg',
  'PredictionClust/predictionclust-scatter.svg',
  'PredictionClust/predictionclust-sil.svg',
  'TuningInstanceSingleCrit/tisc-incumbent.svg',
  'TuningInstanceSingleCrit/tisc-marginal-01.svg',
  'TuningInstanceSingleCrit/tisc-marginal-02.svg',
  'TuningInstanceSingleCrit/tisc-marginal-trafo-01.svg',
  'TuningInstanceSingleCrit/tisc-marginal-trafo-02.svg',
  'TuningInstanceSingleCrit/tisc-marginal-x-domain-01.svg', …,
  'TuningInstanceSingleCrit/tisc-surface-regr-lm.svg', and
  'TuningInstanceSingleCrit/tisc-surface.svg'
  Error:
  ! Test failures.
  Execution halted