CRAN Package Check Results for Package bnpsd

Last updated on 2024-12-10 21:48:28 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.3.13 3.24 45.26 48.50 OK
r-devel-linux-x86_64-debian-gcc 1.3.13 2.04 33.48 35.52 OK
r-devel-linux-x86_64-fedora-clang 1.3.13 80.00 OK
r-devel-linux-x86_64-fedora-gcc 1.3.13 88.25 OK
r-devel-windows-x86_64 1.3.13 4.00 90.00 94.00 ERROR
r-patched-linux-x86_64 1.3.13 2.99 42.67 45.66 OK
r-release-linux-x86_64 1.3.13 2.09 42.28 44.37 OK
r-release-macos-arm64 1.3.13 34.00 OK
r-release-macos-x86_64 1.3.13 60.00 OK
r-release-windows-x86_64 1.3.13 5.00 70.00 75.00 OK
r-oldrel-macos-arm64 1.3.13 31.00 OK
r-oldrel-macos-x86_64 1.3.13 45.00 OK
r-oldrel-windows-x86_64 1.3.13 5.00 73.00 78.00 OK

Check Details

Version: 1.3.13
Check: tests
Result: ERROR Running 'testthat.R' [7s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(bnpsd) > > test_check('bnpsd') [ FAIL 1 | WARN 0 | SKIP 0 | PASS 798 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test_bnpsd.R:2633:9'): undiff_af works ────────────────────────────── Error in `undiff_af(p = p, kinship_mean = kinship_mean, distr = distr, alpha = alpha)`: Output variance (0.0811448197050524) is smaller than mixing variance (0.0833333333333333)! This violates model assumptions and can result in imaginary weights. This can be fixed by either reducing `kinship_mean` (to increase output variance) or by picking a mixing distribution with a lower variance than the desired output variance. Backtrace: ▆ 1. └─bnpsd (local) test_undiff_af_generic(p2, F2, distr = "uniform") at test_bnpsd.R:2674:5 2. ├─testthat::expect_silent(...) at test_bnpsd.R:2633:9 3. │ └─testthat:::quasi_capture(enquo(object), NULL, evaluate_promise) 4. │ ├─testthat (local) .capture(...) 5. │ │ ├─withr::with_output_sink(...) 6. │ │ │ └─base::force(code) 7. │ │ ├─base::withCallingHandlers(...) 8. │ │ └─base::withVisible(code) 9. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 10. └─bnpsd::undiff_af(...) [ FAIL 1 | WARN 0 | SKIP 0 | PASS 798 ] Error: Test failures Execution halted Flavor: r-devel-windows-x86_64