* using log directory 'd:/Rcompile/CRANpkg/local/4.6/readabs.Rcheck' * using R version 4.6.0 beta (2026-04-16 r89899 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 14.3.0 GNU Fortran (GCC) 14.3.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * current time: 2026-04-17 07:10:39 UTC * checking for file 'readabs/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'readabs' version '0.4.20' * 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 hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'readabs' can be installed ... OK * checking installed package size ... 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 ... [1s] OK * checking whether the package can be loaded with stated dependencies ... [1s] OK * checking whether the package can be unloaded cleanly ... [1s] OK * checking whether the namespace can be loaded with stated dependencies ... [1s] OK * checking whether the namespace can be unloaded cleanly ... [2s] OK * checking loading without being on the library search path ... [1s] OK * checking whether startup messages can be suppressed ... [2s] 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 ... [6s] OK * checking Rd files ... [1s] 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 R/sysdata.rda ... OK * checking installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... OK * checking examples ... [4s] OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... [90s] ERROR Running 'testthat.R' [90s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(readabs) Environment variable 'R_READABS_PATH' is unset. Downloaded files will be saved in a temporary directory. You can set 'R_READABS_PATH' at any time. To set it for the rest of this session, use Sys.setenv(R_READABS_PATH = ) > > test_check("readabs") Saving _problems/test-read_erp-2.R trying URL 'https://www.abs.gov.au/statistics/people/population/national-state-and-territory-population/latest-release/310101.xlsx' Content type 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' length 71351 bytes (69 KB) ================================================== downloaded 69 KB trying URL 'https://www.abs.gov.au/statistics/people/population/national-state-and-territory-population/latest-release/310102.xlsx' Content type 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' length 93779 bytes (91 KB) ================================================== downloaded 91 KB trying URL 'https://www.abs.gov.au/statistics/people/population/national-state-and-territory-population/latest-release/310104.xlsx' Content type 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' length 90789 bytes (88 KB) ================================================== downloaded 88 KB trying URL 'https://www.abs.gov.au/statistics/people/population/national-state-and-territory-population/latest-release/3101016a.xlsx' Content type 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' length 60907 bytes (59 KB) ================================================== downloaded 59 KB trying URL 'https://www.abs.gov.au/statistics/people/population/national-state-and-territory-population/latest-release/3101016b.xlsx' Content type 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' length 60875 bytes (59 KB) ================================================== downloaded 59 KB trying URL 'https://www.abs.gov.au/statistics/people/population/national-state-and-territory-population/latest-release/3101051.xlsx' Content type 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' length 196803 bytes (192 KB) ================================================== downloaded 192 KB trying URL 'https://www.abs.gov.au/statistics/people/population/national-state-and-territory-population/latest-release/3101052.xlsx' Content type 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' length 196203 bytes (191 KB) ================================================== downloaded 191 KB trying URL 'https://www.abs.gov.au/statistics/people/population/national-state-and-territory-population/latest-release/3101053.xlsx' Content type 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' length 193334 bytes (188 KB) ================================================== downloaded 188 KB trying URL 'https://www.abs.gov.au/statistics/people/population/national-state-and-territory-population/latest-release/3101054.xlsx' Content type 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' length 189821 bytes (185 KB) ================================================== downloaded 185 KB trying URL 'https://www.abs.gov.au/statistics/people/population/national-state-and-territory-population/latest-release/3101055.xlsx' Content type 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' length 190261 bytes (185 KB) ================================================== downloaded 185 KB trying URL 'https://www.abs.gov.au/statistics/people/population/national-state-and-territory-population/latest-release/3101056.xlsx' Content type 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' length 183502 bytes (179 KB) ================================================== downloaded 179 KB trying URL 'https://www.abs.gov.au/statistics/people/population/national-state-and-territory-population/latest-release/3101057.xlsx' Content type 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' length 175730 bytes (171 KB) ================================================== downloaded 171 KB trying URL 'https://www.abs.gov.au/statistics/people/population/national-state-and-territory-population/latest-release/3101058.xlsx' Content type 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' length 180075 bytes (175 KB) ================================================== downloaded 175 KB trying URL 'https://www.abs.gov.au/statistics/people/population/national-state-and-territory-population/latest-release/3101059.xlsx' Content type 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' length 201860 bytes (197 KB) ================================================== downloaded 197 KB [ FAIL 1 | WARN 0 | SKIP 35 | PASS 83 ] ══ Skipped tests (35) ══════════════════════════════════════════════════════════ • On CRAN (35): 'test-abs_api.R:2:3', 'test-abs_api.R:16:3', 'test-abs_api.R:46:3', 'test-abs_api.R:55:3', 'test-check_latest_date.R:2:3', 'test-data-uptodate.R:2:3', 'test-data-uptodate.R:15:3', 'test-download-data-cube.r:4:3', 'test-download_abs.R:2:3', 'test-download_data_cube.R:2:3', 'test-fst.R:2:3', 'test-get_available_files.r:2:3', 'test-individual-readabs-steps.R:2:3', 'test-match_tables.R:9:3', 'test-read_abs_url.R:2:3', 'test-read_awe.R:19:3', 'test-read_job_mobility.R:2:3', 'test-read_lfs_grossflows.R:2:3', 'test-read_payrolls.R:2:3', 'test-readabs.R:6:3', 'test-readabs.R:19:3', 'test-readabs.R:38:3', 'test-readabs.R:50:3', 'test-readabs.R:63:3', 'test-readabs.R:83:3', 'test-readabs.R:96:3', 'test-readabs.R:109:3', 'test-readabs.R:118:3', 'test-readabs.R:144:3', 'test-readabs.R:154:3', 'test-readabs.R:161:3', 'test-search_catalogues.R:19:3', 'test-separate_series.R:7:3', 'test-separate_series.R:54:3', 'test-show_available_catalogues.r:15:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-read_erp.R:2:3'): read_erp() works ───────────────────────────── Error in `map(.x, .f, ...)`: ℹ In index: 2. Caused by error in `read_xml.character()`: ! expected '>' [73] Backtrace: ▆ 1. ├─readabs::read_erp() at test-read_erp.R:2:3 2. │ └─readabs::read_abs(...) 3. │ └─purrr::map_dfr(xml_urls, .f = get_abs_xml_metadata, .progress = TRUE) 4. │ └─purrr::map(.x, .f, ...) 5. │ └─purrr:::map_("list", .x, .f, ..., .progress = .progress) 6. │ ├─purrr:::with_indexed_errors(...) 7. │ │ └─base::withCallingHandlers(...) 8. │ ├─purrr:::call_with_cleanup(...) 9. │ └─readabs (local) .f(.x[[i]], ...) 10. │ └─readabs:::get_numpages(url) 11. │ └─... %>% xml2::xml_double() 12. ├─xml2::xml_double(.) 13. │ └─xml2::xml_text(x) 14. ├─xml2::xml_find_all(., xpath = "//NumPages") 15. ├─xml2::read_xml(.) 16. ├─xml2:::read_xml.character(.) 17. └─base::.handleSimpleError(``, "expected '>' [73]", base::quote(read_xml.character(.))) 18. └─purrr (local) h(simpleError(msg, call)) 19. └─cli::cli_abort(...) 20. └─rlang::abort(...) [ FAIL 1 | WARN 0 | SKIP 35 | PASS 83 ] Error: ! Test failures. Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [7s] OK * checking PDF version of manual ... [20s] OK * checking HTML version of manual ... [7s] OK * DONE Status: 1 ERROR