* using log directory ‘/Users/ripley/R/packages/tests-devel/saqgetr.Rcheck’ * using R Under development (unstable) (2026-10-20 r90722) * using platform: aarch64-apple-darwin27.0.0 * R was compiled by Apple clang version 21.0.0 (clang-2100.3.34.1) GNU Fortran (GCC) 14.2.0 * running under: macOS Golden Gate 27.0.1 * using session charset: UTF-8 * current time: 2026-10-23 07:30:43 UTC * using option ‘--no-stop-on-test-error’ * checking for file ‘saqgetr/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘saqgetr’ version ‘0.2.24’ * 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 ‘saqgetr’ can be installed ... OK * checking installed package size ... OK * checking package 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 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 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 examples ... ERROR Running examples in ‘saqgetr-Ex.R’ failed The error most likely occurred in: > ### Name: get_saq_observations > ### Title: Function to get *saqgetr* air quality observations. > ### Aliases: get_saq_observations > > ### ** Examples > > > # Load a site's data > data_hafodyrynys <- get_saq_observations( + site = "gb1038a", + start = 2018, + end = 2018 + ) No encoding supplied: defaulting to UTF-8. Error in `map()`: ℹ In index: 1. Caused by error in `rawConnection()`: ! invalid 'raw' argument Backtrace: ▆ 1. ├─saqgetr::get_saq_observations(...) 2. │ └─purrr::map_dfr(...) 3. │ └─purrr::map(.x, .f, ...) 4. │ └─purrr:::map_("list", .x, .f, ..., .progress = .progress) 5. │ ├─purrr:::with_indexed_errors(...) 6. │ │ └─base::withCallingHandlers(...) 7. │ ├─purrr:::call_with_cleanup(...) 8. │ └─saqgetr (local) .f(.x[[i]], ...) 9. │ └─saqgetr:::get_saq_observations_worker(...) 10. │ └─saqgetr:::read_saq_observations(file, tz = tz) 11. │ └─saqgetr:::read_csv_gz_remote(file, col_types = col_types, verbose = FALSE) 12. │ └─response %>% httr::content() %>% rawConnection() %>% gzcon() 13. ├─base::gzcon(.) 14. ├─base::rawConnection(.) 15. └─base::.handleSimpleError(``, "invalid 'raw' argument", base::quote(rawConnection(.))) 16. └─purrr (local) h(simpleError(msg, call)) 17. └─cli::cli_abort(...) 18. └─rlang::abort(...) Execution halted * checking PDF version of manual ... OK * checking HTML version of manual ... OK * checking for detritus in the temp directory ... OK * DONE Status: 1 ERROR See ‘/Users/ripley/R/packages/tests-devel/saqgetr.Rcheck/00check.log’ for details. 21.12 real 12.04 user 5.69 sys