Running ‘test_all.R’ [61s/80s]
Running the tests in ‘tests/test_all.R’ failed.
Complete output:
  > testthat::test_check("D2MCS")
  Loading required package: D2MCS
  [ FAIL 5 | WARN 6 | SKIP 15 | PASS 755 ]
  
  ══ Skipped tests (15) ══════════════════════════════════════════════════════════
  • On CRAN (2): 'test_D2MCS.R:129:3', 'test_D2MCS.R:213:3'
  • {ranger} is not installed (13): 'test_D2MCS.R:411:3',
    'test_prediction.ClusterPredictions.R:17:3',
    'test_prediction.ClusterPredictions.R:46:3',
    'test_prediction.CombinedVoting.R:150:3', 'test_prediction.Prediction.R:2:3',
    'test_prediction.Prediction.R:29:3', 'test_prediction.Prediction.R:50:3',
    'test_prediction.Prediction.R:75:3', 'test_prediction.Prediction.R:96:3',
    'test_prediction.Prediction.R:128:3', 'test_prediction.Prediction.R:166:3',
    'test_prediction.Prediction.R:179:3', 'test_prediction.SingleVoting.R:27:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test_clustering.plot.BinaryPlot.R:10:3'): BinaryPlot: plot function works ──
  c("gg", "ggplot") not equal to class(plot$plot(summary)).
  Lengths differ: 2 is not 5
  ── Failure ('test_clustering.plot.GenericPlot.R:9:3'): GenericPlot: plot function works ──
  c("gg", "ggplot") not equal to class(plot$plot(summary)).
  Lengths differ: 2 is not 5
  ── Failure ('test_clustering.strategies.SimpleStrategy.R:111:3'): SimpleStrategy works ──
  c("gg", "ggplot") not equal to class(strategy$plot(dir.path = NULL, file.name = NULL)).
  Lengths differ: 2 is not 5
  ── Failure ('test_clustering.strategies.TypeBasedStrategy.R:226:3'): TypeBasedStrategy works ──
  c("gg", "ggplot") not equal to class(strategyNoReal$plot()).
  Lengths differ: 2 is not 5
  ── Failure ('test_clustering.strategies.TypeBasedStrategy.R:234:3'): TypeBasedStrategy works ──
  c("gg", "ggplot") not equal to class(strategyNoBinary$plot()).
  Lengths differ: 2 is not 5
  
  [ FAIL 5 | WARN 6 | SKIP 15 | PASS 755 ]
  Error: Test failures
  Execution halted