CRAN Package Check Results for Package aemo

Last updated on 2026-04-30 04:53:44 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-gcc 0.4.0 2.56 56.74 59.30 OK
r-devel-linux-x86_64-fedora-clang 0.4.0 6.00 106.07 112.07 OK
r-devel-linux-x86_64-fedora-gcc 0.4.0 108.89 OK
r-devel-windows-x86_64 0.4.0 9.00 104.00 113.00 ERROR
r-patched-linux-x86_64 0.4.0 4.38 63.51 67.89 OK
r-release-macos-arm64 0.4.0 1.00 26.00 27.00 OK
r-release-windows-x86_64 0.4.0 12.00 119.00 131.00 OK
r-oldrel-macos-arm64 0.4.0 1.00 25.00 26.00 OK
r-oldrel-windows-x86_64 0.4.0 10.00 119.00 129.00 OK

Check Details

Version: 0.4.0
Check: tests
Result: ERROR Running 'testthat.R' [6s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(aemo) > > test_check("aemo") Removed 1 cached file from 'D:\temp\2026_04_30_01_50_01_32376\RtmpqI3kRc\aemo_cache_cc0836d858a7'. Saving _problems/test-dispatch-14.R i Downloading <https://nemweb.com.au/Data_Archive/Wholesale_Electricity/MMSDM... x Downloading <https://nemweb.com.au/Data_Archive/Wholesale_Electricity/MMSDM... i Downloading <https://nemweb.com.au/Data_Archive/Wholesale_Electricity/MMSDM... x Downloading <https://nemweb.com.au/Data_Archive/Wholesale_Electricity/MMSDM... i Downloading <https://nemweb.com.au/Data_Archive/Wholesale_Electricity/MMSDM... x Downloading <https://nemweb.com.au/Data_Archive/Wholesale_Electricity/MMSDM... i Downloading <https://nemweb.com.au/Data_Archive/Wholesale_Electricity/MMSDM... x Downloading <https://nemweb.com.au/Data_Archive/Wholesale_Electricity/MMSDM... i Downloading <https://nemweb.com.au/Data_Archive/Wholesale_Electricity/MMSDM... x Downloading <https://nemweb.com.au/Data_Archive/Wholesale_Electricity/MMSDM... i Downloading <https://nemweb.com.au/Data_Archive/Wholesale_Electricity/MMSDM... x Downloading <https://nemweb.com.au/Data_Archive/Wholesale_Electricity/MMSDM... Saving _problems/test-reference-26.R [ FAIL 2 | WARN 0 | SKIP 7 | PASS 168 ] ══ Skipped tests (7) ═══════════════════════════════════════════════════════════ • On CRAN (7): 'test-demand.R:11:3', 'test-loss-factors.R:19:3', 'test-loss-factors.R:31:3', 'test-pinned-values.R:26:3', 'test-pinned-values.R:54:3', 'test-pinned-values.R:83:3', 'test-price.R:14:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-dispatch.R:10:3'): aemo_fcas_enablement errors on bad service name ── <httr2_failure/httr2_error/rlang_error/error/condition> Error in `httr2::req_perform(aemo_request(url, timeout = 60))`: Failed to perform HTTP request. Caused by error in `curl::curl_fetch_memory()`: ! Could not resolve hostname [nemweb.com.au]: Could not resolve host: nemweb.com.au Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-dispatch.R:10:3 2. │ └─testthat:::expect_condition_matching_(...) 3. │ └─testthat:::quasi_capture(...) 4. │ ├─testthat (local) .capture(...) 5. │ │ └─base::withCallingHandlers(...) 6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 7. └─aemo::aemo_fcas_enablement(start = now - 60, end = now, service = "notaservice") 8. └─aemo:::aemo_fetch_report_range(...) 9. └─aemo:::aemo_select_files_in_range(...) 10. └─aemo::aemo_nemweb_ls(path) 11. └─httr2::req_perform(aemo_request(url, timeout = 60)) 12. └─httr2:::handle_resp(req, resp, error_call = error_call) 13. └─rlang::cnd_signal(resp) ── Error ('test-reference.R:26:3'): aemo_units returns the fallback table ────── Error in `aemo_units()`: Could not retrieve DUDETAILSUMMARY from MMSDM. i Retry when the MMSDM archive is reachable, or use `aemo_nemweb_download()` with an MMSDM URL directly. i No fallback is provided: a stale or invented DUID registry would silently mislabel historical analyses. Backtrace: ▆ 1. └─aemo::aemo_units() at test-reference.R:26:3 2. └─cli::cli_abort(...) 3. └─rlang::abort(...) [ FAIL 2 | WARN 0 | SKIP 7 | PASS 168 ] Error: ! Test failures. Execution halted Flavor: r-devel-windows-x86_64