* using log directory ‘/data/gannet/ripley/R/packages/tests-OpenBLAS/gutenbergr.Rcheck’ * using R Under development (unstable) (2026-01-16 r89305) * using platform: x86_64-pc-linux-gnu * R was compiled by gcc (GCC) 15.1.1 20250521 (Red Hat 15.1.1-2) GNU Fortran (GCC) 15.1.1 20250521 (Red Hat 15.1.1-2) * running under: Fedora Linux 42 (Workstation Edition) * using session charset: UTF-8 * using option ‘--no-stop-on-test-error’ * checking for file ‘gutenbergr/DESCRIPTION’ ... OK * this is package ‘gutenbergr’ version ‘0.4.0’ * package encoding: UTF-8 * checking package namespace information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for executable files ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking for sufficient/correct file permissions ... OK * checking whether package ‘gutenbergr’ can be installed ... [30s/42s] OK * checking package directory ... OK * checking ‘build’ directory ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... OK * checking for left-over files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking code files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... OK * checking whether the package can be loaded with stated dependencies ... OK * checking whether the package can be unloaded cleanly ... OK * checking whether the namespace can be loaded with stated dependencies ... OK * checking whether the namespace can be unloaded cleanly ... OK * checking loading without being on the library search path ... OK * checking whether startup messages can be suppressed ... OK * checking use of S3 registration ... OK * checking dependencies in R code ... OK * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... OK * checking Rd files ... OK * checking Rd metadata ... OK * checking Rd line widths ... OK * checking Rd cross-references ... OK * checking for missing documentation entries ... OK * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... OK * checking Rd contents ... OK * checking for unstated dependencies in examples ... OK * checking contents of ‘data’ directory ... OK * checking data for non-ASCII characters ... OK * checking LazyData ... OK * checking data for ASCII and uncompressed saves ... OK * checking installed files from ‘inst/doc’ ... OK * checking files in ‘vignettes’ ... OK * checking examples ... OK * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... Running ‘testthat.R’ [55s/69s] [56s/69s] ERROR 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(gutenbergr) gutenbergr: using session (temporary) cache cache directory: /tmp/Rtmp8F7Upq/working_dir/RtmprhWqj5/gutenbergr_cache > > test_check("gutenbergr") [ FAIL 4 | WARN 0 | SKIP 6 | PASS 113 ] ══ Skipped tests (6) ═══════════════════════════════════════════════════════════ • Integration tests not enabled. Set RUN_INTEGRATION_TESTS=true to run. (6): 'test-integration-gutenberg_api.R:2:3', 'test-integration-gutenberg_api.R:25:3', 'test-integration-gutenberg_api.R:48:3', 'test-integration-gutenberg_api.R:72:3', 'test-integration-gutenberg_api.R:96:3', 'test-integration-gutenberg_api.R:127:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-gutenberg_download.R:57:5'): gutenberg_download actually caches a file ── Error in `resp_body_raw(resp)`: Can't retrieve empty body. Backtrace: ▆ 1. ├─gutenbergr:::with_gutenberg_cache(...) at test-gutenberg_download.R:49:3 2. │ └─base::force(code) at ./helper-cache.R:21:3 3. └─gutenbergr::gutenberg_download(109, use_cache = TRUE, strip = FALSE) at test-gutenberg_download.R:57:5 4. ├─gutenbergr:::gutenberg_url(gutenberg_id, mirror, verbose) 5. │ └─mirror %||% gutenberg_get_mirror(verbose = verbose) 6. └─gutenbergr::gutenberg_get_mirror(verbose = verbose) 7. └─gutenbergr::gutenberg_get_all_mirrors() 8. └─(purrr::quietly(read_md_table))(...) 9. ├─purrr:::capture_output(.f(...)) 10. │ └─base::withCallingHandlers(code, warning = wHandler, message = mHandler) 11. └─readMDTable (local) .f(...) 12. └─readMDTable:::source_file(file) 13. └─httr2::resp_body_string(...) 14. └─httr2::resp_body_raw(resp) 15. └─cli::cli_abort("Can't retrieve empty body.") 16. └─rlang::abort(...) ── Error ('test-gutenberg_mirrors.R:4:3'): gutenberg_get_mirror works with no option set ── Error in `resp_body_raw(resp)`: Can't retrieve empty body. Backtrace: ▆ 1. ├─testthat::expect_message(...) at test-gutenberg_mirrors.R:4:3 2. │ └─testthat:::expect_condition_matching_(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. ├─testthat::expect_identical(gutenberg_get_mirror(), "https://aleph.pglaf.org") 8. │ └─testthat::quasi_label(enquo(object), label) 9. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 10. └─gutenbergr::gutenberg_get_mirror() 11. └─gutenbergr::gutenberg_get_all_mirrors() 12. └─(purrr::quietly(read_md_table))(...) 13. ├─purrr:::capture_output(.f(...)) 14. │ └─base::withCallingHandlers(code, warning = wHandler, message = mHandler) 15. └─readMDTable (local) .f(...) 16. └─readMDTable:::source_file(file) 17. └─httr2::resp_body_string(...) 18. └─httr2::resp_body_raw(resp) 19. └─cli::cli_abort("Can't retrieve empty body.") 20. └─rlang::abort(...) ── Error ('test-gutenberg_mirrors.R:23:3'): gutenberg_get_mirror respects verbose ── Error in `resp_body_raw(resp)`: Can't retrieve empty body. Backtrace: ▆ 1. ├─testthat::expect_no_message(gutenberg_get_mirror(verbose = FALSE)) at test-gutenberg_mirrors.R:23:3 2. │ └─testthat:::expect_no_(...) 3. │ └─testthat:::quasi_capture(enquo(object), NULL, capture) 4. │ ├─testthat (local) .capture(...) 5. │ │ ├─base::withRestarts(...) 6. │ │ │ └─base (local) withOneRestart(expr, restarts[[1L]]) 7. │ │ │ └─base (local) doWithOneRestart(return(expr), restart) 8. │ │ └─base::withCallingHandlers(...) 9. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 10. └─gutenbergr::gutenberg_get_mirror(verbose = FALSE) 11. └─gutenbergr::gutenberg_get_all_mirrors() 12. └─(purrr::quietly(read_md_table))(...) 13. ├─purrr:::capture_output(.f(...)) 14. │ └─base::withCallingHandlers(code, warning = wHandler, message = mHandler) 15. └─readMDTable (local) .f(...) 16. └─readMDTable:::source_file(file) 17. └─httr2::resp_body_string(...) 18. └─httr2::resp_body_raw(resp) 19. └─cli::cli_abort("Can't retrieve empty body.") 20. └─rlang::abort(...) ── Error ('test-gutenberg_mirrors.R:37:3'): gutenberg_get_mirror catches bad option ── Error in `resp_body_raw(resp)`: Can't retrieve empty body. Backtrace: ▆ 1. ├─testthat::expect_message(...) at test-gutenberg_mirrors.R:37:3 2. │ └─testthat:::expect_condition_matching_(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. ├─testthat::expect_message(...) 8. │ └─testthat:::expect_condition_matching_(...) 9. │ └─testthat:::quasi_capture(...) 10. │ ├─testthat (local) .capture(...) 11. │ │ └─base::withCallingHandlers(...) 12. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 13. └─gutenbergr::gutenberg_get_mirror() 14. └─gutenbergr::gutenberg_get_all_mirrors() 15. └─(purrr::quietly(read_md_table))(...) 16. ├─purrr:::capture_output(.f(...)) 17. │ └─base::withCallingHandlers(code, warning = wHandler, message = mHandler) 18. └─readMDTable (local) .f(...) 19. └─readMDTable:::source_file(file) 20. └─httr2::resp_body_string(...) 21. └─httr2::resp_body_raw(resp) 22. └─cli::cli_abort("Can't retrieve empty body.") 23. └─rlang::abort(...) [ FAIL 4 | WARN 0 | SKIP 6 | PASS 113 ] Error: ! Test failures. Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [30s/36s] OK * checking PDF version of manual ... [8s/10s] OK * checking HTML version of manual ... OK * checking for non-standard things in the check directory ... OK * checking for detritus in the temp directory ... OK * DONE Status: 1 ERROR See ‘/data/gannet/ripley/R/packages/tests-OpenBLAS/gutenbergr.Rcheck/00check.log’ for details. Command exited with non-zero status 1 Time 3:44.76, 157.28 + 12.11