Running ‘testthat.R’ [63s/61s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(eplusr)
  > eplusr_option(verbose_info = FALSE)
  $verbose_info
  [1] FALSE
  
  > 
  > test_check("eplusr")
  Starting 2 test processes
  [ FAIL 4 | WARN 0 | SKIP 197 | PASS 639 ]
  
  ══ Skipped tests (197) ═════════════════════════════════════════════════════════
  • On CRAN (197): 'test-diagram.R:2:5', 'test-format.R:2:5', 'test-geom.R:3:5',
    'test-group.R:2:5', 'test-epw.R:12:5', 'test-epw.R:30:5', 'test-epw.R:172:5',
    'test-epw.R:193:5', 'test-epw.R:218:5', 'test-epw.R:281:5',
    'test-epw.R:331:5', 'test-epw.R:470:5', 'test-epw.R:484:5',
    'test-epw.R:498:5', 'test-epw.R:510:5', 'test-epw.R:526:5',
    'test-idd.R:16:5', 'test-iddobj.R:271:5', 'test-idfobj-sch.R:5:5',
    'test-idfobj-sch.R:23:5', 'test-idfobj-sch.R:41:5',
    'test-idfobj-sch.R:128:5', 'test-idfobj-sch.R:228:5',
    'test-idfobj-sch.R:305:5', 'test-idfobj-sch.R:330:5', 'test-idfobj.R:3:5',
    'test-idfobj.R:21:5', 'test-idfobj.R:30:5', 'test-idfobj.R:39:5',
    'test-idfobj.R:48:5', 'test-idfobj.R:57:5', 'test-idfobj.R:66:5',
    'test-idfobj.R:75:5', 'test-idfobj.R:84:5', 'test-idfobj.R:121:5',
    'test-idfobj.R:186:5', 'test-idfobj.R:244:5', 'test-idfobj.R:280:5',
    'test-idfobj.R:308:5', 'test-idfobj.R:324:5', 'test-idfobj.R:416:5',
    'test-idfobj.R:452:5', 'test-idfobj.R:517:5', 'test-idfobj.R:549:5',
    'test-idfobj.R:570:5', 'test-idfobj.R:583:5', 'test-idfobj.R:603:5',
    'test-idfobj.R:631:5', 'test-idfobj.R:646:5', 'test-idfobj.R:663:5',
    'test-idf.R:3:5', 'test-idf.R:24:5', 'test-idf.R:33:5', 'test-idf.R:44:5',
    'test-idf.R:67:5', 'test-idf.R:99:5', 'test-idf.R:116:5', 'test-idf.R:132:5',
    'test-idf.R:144:5', 'test-idf.R:155:5', 'test-idf.R:166:5',
    'test-idf.R:183:5', 'test-idf.R:200:5', 'test-idf.R:223:5',
    'test-idf.R:233:5', 'test-idf.R:246:5', 'test-idf.R:259:5',
    'test-idf.R:282:5', 'test-idf.R:298:5', 'test-idf.R:309:5',
    'test-idf.R:320:5', 'test-idf.R:364:5', 'test-idf.R:383:5',
    'test-idf.R:399:5', 'test-idf.R:414:5', 'test-idf.R:504:5',
    'test-idf.R:568:5', 'test-idf.R:590:5', 'test-idf.R:629:5',
    'test-idf.R:645:5', 'test-idf.R:658:5', 'test-idf.R:668:5',
    'test-idf.R:702:5', 'test-idf.R:716:5', 'test-idf.R:728:5',
    'test-idf.R:743:5', 'test-idf.R:783:5', 'test-idf.R:803:5',
    'test-idf.R:851:5', 'test-idf.R:860:5', 'test-idf.R:887:5',
    'test-idf.R:1126:5', 'test-idf.R:1139:5', 'test-idf.R:1152:5',
    'test-idf.R:1161:5', 'test-idf.R:1169:5', 'test-idf.R:1183:5',
    'test-idf.R:1194:5', 'test-idf.R:1215:5', 'test-idf.R:1240:5',
    'test-idf.R:1247:5', 'test-idf.R:1266:5', 'test-idf.R:1281:5',
    'test-idf.R:1299:5', 'test-impl-geom.R:3:5', 'test-impl-geom.R:186:5',
    'test-impl-geom.R:217:5', 'test-impl-geom.R:237:5', 'test-impl-epw.R:399:5',
    'test-impl-idfobj-sch.R:5:5', 'test-impl-idfobj-sch.R:92:5',
    'test-impl-idfobj-sch.R:285:5', 'test-impl-idfobj.R:3:5',
    'test-impl-idfobj.R:56:5', 'test-impl-idfobj.R:98:5',
    'test-impl-idfobj.R:150:5', 'test-impl-idfobj.R:166:5',
    'test-impl-idfobj.R:198:5', 'test-impl-viewer.R:3:5', 'test-install.R:2:5',
    'test-install.R:15:5', 'test-job.R:2:5', 'test-param.R:2:5',
    'test-param.R:24:5', 'test-param.R:45:5', 'test-param.R:87:5',
    'test-param.R:107:5', 'test-param.R:151:5', 'test-param.R:169:5',
    'test-param.R:198:5', 'test-param.R:210:5', 'test-impl-idf.R:3:5',
    'test-impl-idf.R:568:5', 'test-impl-idf.R:662:5', 'test-impl-idf.R:1451:5',
    'test-impl-idf.R:1510:5', 'test-impl-idf.R:1635:5', 'test-impl-idf.R:1657:5',
    'test-impl-idf.R:1783:5', 'test-impl-idf.R:1844:5', 'test-impl-idf.R:1964:5',
    'test-impl-idf.R:2099:5', 'test-impl-idf.R:2158:5', 'test-impl-idf.R:2189:5',
    'test-impl-idf.R:2202:5', 'test-impl-idf.R:2234:5', 'test-impl-idf.R:2308:5',
    'test-impl-idf.R:2357:5', 'test-impl-idf.R:2402:5', 'test-impl-idf.R:2508:5',
    'test-impl-idf.R:2526:5', 'test-impl-idf.R:2548:5', 'test-impl-idf.R:2597:5',
    'test-impl-idf.R:2638:5', 'test-rdd.R:2:5', 'test-reload.R:3:5',
    'test-parse.R:278:5', 'test-parse.R:397:5', 'test-sql.R:2:5',
    'test-sql.R:132:5', 'test-run.R:2:5', 'test-run.R:22:5', 'test-run.R:40:5',
    'test-run.R:58:5', 'test-run.R:119:5', 'test-run.R:188:5',
    'test-run.R:300:5', 'test-run.R:391:5', 'test-run.R:438:5',
    'test-run.R:484:5', 'test-run.R:529:5', 'test-run.R:555:5',
    'test-run.R:714:5', 'test-run.R:769:5', 'test-validate.R:3:5',
    'test-viewer.R:3:5', 'test-transition.R:3:5', 'test-transition.R:102:5',
    'test-transition.R:370:5', 'test-transition.R:508:5',
    'test-transition.R:637:5', 'test-transition.R:684:5',
    'test-transition.R:866:5', 'test-transition.R:895:5',
    'test-transition.R:1119:5', 'test-transition.R:1200:5',
    'test-transition.R:1328:5', 'test-transition.R:1410:5',
    'test-transition.R:1508:5', 'test-transition.R:1537:5',
    'test-transition.R:1814:5', 'test-transition.R:2008:5',
    'test-transition.R:2094:5', 'test-transition.R:2276:5',
    'test-transition.R:2478:5', 'test-transition.R:2503:5',
    'test-transition.R:2683:5'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-assert.R:15:5'): Assertion functions ───────────────────────────
  Error in `.make_numeric_version(x, strict, .standard_regexps()$valid_numeric_version)`: invalid non-character version specification 'x' (type: logical)
  Backtrace:
      ▆
   1. ├─testthat::expect_false(is_eplus_ver("8.8.8")) at test-assert.R:15:4
   2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─eplusr::is_eplus_ver("8.8.8")
   5.   └─eplusr:::convert_to_eplus_ver(ver, strict)
   6.     └─base::lapply(...)
   7.       └─eplusr (local) FUN(X[[i]], ...)
   8.         └─base::numeric_version(NA, strict = FALSE)
   9.           └─base::.make_numeric_version(x, strict, .standard_regexps()$valid_numeric_version)
  ── Error ('test-idd.R:3:5'): download_idd() can download IDD from EnergyPlus repo ──
  Error in `.make_numeric_version(x, strict, .standard_regexps()$valid_numeric_version)`: invalid non-character version specification 'x' (type: logical)
  Backtrace:
       ▆
    1. ├─testthat::expect_error(download_idd(1, tempdir()), class = "eplusr_error_invalid_eplus_ver") at test-idd.R:3: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::download_idd(1, tempdir())
    8.   └─eplusr::is_eplus_ver(ver)
    9.     └─eplusr:::convert_to_eplus_ver(ver, strict)
   10.       └─base::lapply(...)
   11.         └─eplusr (local) FUN(X[[i]], ...)
   12.           └─base::numeric_version(NA, strict = FALSE)
   13.             └─base::.make_numeric_version(x, strict, .standard_regexps()$valid_numeric_version)
  ── Error ('test-impl-idd.R:301:5'): Idd implementation ─────────────────────────
  Error in `.make_numeric_version(x, strict, .standard_regexps()$valid_numeric_version)`: invalid non-character version specification 'x' (type: logical)
  Backtrace:
      ▆
   1. └─eplusr::use_idd(LATEST_EPLUS_VER, "auto") at test-impl-idd.R:301:4
   2.   └─eplusr:::match_minor_ver(...)
   3.     └─base::numeric_version(NA, strict = FALSE)
   4.       └─base::.make_numeric_version(x, strict, .standard_regexps()$valid_numeric_version)
  ── Error ('test-utils.R:37:5'): Utility functions ──────────────────────────────
  Error in `.make_numeric_version(x, strict, .standard_regexps()$valid_numeric_version)`: invalid non-character version specification 'x' (type: logical)
  Backtrace:
      ▆
   1. ├─testthat::expect_equal(...) at test-utils.R:37:4
   2. │ └─testthat::quasi_label(enquo(expected), expected.label, arg = "expected")
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─base::numeric_version(NA, strict = FALSE)
   5.   └─base::.make_numeric_version(x, strict, .standard_regexps()$valid_numeric_version)
  
  [ FAIL 4 | WARN 0 | SKIP 197 | PASS 639 ]
  Error: Test failures
  Execution halted