CRAN Package Check Results for Package btw

Last updated on 2025-12-24 07:49:03 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0.0 8.06 197.61 205.67 OK
r-devel-linux-x86_64-debian-gcc 1.1.0 7.21 118.65 125.86 OK
r-devel-linux-x86_64-fedora-clang 1.1.0 18.00 279.99 297.99 ERROR
r-devel-linux-x86_64-fedora-gcc 1.1.0 16.00 311.81 327.81 OK
r-devel-windows-x86_64 1.1.0 15.00 257.00 272.00 OK
r-patched-linux-x86_64 1.0.0 10.36 188.20 198.56 OK
r-release-linux-x86_64 1.0.0 8.25 185.85 194.10 OK
r-release-macos-arm64 1.1.0 2.00 49.00 51.00 OK
r-release-macos-x86_64 1.1.0 8.00 361.00 369.00 OK
r-release-windows-x86_64 1.0.0 10.00 239.00 249.00 OK
r-oldrel-macos-arm64 1.1.0 2.00 44.00 46.00 OK
r-oldrel-macos-x86_64 1.1.0 8.00 301.00 309.00 OK
r-oldrel-windows-x86_64 1.1.0 21.00 273.00 294.00 OK

Check Details

Version: 1.1.0
Check: tests
Result: ERROR Running ‘testthat.R’ [152s/100s] 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(btw) > > local_reproducible_output() > > test_check("btw") Starting 2 test processes. Saving _problems/test-btw_this-1.R Saving _problems/test-tool-docs-1.R > test-tool-run.R: No personal access token (PAT) available. > test-tool-run.R: Obtain a PAT from here: > test-tool-run.R: https://github.com/settings/tokens > test-tool-run.R: For more on what to do with the PAT, see ?gh_whoami. [ FAIL 2 | WARN 1 | SKIP 49 | PASS 853 ] == Skipped tests (49) ========================================================== * On CRAN (32): 'test-btw.R:7:1', 'test-clipboard.R:1:1', 'test-edit_btw_md.R:1:1', 'test-edit_btw_md.R:27:1', 'test-edit_btw_md.R:46:1', 'test-edit_btw_md.R:64:1', 'test-edit_btw_md.R:86:1', 'test-tool-env.R:15:1', 'test-tool-files.R:164:1', 'test-tool-git.R:1:1', 'test-tool-git.R:67:1', 'test-tool-git.R:107:1', 'test-tool-git.R:132:1', 'test-tool-git.R:166:1', 'test-tool-git.R:191:1', 'test-tool-git.R:214:1', 'test-tool-git.R:345:1', 'test-tool-ide.R:1:1', 'test-tool-pkg-devtools-covr.R:295:1', 'test-tool-search-packages.R:42:3', 'test-tool-search-packages.R:55:3', 'test-tool-session-info.R:3:1', 'test-tool-session-info.R:40:1', 'test-tool-web.R:23:3', 'test-tool-web.R:54:3', 'test-tool-web.R:107:3', 'test-tool-web.R:128:3', 'test-tool-web.R:164:3', 'test-tool-web.R:206:1', 'test-tool-web.R:229:3', 'test-tool-run.R:108:1', 'test-utils-md.R:1:1' * On Linux (17): 'test-btw.R:2:3', 'test-btw_client.R:29:5', 'test-btw_client.R:99:3', 'test-btw_client.R:253:5', 'test-btw_client.R:264:5', 'test-btw_client.R:346:5', 'test-btw_client.R:385:5', 'test-tool-env-df.R:1:1', 'test-tool-env.R:2:3', 'test-tool-files.R:19:3', 'test-tool-files.R:79:3', 'test-tool-ide.R:177:3', 'test-tool-ide.R:199:3', 'test-tool-docs-news.R:148:3', 'test-tool-search-packages.R:23:3', 'test-tool-search-packages.R:72:3', 'test-utils.R:7:3' == Failed tests ================================================================ -- Error ('test-btw_this.R:1:1'): (code run outside of `test_that()`) ---------- Error in `httr2::resp_body_json(response)`: Unexpected content type "text/html". * Expecting type "application/json" or suffix "json". Backtrace: x 1. \-btw:::use_latest_pandoc() at test-btw_this.R:1:1 2. +-base::suppressMessages(pandoc::pandoc_available_releases()[1]) at ./helpers.R:10:5 3. | \-base::withCallingHandlers(...) 4. \-pandoc::pandoc_available_releases() 5. \-pandoc:::pandoc_releases() 6. +-rlang::env_cache(the, "pandoc_releases", default_cache()) 7. | \-rlang::env_poke(env, nm, default) 8. \-pandoc (local) default_cache() 9. \-pandoc:::fetch_gh_releases() 10. \-gh::gh(...) 11. \-gh::gh_next(res, .token = .token, .send_headers = .send_headers) 12. \-gh:::gh_link(gh_response, "next", .token = .token, .send_headers = .send_headers) 13. \-gh:::gh_make_request(req) 14. \-gh:::gh_error(resp, gh_req = x, error_call = error_call) 15. \-httr2::resp_body_json(response) 16. \-httr2::resp_check_content_type(...) 17. \-httr2:::check_content_type(...) 18. \-cli::cli_abort(...) 19. \-rlang::abort(...) -- Error ('test-tool-docs.R:1:1'): (code run outside of `test_that()`) --------- Error in `httr2::resp_body_json(response)`: Unexpected content type "text/html". * Expecting type "application/json" or suffix "json". Backtrace: x 1. \-btw:::use_latest_pandoc() at test-tool-docs.R:1:1 2. +-base::suppressMessages(pandoc::pandoc_available_releases()[1]) at ./helpers.R:10:5 3. | \-base::withCallingHandlers(...) 4. \-pandoc::pandoc_available_releases() 5. \-pandoc:::pandoc_releases() 6. +-rlang::env_cache(the, "pandoc_releases", default_cache()) 7. | \-rlang::env_poke(env, nm, default) 8. \-pandoc (local) default_cache() 9. \-pandoc:::fetch_gh_releases() 10. \-gh::gh(...) 11. \-gh::gh_next(res, .token = .token, .send_headers = .send_headers) 12. \-gh:::gh_link(gh_response, "next", .token = .token, .send_headers = .send_headers) 13. \-gh:::gh_make_request(req) 14. \-gh:::gh_error(resp, gh_req = x, error_call = error_call) 15. \-httr2::resp_body_json(response) 16. \-httr2::resp_check_content_type(...) 17. \-httr2:::check_content_type(...) 18. \-cli::cli_abort(...) 19. \-rlang::abort(...) [ FAIL 2 | WARN 1 | SKIP 49 | PASS 853 ] Error: ! Test failures. Execution halted Ran 8/8 deferred expressions Flavor: r-devel-linux-x86_64-fedora-clang