Running ‘testthat.R’ [90s/60s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > if (requireNamespace("testthat", quietly = TRUE)) {
  +   library("testthat")
  +   library("mlr3viz")
  +   test_check("mlr3viz")
  + }
  Starting 2 test processes
  [ FAIL 1 | WARN 0 | SKIP 26 | PASS 86 ]
  
  ══ Skipped tests (26) ══════════════════════════════════════════════════════════
  • On CRAN (26): 'test_Filter.R:10:3', 'test_LearnerClassif.R:8:3',
    'test_LearnerClassif.R:18:3', 'test_BenchmarkResult.R:20:3',
    'test_BenchmarkResult.R:49:3', 'test_LearnerClassifCVGlmnet.R:13:3',
    'test_LearnerClassifRpart.R:10:3', 'test_LearnerClasssifGlmnet.R:13:3',
    'test_LearnerClustHierarchical.R:7:3', 'test_LearnerRegr.R:8:3',
    'test_LearnerRegr.R:18:3', 'test_LearnerRegr.R:28:3',
    'test_LearnerRegrGlmnet.R:12:3', 'test_LearnerRegrCVGlmnet.R:13:3',
    'test_LearnerRegrRpart.R:10:3', 'test_PredictionClassif.R:11:3',
    'test_OptimInstanceSingleCrit.R:47:7', 'test_PredictionRegr.R:10:3',
    'test_PredictionClust.R:8:3', 'test_TaskClassif.R:8:3',
    'test_TaskClust.R:10:3', 'test_TaskRegr.R:8:3',
    'test_plot_learner_prediction.R:10:3', 'test_plot_learner_prediction.R:43:3',
    'test_plot_learner_prediction.R:53:3', 'test_ResampleResult.R:21:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_TuningInstanceSingleCrit.R:23:1'): (code run outside of `test_that()`) ──
  Error in `.__TunerRandomSearch__initialize(self = self, private = private, 
      super = super)`: object 'OptimizerRandomSearch' not found
  Backtrace:
       ▆
    1. └─mlr3tuning::tnr("random_search", batch_size = 10) at test_TuningInstanceSingleCrit.R:23:1
    2.   └─mlr3misc::dictionary_sugar_get(mlr_tuners, .key, ...)
    3.     ├─checkmate::assert_r6(dictionary_initialize_item(.key, obj, dots[ii]))
    4.     │ └─checkmate::checkR6(...)
    5.     └─mlr3misc:::dictionary_initialize_item(.key, obj, dots[ii])
    6.       ├─base::do.call(constructor$new, cargs)
    7.       └─R6 (local) `<fn>`()
    8.         └─mlr3tuning (local) initialize(...)
    9.           └─mlr3tuning:::.__TunerRandomSearch__initialize(...)
   10.             └─super$initialize(optimizer = OptimizerRandomSearch$new(), man = "mlr3tuning::mlr_tuners_random_search")
   11.               └─mlr3tuning:::.__TunerFromOptimizer__initialize(...)
   12.                 └─bbotk::assert_optimizer(optimizer)
   13.                   └─checkmate::assert_r6(optimizer, "Optimizer")
   14.                     └─checkmate::checkR6(...)
  
  [ FAIL 1 | WARN 0 | SKIP 26 | PASS 86 ]
  Deleting unused snapshots:
  • BenchmarkResult/bmr-prc.svg
  • BenchmarkResult/bmr-roc.svg
  • Filter/filter-2.svg
  • LearnerClustHierarchical/learner-clust-agnes.svg
  • LearnerClustHierarchical/learner-clust-hclust.svg
  • OptimInstanceSingleCrit/tisc-marginal-02.svg
  • OptimInstanceSingleCrit/tisc-marginal-trafo-01.svg
  • OptimInstanceSingleCrit/tisc-marginal-trafo-02.svg
  • OptimInstanceSingleCrit/tisc-marginal-x-domain-01.svg
  • OptimInstanceSingleCrit/tisc-parallel.svg
  • OptimInstanceSingleCrit/tisc-parameter-01.svg
  • OptimInstanceSingleCrit/tisc-parameter-02.svg
  • OptimInstanceSingleCrit/tisc-parameter-return-list-01.svg
  • OptimInstanceSingleCrit/tisc-parameter-return-list-02.svg
  • OptimInstanceSingleCrit/tisc-parameter-trafo-01.svg
  • OptimInstanceSingleCrit/tisc-parameter-trafo-02.svg
  • OptimInstanceSingleCrit/tisc-parameter-x-domain-01.svg
  • OptimInstanceSingleCrit/tisc-performance.svg
  • OptimInstanceSingleCrit/tisc-points.svg
  • OptimInstanceSingleCrit/tisc-surface-grid-50.svg
  • OptimInstanceSingleCrit/tisc-surface-regr-lm.svg
  • OptimInstanceSingleCrit/tisc-surface.svg
  • PredictionClassif/predictionclassif-prc.svg
  • PredictionClassif/predictionclassif-roc.svg
  • PredictionClassif/predictionclassif-threshold.svg
  • PredictionClust/predictionclust-pca.svg
  • PredictionClust/predictionclust-scatter.svg
  • PredictionClust/predictionclust-sil.svg
  • PredictionRegr/predictionregr-confidence.svg
  • PredictionRegr/predictionregr-histogram.svg
  • PredictionRegr/predictionregr-residual.svg
  • ResampleResult/resampleresult-histogram.svg
  • ResampleResult/resampleresult-prc.svg
  • ResampleResult/resampleresult-roc.svg
  • TaskClassif/taskclassif-duo.svg
  • TaskClassif/taskclassif-pairs.svg
  • TaskRegr/taskregr-pairs.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-parallel.svg
  • TuningInstanceSingleCrit/tisc-parameter-01.svg
  • TuningInstanceSingleCrit/tisc-parameter-02.svg
  • TuningInstanceSingleCrit/tisc-parameter-return-list-01.svg
  • TuningInstanceSingleCrit/tisc-parameter-return-list-02.svg
  • TuningInstanceSingleCrit/tisc-parameter-trafo-01.svg
  • TuningInstanceSingleCrit/tisc-parameter-trafo-02.svg
  • TuningInstanceSingleCrit/tisc-parameter-x-domain-01.svg
  • TuningInstanceSingleCrit/tisc-performance.svg
  • TuningInstanceSingleCrit/tisc-points.svg
  • TuningInstanceSingleCrit/tisc-surface-grid-50.svg
  • TuningInstanceSingleCrit/tisc-surface-regr-lm.svg
  • TuningInstanceSingleCrit/tisc-surface.svg
  • plot_learner_prediction/learner-prediction-1d-se.svg
  • plot_learner_prediction/learner-prediction-binary-prob.svg
  • plot_learner_prediction/learner-prediction-binary-response.svg
  • plot_learner_prediction/learner-prediction-categorical.svg
  • plot_learner_prediction/learner-prediction-prob.svg
  Error: Test failures
  Execution halted