Package: recforest Check: tests New result: ERROR Running ‘testthat.R’ [67s/67s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview > # * https://testthat.r-lib.org/articles/special-files.html > > library(testthat) > library(recforest) > > test_check("recforest") since n_bootstrap is not provided, it is set to 2/3 of the sample size: 269 Using sequential processing for training training tree 1/2 since n_bootstrap is not provided, it is set to 2/3 of the sample size: 269 [ FAIL 1 | WARN 0 | SKIP 1 | PASS 57 ] ══ Skipped tests (1) ═══════════════════════════════════════════════════════════ • On CRAN (1): 'test-golden_master.R:3:5' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-train_forest.R:259:5'): train_forest and predict_forest works with method GL ── Error in `mets::recurrentMarginal(recurrent = xr, death = dr)`: argument "formula" is missing, with no default Backtrace: ▆ 1. ├─withr::with_seed(...) at test-train_forest.R:251:3 2. │ └─withr::with_preserve_seed(...) 3. ├─base::suppressWarnings(...) at test-train_forest.R:259:5 4. │ └─base::withCallingHandlers(...) 5. └─recforest::train_forest(...) 6. ├─base::do.call(what = loop_fun, args = args) 7. └─base (local) ``(X = ``, FUN = ``) 8. └─recforest (local) FUN(X[[i]], ...) 9. └─recforest:::train_tree_and_calculate_metrics(...) 10. └─recforest:::train_tree(...) 11. └─recforest:::create_new_node(...) 12. └─recforest:::create_decision_node(...) 13. └─recforest (local) fallback_node() 14. └─recforest:::create_terminal_node(...) 15. └─recforest (local) node_fun(...) 16. └─base::tryCatch(...) 17. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 18. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 19. └─value[[3L]](cond) [ FAIL 1 | WARN 0 | SKIP 1 | PASS 57 ] Error: Test failures Execution halted