CRAN Package Check Results for Package mcp

Last updated on 2022-04-24 03:52:30 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.3.2 12.80 404.31 417.11 OK
r-devel-linux-x86_64-debian-gcc 0.3.2 7.80 306.58 314.38 OK
r-devel-linux-x86_64-fedora-clang 0.3.2 475.93 OK
r-devel-linux-x86_64-fedora-gcc 0.3.2 472.02 OK
r-patched-linux-x86_64 0.3.2 8.90 384.91 393.81 OK
r-release-linux-x86_64 0.3.2 6.74 382.35 389.09 OK
r-release-macos-arm64 0.3.2 OK
r-release-macos-x86_64 0.3.2 ERROR
r-release-windows-x86_64 0.3.2 37.00 430.00 467.00 OK
r-oldrel-macos-arm64 0.3.2 OK
r-oldrel-macos-x86_64 0.3.2 ERROR
r-oldrel-windows-ix86+x86_64 0.3.2 24.00 468.00 492.00 OK

Check Details

Version: 0.3.2
Check: tests
Result: ERROR
     Running ‘testthat.R’ [13s/13s]
    Running the tests in ‘tests/testthat.R’ failed.
    Last 13 lines of output:
     y | weights(weights_ok) ~ 1 + ar(1), ~0 + ar(2, 1 + x) ──
     Error in `fit$mcmc_post[[1]]`: subscript out of bounds
     Backtrace:
     ▆
     1. └─mcp:::test_runs(model, ...) at tests/testthat/helper-runs.R:326:6
     2. ├─base::suppressWarnings(loo(fit)) at tests/testthat/helper-runs.R:88:6
     3. │ └─base::withCallingHandlers(...)
     4. ├─loo::loo(fit) at tests/testthat/helper-runs.R:88:6
     5. └─mcp:::loo.mcpfit(fit)
     6. └─mcp::criterion(x, "loo", ...)
     7. └─base::nrow(fit$mcmc_post[[1]])
    
     [ FAIL 147 | WARN 0 | SKIP 6 | PASS 849 ]
     Error: Test failures
     Execution halted
Flavors: r-release-macos-x86_64, r-oldrel-macos-x86_64