R Under development (unstable) (2024-12-17 r87446 ucrt) -- "Unsuffered Consequences" Copyright (C) 2024 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > library(testthat) > library(SLOS) > > test_check("SLOS") [ FAIL 2 | WARN 0 | SKIP 0 | PASS 2 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-Evaluation.R:5:3'): SLOS generates expected outputs ──────────── Error in `UseMethod("predict")`: no applicable method for 'predict' applied to an object of class "caretStack" Backtrace: ▆ 1. ├─base::suppressWarnings(SLOS::SLOS(mock_data)) at test-Evaluation.R:5:3 2. │ └─base::withCallingHandlers(...) 3. └─SLOS::SLOS(mock_data) 4. └─SLOS::predict_and_evaluate(data) 5. └─stats::predict(small_model, newdata = data) ── Error ('test-Prediction.R:3:3'): predict_and_evaluate works as expected ───── Error in `UseMethod("predict")`: no applicable method for 'predict' applied to an object of class "caretStack" Backtrace: ▆ 1. └─SLOS::predict_and_evaluate(sampled_data) at test-Prediction.R:3:3 2. └─stats::predict(small_model, newdata = data) [ FAIL 2 | WARN 0 | SKIP 0 | PASS 2 ] Error: Test failures Execution halted