Running ‘testthat.R’ [61s/35s]
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 3 | WARN 0 | SKIP 27 | PASS 80 ]
  
  ══ Skipped tests (27) ══════════════════════════════════════════════════════════
  • On CRAN (22): 'test_EnsembleFSResult.R:24:3', 'test_Filter.R:10:3',
    'test_BenchmarkResult.R:20:3', 'test_LearnerClassif.R:8:3',
    'test_LearnerClassif.R:18:3', 'test_LearnerClustHierarchical.R:7:3',
    'test_LearnerClassifRpart.R:10:3', 'test_LearnerRegr.R:8:3',
    'test_LearnerRegr.R:18:3', 'test_LearnerRegr.R:28:3',
    'test_LearnerRegrRpart.R:10:3', 'test_PredictionClassif.R:11:3',
    'test_OptimInstanceSingleCrit.R:47:7', 'test_PredictionClust.R:8:3',
    'test_PredictionRegr.R:10:3', 'test_TaskClassif.R:8:3',
    'test_TaskRegr.R:8:3', 'test_ResampleResult.R:21:3',
    'test_plot_learner_prediction.R:10:3', 'test_plot_learner_prediction.R:43:3',
    'test_plot_learner_prediction.R:53:3', 'test_TuningInstanceSingleCrit.R:33:3'
  • glmnet cannot be loaded (4): 'test_LearnerClassifCVGlmnet.R:4:1',
    'test_LearnerClasssifGlmnet.R:4:1', 'test_LearnerRegrCVGlmnet.R:4:1',
    'test_LearnerRegrGlmnet.R:4:1'
  • precrec cannot be loaded (1): 'test_PredictionClassif.R:27:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_BenchmarkResult.R:46:3'): holdout roc plot (#54) ───────────────
  <packageNotFoundError/error/condition>
  Error: The following packages could not be loaded: precrec
  Backtrace:
      ▆
   1. ├─ggplot2::autoplot(bmr, type = "roc") at test_BenchmarkResult.R:46:3
   2. └─mlr3viz:::autoplot.BenchmarkResult(bmr, type = "roc")
   3.   └─mlr3viz:::plot_precrec(object, curvetype = "ROC")
   4.     └─mlr3misc::require_namespaces("precrec")
  ── Error ('test_TaskClust.R:8:3'): autoplot.TaskClust ──────────────────────────
  <packageNotFoundError/error/condition>
  Error: The following packages could not be loaded: GGally
  Backtrace:
      ▆
   1. ├─ggplot2::autoplot(task, type = "pairs") at test_TaskClust.R:8:3
   2. └─mlr3viz:::autoplot.TaskClust(task, type = "pairs")
   3.   └─mlr3misc::require_namespaces("GGally")
  ── Error ('test_ResampleResult.R:87:3'): roc is not inverted ───────────────────
  <packageNotFoundError/error/condition>
  Error: The following packages could not be loaded: precrec
  Backtrace:
      ▆
   1. ├─ggplot2::autoplot(rr, type = "roc") at test_ResampleResult.R:87:3
   2. └─mlr3viz:::autoplot.ResampleResult(rr, type = "roc")
   3.   └─mlr3viz:::plot_precrec(object, curvetype = "ROC", ...)
   4.     └─mlr3misc::require_namespaces("precrec")
  
  [ FAIL 3 | WARN 0 | SKIP 27 | PASS 80 ]
  Deleting unused snapshots:
  • BenchmarkResult/bmr-holdout-roc.svg
  • BenchmarkResult/bmr-prc.svg
  • BenchmarkResult/bmr-roc.svg
  • EnsembleFSResult/pareto-estimated.svg
  • EnsembleFSResult/pareto-n-features.svg
  • EnsembleFSResult/pareto-performance.svg
  • EnsembleFSResult/pareto-stability.svg
  • Filter/filter-2.svg
  • LearnerClassifCVGlmnet/learner-classif-cv-glmnet.svg
  • LearnerClasssifGlmnet/learner-classif-glmnet.svg
  • LearnerClustHierarchical/learner-clust-agnes.svg
  • LearnerClustHierarchical/learner-clust-hclust.svg
  • LearnerRegrCVGlmnet/learner-regr-cv-glmnet.svg
  • LearnerRegrGlmnet/learner-regr-glmnet.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-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
  • 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