R Under development (unstable) (2024-09-15 r87152 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(rjaf) > > test_check("rjaf") [ FAIL 1 | WARN 0 | SKIP 0 | PASS 1 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-rjaf.R:9:3'): rjaf function computes correctly ───────────────── Error: Mat::operator(): index out of bounds Backtrace: ▆ 1. └─rjaf::rjaf(...) at test-rjaf.R:9:3 2. └─base::lapply(...) 3. └─rjaf (local) FUN(X[[i]], ...) 4. ├─stats::kmeans(...) 5. │ └─base::as.matrix(x) 6. ├─base::t(...) 7. ├─base::do.call(...) 8. └─base::lapply(...) 9. └─rjaf (local) FUN(X[[i]], ...) 10. └─rjaf:::rjaf_cpp(...) [ FAIL 1 | WARN 0 | SKIP 0 | PASS 1 ] Error: Test failures Execution halted