CRAN Package Check Results for Maintainer ‘Xinyi Zhang <zhang.xinyi at nyu.edu>’

Last updated on 2025-02-16 08:51:44 CET.

Package ERROR OK
rjaf 1 14

Package rjaf

Current CRAN status: ERROR: 1, OK: 14

Version: 0.1.1
Check: tests
Result: ERROR Running ‘testthat.R’ [4s/5s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(rjaf) > > test_check("rjaf") Error: sample_fraction too small, no observations sampled. Ranger will EXIT now. [ FAIL 1 | WARN 0 | SKIP 0 | PASS 1 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-rjaf.R:7:3'): rjaf function computes correctly ───────────────── Error in `predict.ranger.forest(forest, data, predict.all, num.trees, type, se.method, seed, num.threads, verbose, object$inbag.counts, ...)`: User interrupt or internal error. Backtrace: ▆ 1. ├─rjaf::rjaf(...) at test-rjaf.R:7:3 2. │ └─rjaf::residualize(data.trainest, y, vars, nfold) 3. │ ├─... %>% dplyr::select(-fold) 4. │ └─base::lapply(...) 5. │ └─rjaf (local) FUN(X[[i]], ...) 6. │ ├─stats::predict(...) 7. │ └─ranger:::predict.ranger(...) 8. │ ├─stats::predict(...) 9. │ └─ranger:::predict.ranger.forest(...) 10. ├─dplyr::select(., -fold) 11. └─dplyr::bind_rows(.) 12. └─rlang::list2(...) [ FAIL 1 | WARN 0 | SKIP 0 | PASS 1 ] Error: Test failures Execution halted Flavor: r-release-linux-x86_64

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.