CRAN Package Check Results for Package cocoon

Last updated on 2026-10-18 04:50:43 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.3.1 3.02 72.87 75.89 OK
r-devel-linux-x86_64-debian-gcc 0.3.1 2.39 54.78 57.17 OK
r-devel-linux-x86_64-fedora-clang 0.3.1 55.95 OK
r-devel-linux-x86_64-fedora-gcc 0.3.1 58.67 OK
r-devel-windows-x86_64 0.3.1 7.00 97.00 104.00 OK
r-patched-linux-x86_64 0.3.1 3.93 64.98 68.91 OK
r-release-linux-x86_64 0.3.1 3.51 65.56 69.07 OK
r-release-macos-arm64 0.3.1 1.00 24.00 25.00 OK
r-release-macos-x86_64 0.3.1 3.00 129.00 132.00 OK
r-release-windows-x86_64 0.3.1 5.00 91.00 96.00 OK
r-oldrel-macos-arm64 0.3.1 2.00 34.00 36.00 ERROR
r-oldrel-macos-x86_64 0.3.1 3.00 65.00 68.00 ERROR
r-oldrel-windows-x86_64 0.3.1 8.00 108.00 116.00 ERROR

Check Details

Version: 0.3.1
Check: tests
Result: ERROR Running ‘testthat.R’ [3s/3s] 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") Saving _problems/test-format_stats_htest-270.R Saving _problems/test-format_stats_htest-274.R Saving _problems/test-format_stats_htest-278.R [ FAIL 3 | WARN 42 | SKIP 1 | PASS 303 ] ══ Skipped tests (1) ═══════════════════════════════════════════════════════════ • On CRAN (1): 'test-format_statvalues.R:94:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-format_stats_htest.R:267:3'): formatting t-tests works properly ── Expected `format_stats(test_ttest3)` to equal "_V_ = 32.0, _p_ = .664". Differences: `actual`: "_V_ = 27.0, _p_ = .634" `expected`: "_V_ = 32.0, _p_ = .664" Backtrace: ▆ 1. ├─base::suppressMessages(...) at test-format_stats_htest.R:267:3 2. │ └─base::withCallingHandlers(...) 3. └─testthat::expect_equal(format_stats(test_ttest3), "_V_ = 32.0, _p_ = .664") ── Failure ('test-format_stats_htest.R:271:3'): formatting t-tests works properly ── Expected `format_stats(test_ttest4)` to equal "_W_ = 40.5, _p_ = .510". Differences: `actual`: "_W_ = 40.5, _p_ = .495" `expected`: "_W_ = 40.5, _p_ = .510" Backtrace: ▆ 1. ├─base::suppressMessages(...) at test-format_stats_htest.R:271:3 2. │ └─base::withCallingHandlers(...) 3. └─testthat::expect_equal(format_stats(test_ttest4), "_W_ = 40.5, _p_ = .510") ── Failure ('test-format_stats_htest.R:275:3'): formatting t-tests works properly ── Expected `format_stats(test_ttest5)` to equal "_W_ = 40.5, _p_ = .330". Differences: `actual`: "_W_ = 40.5, _p_ = .323" `expected`: "_W_ = 40.5, _p_ = .330" Backtrace: ▆ 1. ├─base::suppressMessages(...) at test-format_stats_htest.R:275:3 2. │ └─base::withCallingHandlers(...) 3. └─testthat::expect_equal(format_stats(test_ttest5), "_W_ = 40.5, _p_ = .330") [ FAIL 3 | WARN 42 | SKIP 1 | PASS 303 ] Error: ! Test failures. Execution halted Flavor: r-oldrel-macos-arm64

Version: 0.3.1
Check: examples
Result: ERROR Running examples in ‘cocoon-Ex.R’ failed The error most likely occurred in: > ### Name: format_stats > ### Title: Format statistical results > ### Aliases: format_stats > > ### ** Examples > > # Format cor.test() object > format_stats(cor.test(mtcars$mpg, mtcars$cyl)) [1] "_r_ = -.85, 95% CI [-0.93, -0.72], _p_ < .001" > > # Format correlation::correlation() object > format_stats(correlation::correlation(data = mtcars, select = "mpg", select2 = "cyl")) Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) : there is no package called ‘datawizard’ Calls: format_stats ... loadNamespace -> withRestarts -> withOneRestart -> doWithOneRestart Execution halted Flavor: r-oldrel-macos-x86_64

Version: 0.3.1
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 `source_dir()`: ! Failed to evaluate './helper.R'. Caused by error in `loadNamespace()`: ! there is no package called 'datawizard' 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(...) 11. │ ├─base::withCallingHandlers(...) 12. │ └─base::eval(exprs, env) 13. │ └─base::eval(exprs, env) 14. ├─base::loadNamespace(x) at ./helper.R:11:1 15. │ ├─base::namespaceImportFrom(...) 16. │ │ └─base::asNamespace(ns) 17. │ └─base::loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) 18. │ ├─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 19. │ │ └─base (local) withOneRestart(expr, restarts[[1L]]) 20. │ │ └─base (local) doWithOneRestart(return(expr), restart) 21. │ └─base::stop(cond) 22. └─testthat (local) `<fn>`(`<pckgNtFE>`) 23. └─cli::cli_abort(...) 24. └─rlang::abort(...) Execution halted Flavor: r-oldrel-macos-x86_64

Version: 0.3.1
Check: tests
Result: ERROR Running 'testthat.R' [14s] 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") Saving _problems/test-format_stats_htest-270.R Saving _problems/test-format_stats_htest-274.R Saving _problems/test-format_stats_htest-278.R [ FAIL 3 | WARN 42 | SKIP 1 | PASS 303 ] ══ Skipped tests (1) ═══════════════════════════════════════════════════════════ • On CRAN (1): 'test-format_statvalues.R:94:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-format_stats_htest.R:267:3'): formatting t-tests works properly ── Expected `format_stats(test_ttest3)` to equal "_V_ = 32.0, _p_ = .664". Differences: `actual`: "_V_ = 27.0, _p_ = .634" `expected`: "_V_ = 32.0, _p_ = .664" Backtrace: ▆ 1. ├─base::suppressMessages(...) at test-format_stats_htest.R:267:3 2. │ └─base::withCallingHandlers(...) 3. └─testthat::expect_equal(format_stats(test_ttest3), "_V_ = 32.0, _p_ = .664") ── Failure ('test-format_stats_htest.R:271:3'): formatting t-tests works properly ── Expected `format_stats(test_ttest4)` to equal "_W_ = 40.5, _p_ = .510". Differences: `actual`: "_W_ = 40.5, _p_ = .495" `expected`: "_W_ = 40.5, _p_ = .510" Backtrace: ▆ 1. ├─base::suppressMessages(...) at test-format_stats_htest.R:271:3 2. │ └─base::withCallingHandlers(...) 3. └─testthat::expect_equal(format_stats(test_ttest4), "_W_ = 40.5, _p_ = .510") ── Failure ('test-format_stats_htest.R:275:3'): formatting t-tests works properly ── Expected `format_stats(test_ttest5)` to equal "_W_ = 40.5, _p_ = .330". Differences: `actual`: "_W_ = 40.5, _p_ = .323" `expected`: "_W_ = 40.5, _p_ = .330" Backtrace: ▆ 1. ├─base::suppressMessages(...) at test-format_stats_htest.R:275:3 2. │ └─base::withCallingHandlers(...) 3. └─testthat::expect_equal(format_stats(test_ttest5), "_W_ = 40.5, _p_ = .330") [ FAIL 3 | WARN 42 | SKIP 1 | PASS 303 ] Error: ! Test failures. Execution halted Flavor: r-oldrel-windows-x86_64