Last updated on 2025-06-07 21:52:28 CEST.
Package | ERROR | NOTE | OK |
---|---|---|---|
readabs | 1 | 12 | |
readrba | 10 | 3 |
Current CRAN status: ERROR: 1, OK: 12
Version: 0.4.19
Check: tests
Result: ERROR
Running 'testthat.R' [191s]
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 199718 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 194815 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 194209 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 191345 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 187896 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 188303 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'
Content type 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' length 181734 bytes (177 KB)
==================================================
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 173985 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 178294 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 70699 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 92817 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 89839 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'
Content type 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' length 60624 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 60611 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 194815 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 194209 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 191345 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 187896 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 188303 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'
Content type 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' length 181734 bytes (177 KB)
==================================================
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 173985 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 178294 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 199718 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/apr-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
Flavor: r-release-windows-x86_64
Current CRAN status: NOTE: 10, OK: 3
Version: 0.1.11
Check: DESCRIPTION meta-information
Result: NOTE
Missing dependency on R >= 4.1.0 because package code uses the pipe
|> or function shorthand \(...) syntax added in R 4.1.0.
File(s) using such syntax:
‘tidy_rba.R’
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64, r-patched-linux-x86_64, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-x86_64
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.