CRAN Package Check Results for Package bnpsd

Last updated on 2024-05-20 07:51:28 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.3.13 4.13 58.55 62.68 OK
r-devel-linux-x86_64-debian-gcc 1.3.13 2.89 43.46 46.35 OK
r-devel-linux-x86_64-fedora-clang 1.3.13 85.75 OK
r-devel-linux-x86_64-fedora-gcc 1.3.13 96.56 OK
r-devel-windows-x86_64 1.3.13 4.00 71.00 75.00 OK
r-patched-linux-x86_64 1.3.13 5.22 56.09 61.31 OK
r-release-linux-x86_64 1.3.13 3.79 55.15 58.94 ERROR
r-release-macos-arm64 1.3.13 34.00 OK
r-release-windows-x86_64 1.3.13 4.00 72.00 76.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 72.00 77.00 OK

Check Details

Version: 1.3.13
Check: tests
Result: ERROR Running ‘testthat.R’ [9s/10s] 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.0833230873827293) 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-release-linux-x86_64