Last updated on 2024-12-23 12:49:44 CET.
Package | ERROR | OK |
---|---|---|
cocoon | 1 | 12 |
excluder | 13 | |
flashr | 13 |
Current CRAN status: ERROR: 1, OK: 12
Version: 0.1.0
Check: examples
Result: ERROR
Running examples in ‘cocoon-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: format_bf
> ### Title: Format Bayes factors
> ### Aliases: format_bf
>
> ### ** Examples
>
> # Format BFBayesfactor objects from {BayesFactor} package
> format_bf(BayesFactor::lmBF(mpg ~ am, data = mtcars))
Error in loadNamespace(x) : there is no package called ‘BayesFactor’
Calls: format_bf ... loadNamespace -> withRestarts -> withOneRestart -> doWithOneRestart
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 0.1.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [1s/1s]
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(cocoon)
>
> test_check("cocoon")
Error in `FUN()`:
! In path: "/home/hornik/tmp/R.check/r-devel-gcc/Work/PKGS/cocoon.Rcheck/tests/testthat/helper.R"
Caused by error in `loadNamespace()`:
! there is no package called 'BayesFactor'
Backtrace:
▆
1. ├─testthat::test_check("cocoon")
2. │ └─testthat::test_dir(...)
3. │ └─testthat:::test_files(...)
4. │ └─testthat:::test_files_serial(...)
5. │ └─testthat:::test_files_setup_state(...)
6. │ └─testthat::source_test_helpers(".", env)
7. │ └─testthat::source_dir(path, "^helper.*\\.[rR]$", env = env, wrap = FALSE)
8. │ └─base::lapply(...)
9. │ └─testthat (local) FUN(X[[i]], ...)
10. │ └─testthat::source_file(path, env = env, chdir = chdir, wrap = wrap)
11. │ ├─base::withCallingHandlers(...)
12. │ └─base::eval(exprs, env)
13. │ └─base::eval(exprs, env)
14. ├─base::loadNamespace(x) at tests/testthat/helper.R:14:1
15. │ ├─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
16. │ │ └─base (local) withOneRestart(expr, restarts[[1L]])
17. │ │ └─base (local) doWithOneRestart(return(expr), restart)
18. │ └─base::stop(cond)
19. └─testthat (local) `<fn>`(`<pckgNtFE>`)
20. └─rlang::abort(...)
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 0.1.0
Check: re-building of vignette outputs
Result: ERROR
Error(s) in re-building vignettes:
...
--- re-building ‘cocoon.Rmd’ using rmarkdown
Quitting from lines 114-117 [unnamed-chunk-4] (cocoon.Rmd)
Error: processing vignette 'cocoon.Rmd' failed with diagnostics:
there is no package called 'BayesFactor'
--- failed re-building ‘cocoon.Rmd’
SUMMARY: processing the following file failed:
‘cocoon.Rmd’
Error: Vignette re-building failed.
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
Current CRAN status: OK: 13
Current CRAN status: OK: 13