CRAN Package Check Results for Package readrba

Last updated on 2024-05-08 00:49:56 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1.8 4.50 90.82 95.32 ERROR
r-devel-linux-x86_64-debian-gcc 0.1.8 4.85 68.42 73.27 OK
r-devel-linux-x86_64-fedora-clang 0.1.8 125.05 OK
r-devel-linux-x86_64-fedora-gcc 0.1.8 158.53 OK
r-devel-windows-x86_64 0.1.8 6.00 108.00 114.00 OK
r-patched-linux-x86_64 0.1.8 7.01 88.62 95.63 OK
r-release-linux-x86_64 0.1.8 4.02 89.14 93.16 OK
r-release-macos-arm64 0.1.8 43.00 OK
r-release-macos-x86_64 0.1.8 91.00 OK
r-release-windows-x86_64 0.1.8 7.00 102.00 109.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 103.00 111.00 OK

Check Details

Version: 0.1.8
Check: examples
Result: ERROR Running examples in ‘readrba-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### 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' Content type 'application/octet-stream' length 62917 bytes (61 KB) ================================================== downloaded 61 KB Error in `map()`: ℹ In index: 17. Caused by error: ! Sheet 'CPI' not found Backtrace: ▆ 1. ├─readrba::read_forecasts() 2. │ └─readrba::rba_forecasts(...) 3. │ └─readrba:::scrape_rba_forecasts() 4. │ └─purrr::map_dfr(xlsx_metadata$sheet_name, tidy_forecast_sheet) 5. │ └─purrr::map(.x, .f, ...) 6. │ └─purrr:::map_("list", .x, .f, ..., .progress = .progress) 7. │ ├─purrr:::with_indexed_errors(...) 8. │ │ └─base::withCallingHandlers(...) 9. │ ├─purrr:::call_with_cleanup(...) 10. │ └─readrba (local) .f(.x[[i]], ...) 11. │ ├─... %>% ... 12. │ └─readxl::read_excel(xlsx_file, sheet = sheet_name, skip = 3) 13. │ └─readxl:::read_excel_(...) 14. │ └─readxl:::standardise_sheet(sheet, range, sheets_fun(path)) 15. │ └─base::stop("Sheet '", sheet, "' not found", call. = FALSE) 16. ├─dplyr::mutate(...) 17. ├─dplyr::filter(., !is.na(.data$value)) 18. ├─dplyr::arrange(., .data$forecast_date, .data$date) 19. ├─dplyr::mutate(., dplyr::across(c("date", "forecast_date"), lubridate::my)) 20. ├─tidyr::pivot_longer(...) 21. ├─dplyr::filter(., !is.na(.data$date)) 22. ├─dplyr::rename(., date = 1) 23. └─base::.handleSimpleError(`<fn>`, "Sheet 'CPI' not found", base::quote(NULL)) 24. └─purrr (local) h(simpleError(msg, call)) 25. └─cli::cli_abort(...) 26. └─rlang::abort(...) Execution halted Flavor: r-devel-linux-x86_64-debian-clang