Running 'testthat.R' [65s]
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 27 | PASS 86 ]
  
  ══ Skipped tests (27) ══════════════════════════════════════════════════════════
  • On CRAN (27): '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_LearnerRegr.R:8:3', 'test_LearnerRegr.R:18:3',
    'test_LearnerRegr.R:28:3', 'test_LearnerClustHierarchical.R:7:3',
    'test_LearnerRegrCVGlmnet.R:13:3', 'test_LearnerRegrGlmnet.R:12: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_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'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_TuningInstanceSingleCrit.R:28:3'): fortify.TuningInstanceSingleCrit ──
  Error in `fortify(instance)`: `data` must be a <data.frame>, or an object coercible by `fortify()`, or a valid <data.frame>-like object coercible by `as.data.frame()`.
  Caused by error in `.prevalidate_data_frame_like_object()`:
  ! `dim(data)` must return an <integer> of length 2.
  
  [ FAIL 1 | WARN 0 | SKIP 27 | 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