hongyuanjia / eplusr

A Toolkit for Using EnergyPlus in R.
https://hongyuanjia.github.io/eplusr
Other
71 stars 13 forks source link

CRAN check error due to IDD parsing #561

Closed hongyuanjia closed 1 year ago

hongyuanjia commented 1 year ago

Should skip tests that need downloading IDD

  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-parse.R:419:5'): parse_idf_file() ──────────────────────────────
  <eplusr_error_locate_idd/eplusr_error/error/condition>
  Error: Failed to locate IDD v23.1.0.
  You may want to set 'download' to TRUE or "auto" to download the IDD file from EnregyPlus GitHub repo.
  Backtrace:
       ▆
    1. ├─testthat::expect_warning(...) at test-parse.R:419:4
    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. └─eplusr:::parse_idf_file(idftext("idf", NULL), LATEST_IDF_VER)
    8.   └─eplusr:::get_idd_from_ver(idf_ver, idd)
    9.     └─eplusr::use_idd(idd)
   10.       └─eplusr:::abort(...)

  [ FAIL 1 | WARN 0 | SKIP 198 | PASS 747 ]
  Error: Test failures
  Execution halted