CRAN Package Check Results for Maintainer ‘Audrey Beliveau <audrey.beliveau at uwaterloo.ca>’

Last updated on 2025-04-19 06:49:49 CEST.

Package ERROR OK
sims 1 12

Package sims

Current CRAN status: ERROR: 1, OK: 12

Version: 0.0.4
Check: tests
Result: ERROR Running ‘testthat.R’ [13s/28s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(sims) > > test_check("sims") [ FAIL 1 | WARN 80 | SKIP 3 | PASS 213 ] ══ Skipped tests (3) ═══════════════════════════════════════════════════════════ • only test getwd at console (1): 'test-simulate.R:1187:3' • only visually test add progress bar at console (1): 'test-add.R:380:3' • only visually test sims progress bar at console (1): 'test-simulate.R:1180:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-simulate.R:938:3'): strips comments before ───────────────────── Error in `vapply(after, FUN = as.integer, FUN.VALUE = NA_integer_)`: values must be length 1, but FUN(X[[28]]) result is length 0 Backtrace: ▆ 1. ├─testthat::expect_equal(...) at test-simulate.R:938:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─sims::sims_simulate(...) 5. └─sims:::generate_datasets(...) 6. └─future.apply::future_lapply(...) 7. └─future.apply:::future_xapply(...) 8. ├─future::value(fs) 9. └─future:::value.list(fs) [ FAIL 1 | WARN 80 | SKIP 3 | PASS 213 ] Error: Test failures Execution halted Flavor: r-patched-linux-x86_64