hongyuanjia/eplusr

CRAN check errors

hongyuanjia opened this issue · 1 comments

Version: 0.16.0
Check: tests
Result: ERROR
     Runningtestthat.R’ [82s/59s]
    Running the tests intests/testthat.Rfailed.
    Complete output:
     > library(testthat)
     > library(eplusr)
     > eplusr_option(verbose_info = FALSE)
     $verbose_info
     [1] FALSE
    
     >
     > test_check("eplusr")
     Starting 2 test processes
     [ FAIL 1 | WARN 0 | SKIP 198 | PASS 747 ]
    
     ══ Skipped tests ═══════════════════════════════════════════════════════════════
     • On CRAN (198)
    
     ══ 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
Flavor: [r-release-linux-x86_64](https://www.r-project.org/nosvn/R.check/r-release-linux-x86_64/eplusr-00check.html)

Closes via #562