CRAN Package Check Results for Package sims

Last updated on 2025-04-17 05:49:56 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.0.4 3.95 52.32 56.27 OK
r-devel-linux-x86_64-debian-gcc 0.0.4 2.82 39.06 41.88 OK
r-devel-linux-x86_64-fedora-clang 0.0.4 88.21 OK
r-devel-linux-x86_64-fedora-gcc 0.0.4 95.65 OK
r-devel-windows-x86_64 0.0.4 6.00 83.00 89.00 OK
r-patched-linux-x86_64 0.0.4 3.76 51.01 54.77 ERROR
r-release-linux-x86_64 0.0.4 3.31 50.48 53.79 OK
r-release-macos-arm64 0.0.4 69.00 OK
r-release-macos-x86_64 0.0.4 74.00 OK
r-release-windows-x86_64 0.0.4 6.00 83.00 89.00 OK
r-oldrel-macos-arm64 0.0.4 43.00 OK
r-oldrel-macos-x86_64 0.0.4 83.00 OK
r-oldrel-windows-x86_64 0.0.4 7.00 96.00 103.00 OK

Check Details

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