CRAN Package Check Results for Package sims

Last updated on 2025-04-18 08:50:24 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.0.4 3.45 52.58 56.03 OK
r-devel-linux-x86_64-debian-gcc 0.0.4 2.94 38.62 41.56 ERROR
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 87.00 93.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.44 51.54 54.98 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’ [9s/18s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(sims) > > test_check("sims") [ FAIL 1 | WARN 81 | SKIP 3 | PASS 214 ] ══ 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:270:3'): nsims can take numeric ───────────────────── Error in `vapply(after, FUN = as.integer, FUN.VALUE = NA_integer_)`: values must be length 1, but FUN(X[[9]]) result is length 0 Backtrace: ▆ 1. ├─testthat::expect_equal(sims_simulate("a ~ dunif(0,1)"), nlist::nlists(nlist(a = 0.342673102637473))) at test-simulate.R:270:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─sims::sims_simulate("a ~ dunif(0,1)") 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 81 | SKIP 3 | PASS 214 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

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