Running 'testthat.R' [67s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(readrba)
  > 
  > test_check("readrba")
  [ FAIL 2 | WARN 0 | SKIP 14 | PASS 45 ]
  
  ══ Skipped tests (14) ══════════════════════════════════════════════════════════
  • On CRAN (14): 'test-browse_data.R:27:3', 'test-check_if_rba_ts.R:3:3',
    'test-download_rba.R:4:3', 'test-rba_forecasts.R:27:3',
    'test-read_cashrate.R:2:3', 'test-read_rba.R:2:3', 'test-read_rba.R:20:3',
    'test-read_rba.R:90:3', 'test-read_rba.R:106:3',
    'test-read_rba_seriesid.R:2:3', 'test-scrape_rba_forecasts.R:2:3',
    'test-scrape_table_list.R:4:3', 'test-url_exists.R:2:3',
    'test-url_exists.R:15:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-get_rba_urls.R:2:3'): get_rba_urls() matches correct URLs ──────
  Error in `safely_read_html(url = table_url)`: Could not read HTML at https://www.rba.gov.au/statistics/tables/
  Backtrace:
      ▆
   1. ├─testthat::expect_length(get_rba_urls("A1"), 1) at test-get_rba_urls.R:2:3
   2. │ └─testthat::quasi_label(enquo(object), arg = "object")
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─readrba:::get_rba_urls("A1")
   5.   └─readrba:::scrape_table_list(cur_hist)
   6.     └─readrba:::scrape_indiv_table_list(cur_hist = cur_hist)
   7.       └─readrba:::safely_read_html(url = table_url)
  ── Error ('test-get_rba_urls.R:12:3'): get_rba_urls() returns multiple URLs where multiple tables have the same no. ──
  Error in `safely_read_html(url = table_url)`: Could not read HTML at https://www.rba.gov.au/statistics/tables/
  Backtrace:
      ▆
   1. ├─testthat::expect_length(get_rba_urls("A3", "current"), 1) at test-get_rba_urls.R:12:3
   2. │ └─testthat::quasi_label(enquo(object), arg = "object")
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─readrba:::get_rba_urls("A3", "current")
   5.   └─readrba:::scrape_table_list(cur_hist)
   6.     └─readrba:::scrape_indiv_table_list(cur_hist = cur_hist)
   7.       └─readrba:::safely_read_html(url = table_url)
  
  [ FAIL 2 | WARN 0 | SKIP 14 | PASS 45 ]
  Error: Test failures
  Execution halted