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 = <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 ─────────────────────────────
  <purrr_error_indexed/rlang_error/error/condition>
  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(`<fn>`, "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