- using R version 4.5.1 (2025-06-13 ucrt)
- using platform: x86_64-w64-mingw32
- R was compiled by
gcc.exe (GCC) 14.2.0
GNU Fortran (GCC) 14.2.0
- running under: Windows Server 2022 x64 (build 20348)
- using session charset: UTF-8
- checking for file 'readabs/DESCRIPTION' ... OK
- checking extension type ... Package
- this is package 'readabs' version '0.4.19'
- 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
See the install log for details.
- 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 ... [2s] 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 ... [1s] 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 ... [5s] OK
- checking for unstated dependencies in 'tests' ... OK
- checking tests ... [180s] ERROR
Running 'testthat.R' [180s]
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 = <path>)
>
> test_check("readabs")
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 199730 bytes (195 KB)
==================================================
downloaded 195 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 194787 bytes (190 KB)
==================================================
downloaded 190 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 194192 bytes (189 KB)
==================================================
downloaded 189 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 191359 bytes (186 KB)
==================================================
downloaded 186 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 187925 bytes (183 KB)
==================================================
downloaded 183 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 188270 bytes (183 KB)
==================================================
downloaded 183 KB
trying URL 'https://www.abs.gov.au/statistics/people/population/national-state-and-territory-population/latest-release/3101056.xlsx'
downloaded 177 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 174005 bytes (169 KB)
==================================================
downloaded 169 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 178286 bytes (174 KB)
==================================================
downloaded 174 KB
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 70858 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 93076 bytes (90 KB)
==================================================
downloaded 90 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 90071 bytes (87 KB)
==================================================
downloaded 87 KB
trying URL 'https://www.abs.gov.au/statistics/people/population/national-state-and-territory-population/latest-release/3101016a.xlsx'
downloaded 59 KB
trying URL 'https://www.abs.gov.au/statistics/people/population/national-state-and-territory-population/latest-release/3101016b.xlsx'
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 194787 bytes (190 KB)
==================================================
downloaded 190 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 194192 bytes (189 KB)
==================================================
downloaded 189 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 191359 bytes (186 KB)
==================================================
downloaded 186 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 187925 bytes (183 KB)
==================================================
downloaded 183 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 188270 bytes (183 KB)
==================================================
downloaded 183 KB
trying URL 'https://www.abs.gov.au/statistics/people/population/national-state-and-territory-population/latest-release/3101056.xlsx'
downloaded 177 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 174005 bytes (169 KB)
==================================================
downloaded 169 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 178286 bytes (174 KB)
==================================================
downloaded 174 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 199730 bytes (195 KB)
==================================================
downloaded 195 KB
[ FAIL 1 | WARN 0 | SKIP 34 | PASS 97 ]
══ Skipped tests (34) ══════════════════════════════════════════════════════════
• On CRAN (34): '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-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:152:3', 'test-readabs.R:162:3',
'test-readabs.R:169: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-download_data_cube.R:7:3'): read_lfs_datacube ──────────────────
Error in `utils::download.file(url = url, destfile = destfile, mode = "wb",
quiet = quiet, headers = readabs_header, cacheOK = FALSE,
method = method)`: download from 'https://www.abs.gov.au/statistics/labour/employment-and-unemployment/labour-force-australia-detailed/jun-2025/LM1.xlsx' failed
Backtrace:
▆
1. └─readabs::read_lfs_datacube("LM1") at test-download_data_cube.R:7:3
2. └─readabs::download_abs_data_cube(...)
3. └─readabs:::dl_file(file_download_url, filepath)
4. ├─base::suppressWarnings(...)
5. │ └─base::withCallingHandlers(...)
6. └─utils::download.file(...)
[ FAIL 1 | WARN 0 | SKIP 34 | PASS 97 ]
Error: Test failures
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [8s] OK
- checking PDF version of manual ... [21s] OK
- checking HTML version of manual ... [5s] OK
- DONE
Status: 1 ERROR