Last updated on 2024-12-22 10:50:16 CET.
Package | ERROR | OK |
---|---|---|
GDILM.SEIRS | 1 | 12 |
Current CRAN status: ERROR: 1, OK: 12
Version: 0.0.2
Check: tests
Result: ERROR
Running ‘testthat.R’ [106s/121s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> # This file is part of the standard setup for testthat.
> # It is recommended that you do not modify it.
> #
> # Where should you do additional test configuration?
> # Learn more about the roles of various files in:
> # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
> # * https://testthat.r-lib.org/articles/special-files.html
>
> library(testthat)
> library(GDILM.SEIRS)
>
> test_check("GDILM.SEIRS")
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 1 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-GDILM_SEIRS_Sim_Par_Est.R:2:3'): An example for a simulation study ──
Error in `if (det(EndY5) < epsilon) {
EndY5 <- EndY5 + diag(epsilon, nrow(EndY5))
}`: missing value where TRUE/FALSE needed
Backtrace:
▆
1. └─GDILM.SEIRS::GDILM_SEIRS_Sim_Par_Est(...) at test-GDILM_SEIRS_Sim_Par_Est.R:2:3
2. └─GDILM.SEIRS (local) estfun(...)
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 1 ]
Error: Test failures
Execution halted
Flavor: r-patched-linux-x86_64