Last updated on 2024-05-26 01:52:53 CEST.
Package | ERROR | WARN | NOTE | OK |
---|---|---|---|---|
bayesMeanScale | 2 | 2 | 2 | 7 |
Current CRAN status: ERROR: 2, WARN: 2, NOTE: 2, OK: 7
Version: 0.1.3
Check: whether package can be installed
Result: WARN
Found the following significant warnings:
Warning: namespace ‘rstanarm’ is not available and has been replaced
Warning: namespace ‘rstan’ is not available and has been replaced
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Version: 0.1.2
Check: whether package can be installed
Result: WARN
Found the following significant warnings:
Warning: namespace ‘rstanarm’ is not available and has been replaced
Warning: namespace ‘rstan’ is not available and has been replaced
Flavors: r-patched-linux-x86_64, r-release-linux-x86_64
Version: 0.1.2
Check: tests
Result: ERROR
Running ‘testthat.R’ [14s/16s]
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(bayesMeanScale)
>
> test_check("bayesMeanScale")
Loading required package: rstan
Loading required package: StanHeaders
rstan version 2.32.6 (Stan version 2.32.2)
For execution on a local, multicore CPU with excess RAM we recommend calling
options(mc.cores = parallel::detectCores()).
To avoid recompilation of unchanged Stan programs, we recommend calling
rstan_options(auto_write = TRUE)
For within-chain threading using `reduce_sum()` or `map_rect()` Stan functions,
change `threads_per_chain` option:
rstan_options(threads_per_chain = 1)
[ FAIL 1 | WARN 0 | SKIP 16 | PASS 7 ]
══ Skipped tests (16) ══════════════════════════════════════════════════════════
• On CRAN (16): 'test-bayes-count-marg-effects.R:5:3',
'test-bayes-count-marg-effects.R:25:3', 'test-bayes-count-preds.R:5:3',
'test-bayes-count-preds.R:25:3', 'test-bayes-preds.R:5:3',
'test-bayes-preds.R:19:3', 'test-count-marg-effect-error-check.R:5:3',
'test-count-preds-error-check.R:5:3', 'test-marg-compare-error-check.R:5:3',
'test-marg-compare.R:5:3', 'test-marg-effects-error-check.R:5:3',
'test-marg-effects.R:5:3', 'test-marg-effects.R:19:3',
'test-marg-effects.R:33:3', 'test-new-value.R:5:3',
'test-preds-error-check.R:5:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-bayes-count-preds.R:45:1'): (code run outside of `test_that()`) ──
Error: All variables in all chains must have the same length.
Backtrace:
▆
1. ├─... %>% subset(., select = c(mean)) at test-bayes-count-preds.R:45:1
2. ├─base::subset(., select = c(mean))
3. └─bayesMeanScale::bayesCountPredsF(...)
4. ├─base::sample(...)
5. ├─base::nrow(posterior::as_draws_df(model))
6. ├─posterior::as_draws_df(model)
7. └─posterior:::as_draws_df.default(model)
8. ├─posterior::as_draws(x)
9. └─posterior:::as_draws.default(x)
10. └─posterior (local) fun(x, ...)
11. └─posterior:::stop_no_call("All variables in all chains must have the same length.")
[ FAIL 1 | WARN 0 | SKIP 16 | PASS 7 ]
Error: Test failures
Execution halted
Flavor: r-patched-linux-x86_64
Version: 0.1.2
Check: tests
Result: ERROR
Running ‘testthat.R’ [15s/18s]
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(bayesMeanScale)
>
> test_check("bayesMeanScale")
Loading required package: rstan
Loading required package: StanHeaders
rstan version 2.32.6 (Stan version 2.32.2)
For execution on a local, multicore CPU with excess RAM we recommend calling
options(mc.cores = parallel::detectCores()).
To avoid recompilation of unchanged Stan programs, we recommend calling
rstan_options(auto_write = TRUE)
For within-chain threading using `reduce_sum()` or `map_rect()` Stan functions,
change `threads_per_chain` option:
rstan_options(threads_per_chain = 1)
[ FAIL 1 | WARN 0 | SKIP 16 | PASS 7 ]
══ Skipped tests (16) ══════════════════════════════════════════════════════════
• On CRAN (16): 'test-bayes-count-marg-effects.R:5:3',
'test-bayes-count-marg-effects.R:25:3', 'test-bayes-count-preds.R:5:3',
'test-bayes-count-preds.R:25:3', 'test-bayes-preds.R:5:3',
'test-bayes-preds.R:19:3', 'test-count-marg-effect-error-check.R:5:3',
'test-count-preds-error-check.R:5:3', 'test-marg-compare-error-check.R:5:3',
'test-marg-compare.R:5:3', 'test-marg-effects-error-check.R:5:3',
'test-marg-effects.R:5:3', 'test-marg-effects.R:19:3',
'test-marg-effects.R:33:3', 'test-new-value.R:5:3',
'test-preds-error-check.R:5:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-bayes-count-preds.R:45:1'): (code run outside of `test_that()`) ──
Error: All variables in all chains must have the same length.
Backtrace:
▆
1. ├─... %>% subset(., select = c(mean)) at test-bayes-count-preds.R:45:1
2. ├─base::subset(., select = c(mean))
3. └─bayesMeanScale::bayesCountPredsF(...)
4. ├─base::sample(...)
5. ├─base::nrow(posterior::as_draws_df(model))
6. ├─posterior::as_draws_df(model)
7. └─posterior:::as_draws_df.default(model)
8. ├─posterior::as_draws(x)
9. └─posterior:::as_draws.default(x)
10. └─posterior (local) fun(x, ...)
11. └─posterior:::stop_no_call("All variables in all chains must have the same length.")
[ FAIL 1 | WARN 0 | SKIP 16 | PASS 7 ]
Error: Test failures
Execution halted
Flavor: r-release-linux-x86_64
Version: 0.1.3
Check: for unstated dependencies in vignettes
Result: NOTE
'library' or 'require' call not declared from: ‘x’
Flavors: r-oldrel-macos-arm64, r-oldrel-macos-x86_64