Running ‘testthat.R’ [30s/215s]
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'
  Content type 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' length 181760 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 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'
  Content type 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' length 181760 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 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/jul-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