Running 'testthat.R' [16s]
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_05_18_01_50_01_31965\RtmpsjJVoD\aemo_cache_1bce94c57c86'.
  i Downloading <http://nemweb.com.au/Reports/CURRENT/DispatchIS_Reports/PUBLIC...
  v Downloading <http://nemweb.com.au/Reports/CURRENT/DispatchIS_Reports/PUBLIC...
  
  i Downloading <http://nemweb.com.au/Reports/CURRENT/DispatchIS_Reports/PUBLIC...
  v Downloading <http://nemweb.com.au/Reports/CURRENT/DispatchIS_Reports/PUBLIC...
  
  i Downloading <http://nemweb.com.au/Reports/CURRENT/DispatchIS_Reports/PUBLIC...
  v Downloading <http://nemweb.com.au/Reports/CURRENT/DispatchIS_Reports/PUBLIC...
  
  i Downloading <http://nemweb.com.au/Reports/CURRENT/DispatchIS_Reports/PUBLIC...
  v Downloading <http://nemweb.com.au/Reports/CURRENT/DispatchIS_Reports/PUBLIC...
  
  i Downloading <http://nemweb.com.au/Reports/CURRENT/DispatchIS_Reports/PUBLIC...
  v Downloading <http://nemweb.com.au/Reports/CURRENT/DispatchIS_Reports/PUBLIC...
  
  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 1 | WARN 2 | SKIP 7 | PASS 169 ]
  
  ══ 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-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 1 | WARN 2 | SKIP 7 | PASS 169 ]
  Error:
  ! Test failures.
  Warning messages:
  1: In .Internal(textConnection(name, object, open, env, type)) :
    closing unused connection 4 (D:\temp\2026_05_18_01_50_01_31965\RtmpsjJVoD/debd8a3590c4dde7.zip)
  2: In .Internal(textConnection(name, object, open, env, type)) :
    closing unused connection 5 (D:\temp\2026_05_18_01_50_01_31965\RtmpsjJVoD/2f94b297b8fd2f0f.zip)
  3: In app$doc :
    closing unused connection 23 (D:\temp\2026_05_18_01_50_01_31965\RtmpsjJVoD/2de9f9e22edd83e1.zip)
  4: In .Internal(textConnection(name, object, open, env, type)) :
    closing unused connection 75 (D:\temp\2026_05_18_01_50_01_31965\RtmpsjJVoD/debd8a3590c4dde7.zip)
  5: In .Internal(textConnection(name, object, open, env, type)) :
    closing unused connection 4 (D:\temp\2026_05_18_01_50_01_31965\RtmpsjJVoD/debd8a3590c4dde7.zip)
  6: In .Internal(textConnection(name, object, open, env, type)) :
    closing unused connection 24 (D:\temp\2026_05_18_01_50_01_31965\RtmpsjJVoD/2f94b297b8fd2f0f.zip)
  7: In .Internal(textConnection(name, object, open, env, type)) :
    closing unused connection 23 (D:\temp\2026_05_18_01_50_01_31965\RtmpsjJVoD/2f94b297b8fd2f0f.zip)
  Execution halted