Last updated on 2024-05-20 07:52:21 CEST.
Package | ERROR | NOTE | OK |
---|---|---|---|
bnpsd | 1 | 11 | |
genio | 1 | 11 | |
popkin | 12 | ||
simfam | 12 | ||
simtrait | 12 |
Current CRAN status: ERROR: 1, OK: 11
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
Current CRAN status: NOTE: 1, OK: 11
Version: 1.1.2
Check: package dependencies
Result: NOTE
Package suggested but not available for checking: ‘snpStats’
Flavor: r-oldrel-macos-arm64
Current CRAN status: OK: 12
Current CRAN status: OK: 12
Current CRAN status: OK: 12