CRAN Package Check Results for Maintainer ‘Jonas Kristoffer Lindeløv <jonas at lindeloev.dk>’

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

Package ERROR OK
job 12
mcp 2 10

Package job

Current CRAN status: OK: 12

Package mcp

Current CRAN status: ERROR: 2, OK: 10

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