CRAN Package Check Results for Package readabs

Last updated on 2024-06-06 09:55:51 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.4.16 9.54 91.63 101.17 OK
r-devel-linux-x86_64-debian-gcc 0.4.16 5.91 68.98 74.89 OK
r-devel-linux-x86_64-fedora-clang 0.4.16 126.46 OK
r-devel-linux-x86_64-fedora-gcc 0.4.16 133.25 OK
r-devel-windows-x86_64 0.4.16 9.00 147.00 156.00 ERROR
r-patched-linux-x86_64 0.4.16 5.84 88.56 94.40 OK
r-release-linux-x86_64 0.4.16 5.09 87.29 92.38 OK
r-release-macos-arm64 0.4.16 56.00 OK
r-release-macos-x86_64 0.4.16 116.00 OK
r-release-windows-x86_64 0.4.16 8.00 103.00 111.00 OK
r-oldrel-macos-arm64 0.4.16 65.00 OK
r-oldrel-macos-x86_64 0.4.16 139.00 OK
r-oldrel-windows-x86_64 0.4.16 11.00 114.00 125.00 OK

Check Details

Version: 0.4.16
Check: examples
Result: ERROR Running examples in 'readabs-Ex.R' failed The error most likely occurred in: > ### Name: get_available_lfs_cubes > ### Title: Show the available Labour Force, Australia, detailed data cubes > ### that can be downloaded > ### Aliases: get_available_lfs_cubes > > ### ** Examples > > > get_available_lfs_cubes() URL does not seem to exist: https://www.abs.gov.au/statistics/labour/employment-and-unemployment/labour-force-australia-detailed/latest-release Here's the original error message: cannot open URL 'https://www.abs.gov.au/statistics/labour/employment-and-unemployment/labour-force-australia-detailed/latest-release'Error in `path_to_connection()`: ! 'D:\temp\Rtmp8gJVhR/temp_readabs.html' does not exist. Backtrace: ▆ 1. └─readabs::get_available_lfs_cubes() 2. └─readabs::get_available_files("labour-force-australia-detailed") 3. └─readabs::show_available_files(...) 4. ├─xml2::read_html(temp_page_location) 5. └─xml2:::read_html.default(temp_page_location) 6. ├─base::suppressWarnings(...) 7. │ └─base::withCallingHandlers(...) 8. ├─xml2::read_xml(x, encoding = encoding, ..., as_html = TRUE, options = options) 9. └─xml2:::read_xml.character(...) 10. └─xml2:::path_to_connection(x) 11. └─xml2:::check_path(path) 12. └─cli::cli_abort(msg, call = call) 13. └─rlang::abort(...) Execution halted Flavor: r-devel-windows-x86_64

Version: 0.4.16
Check: tests
Result: ERROR Running 'testthat.R' [15s] 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") [ FAIL 1 | WARN 0 | SKIP 34 | PASS 61 ] ══ 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:2:3'): read_lfs_datacube ────────────────── Error in `utils::download.file(url = url, destfile = destfile, mode = "wb", quiet = quiet, headers = readabs_header, cacheOK = FALSE, method = method)`: cannot open URL 'https://www.abs.gov.au/statistics/labour/employment-and-unemployment/labour-force-australia-detailed/latest-release' Backtrace: ▆ 1. └─readabs::get_available_lfs_cubes() at test-download_data_cube.R:2:3 2. └─readabs::get_available_files("labour-force-australia-detailed") 3. └─readabs::show_available_files(...) 4. └─base::tryCatch(...) 5. └─base (local) tryCatchList(expr, classes, parentenv, handlers) 6. └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 7. └─value[[3L]](cond) [ FAIL 1 | WARN 0 | SKIP 34 | PASS 61 ] Error: Test failures Execution halted Flavor: r-devel-windows-x86_64