Running ‘testthat.R’ [192s/234s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(mikropml)
  > 
  > test_check("mikropml")
  ── Skip (test-feature_importance.R:14:3): find_permuted_perf_metric works ──────
  Reason: On CRAN
  
  ── Skip (test-feature_importance.R:98:3): feature importances are correct when t
  Reason: On CRAN
  
  ── Skip (test-run_ml.R:60:3): run_ml works for linear regression ───────────────
  Reason: On CRAN
  
  ── Skip (test-run_ml.R:74:3): run_ml works for random forest with grouping & fea
  Reason: On CRAN
  
  ── Skip (test-run_ml.R:90:3): run_ml works for svmRadial ───────────────────────
  Reason: On CRAN
  
  ── FAILURE (test-run_ml.R:105:3): run_ml works for xgbTree ─────────────────────
  get_all_but_model(result1) not equal to get_all_but_model(result2).
  Component "performance": Component "cv_metric_AUC": Mean relative difference: 0.016359
  Component "performance": Component "logLoss": Mean relative difference: 0.06947991
  Component "performance": Component "AUC": Mean relative difference: 0.03861004
  Component "performance": Component "prAUC": Mean relative difference: 0.06491394
  Component "performance": Component "Accuracy": Mean relative difference: 0.03703704
  Component "performance": Component "Kappa": Mean relative difference: 0.1349191
  Component "performance": Component "F1": Mean relative difference: 0.02564103
  Component "performance": Component "Specificity": Mean relative difference: 0.07142857
  Component "performance": Component "Pos_Pred_Value": Mean relative difference: 0.05263158
  ...
  
  ── Skip (test-run_ml.R:120:3): run_ml works for rpart2 ─────────────────────────
  Reason: On CRAN
  
  ── Skipped tests  ──────────────────────────────────────────────────────────────
  ● On CRAN (6)
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  FAILURE (test-run_ml.R:105:3): run_ml works for xgbTree
  
  [ FAIL 1 | WARN 0 | SKIP 6 | PASS 198 ]
  Error: Test failures
  Execution halted