Last updated on 2024-06-07 21:51:57 CEST.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 0.1.8 | 6.96 | 94.68 | 101.64 | OK | |
r-devel-linux-x86_64-debian-gcc | 0.1.8 | 4.71 | 68.08 | 72.79 | OK | |
r-devel-linux-x86_64-fedora-clang | 0.1.8 | 125.05 | OK | |||
r-devel-linux-x86_64-fedora-gcc | 0.1.8 | 132.16 | OK | |||
r-devel-windows-x86_64 | 0.1.8 | 6.00 | 170.00 | 176.00 | ERROR | |
r-patched-linux-x86_64 | 0.1.8 | 6.78 | 89.28 | 96.06 | OK | |
r-release-linux-x86_64 | 0.1.8 | 3.93 | 88.43 | 92.36 | OK | |
r-release-macos-arm64 | 0.1.8 | 43.00 | OK | |||
r-release-macos-x86_64 | 0.1.8 | 65.00 | OK | |||
r-release-windows-x86_64 | 0.1.8 | 8.00 | 99.00 | 107.00 | OK | |
r-oldrel-macos-arm64 | 0.1.8 | 69.00 | OK | |||
r-oldrel-macos-x86_64 | 0.1.8 | 73.00 | OK | |||
r-oldrel-windows-x86_64 | 0.1.8 | 8.00 | 117.00 | 125.00 | OK |
Version: 0.1.8
Check: examples
Result: ERROR
Running examples in 'readrba-Ex.R' failed
The error most likely occurred in:
> ### Name: rba_forecasts
> ### Title: Compile the RBA's public forecasts of key economic variables
> ### over time
> ### Aliases: rba_forecasts read_forecasts
>
> ### ** Examples
>
> forecasts <- read_forecasts()
trying URL 'https://www.rba.gov.au/statistics/xls/smp-forecast-archive.xlsx'
Warning in utils::download.file(xlsx_url, xlsx_file, mode = "wb") :
URL 'https://www.rba.gov.au/statistics/xls/smp-forecast-archive.xlsx': status was 'Couldn't resolve host name'
Error in utils::download.file(xlsx_url, xlsx_file, mode = "wb") :
cannot open URL 'https://www.rba.gov.au/statistics/xls/smp-forecast-archive.xlsx'
Calls: read_forecasts ... rba_forecasts -> scrape_rba_forecasts -> <Anonymous>
Execution halted
Flavor: r-devel-windows-x86_64
Version: 0.1.8
Check: tests
Result: ERROR
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
Flavor: r-devel-windows-x86_64