CRAN Package Check Results for Package bnpsd

Last updated on 2025-05-21 04:49:36 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.3.13 3.19 47.52 50.71 ERROR
r-devel-linux-x86_64-debian-gcc 1.3.13 2.08 36.15 38.23 NOTE
r-devel-linux-x86_64-fedora-clang 1.3.13 75.97 OK
r-devel-linux-x86_64-fedora-gcc 1.3.13 86.67 OK
r-devel-windows-x86_64 1.3.13 4.00 81.00 85.00 OK
r-patched-linux-x86_64 1.3.13 3.75 44.25 48.00 OK
r-release-linux-x86_64 1.3.13 2.82 43.70 46.52 OK
r-release-macos-arm64 1.3.13 45.00 OK
r-release-macos-x86_64 1.3.13 67.00 OK
r-release-windows-x86_64 1.3.13 5.00 84.00 89.00 OK
r-oldrel-macos-arm64 1.3.13 34.00 OK
r-oldrel-macos-x86_64 1.3.13 60.00 OK
r-oldrel-windows-x86_64 1.3.13 5.00 83.00 88.00 OK

Check Details

Version: 1.3.13
Check: CRAN incoming feasibility
Result: NOTE Maintainer: ‘Alejandro Ochoa <alejandro.ochoa@duke.edu>’ Package CITATION file contains call(s) to old-style personList() or as.personList(). Please use c() on person objects instead. Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc

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