Running ‘testthat.R’ [41s/49s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(eplusr)
  > 
  > test_check("eplusr")
  ── Info ────────────────────────────────────────────────────────────────────────
  New names of duplicated objects were not given. Automatically generated names were assigned:
    * Target Object [ID: 1] Name `WD01`--> Auto Assigned Name: `WD01_1`
  
   ✖ [2] Errors found during validation.
  ════════════════════════════════════════════════════════════════════════════════
  
  ── [2] Conflicted Object Names ─────────────────────────────────────────────────
  ⓧ Objects below have the same name.
  
    Class `RunPeriod`
    +- Object [ID: (Temporary 1)]
    |  +-  1: rp_test_4,         !- Name
    |  |-  2: 1,                 !- Begin Month
    |  |-  3: 1,                 !- Begin Day of Month
    |  |-  4: 2,                 !- End Month
    |  \-  5: 1;                 !- End Day of Month
    \- Object [ID:8]
       +-  1: rp_test_4,         !- Name
       |-  2: 1,                 !- Begin Month
       |-  3: 1,                 !- Begin Day of Month
       |-  4: 2,                 !- End Month
       |-  5: 1,                 !- End Day of Month
       |-  6: UseWeatherFile,    !- Day of Week for Start Day
       |-  7: Yes,               !- Use Weather File Holidays and Special Days
       |-  8: Yes,               !- Use Weather File Daylight Saving Period
       |-  9: No,                !- Apply Weekend Holiday Rule
       |- 10: Yes,               !- Use Weather File Rain Indicators
       |- 11: Yes,               !- Use Weather File Snow Indicators
       |- 12: 1,                 !- Number of Times Runperiod to be Repeated
       |- 13: Yes,               !- Increment Day of Week on repeat
       \- 14: <Blank>;           !- Start Year
  
   ✖ [4] Errors found during validation.
  ════════════════════════════════════════════════════════════════════════════════
  
  ── [4] Invalid Reference ───────────────────────────────────────────────────────
  ⓧ Fields below are not one of valid references.
  
    Class `NA`
    \- Object [ID:2]
       +- 3: PW03,              !- Layer 2
       |- 4: IN02,              !- Layer 3
       \- 5: GP01,              !- Layer 4
       \- 7: missing;           !- Layer 6
  
  ── 1. Error: (unknown) (@test_job.R#3)  ────────────────────────────────────────
  a character vector argument expected
  1: install_ep88() at testthat/test_job.R:3
  2: normalizePath(file.path(path, basename(dl_link)), mustWork = FALSE) at /home/ripley/R/packages/tests32/eplusr.Rcheck/tests/testthat/helper-install.R:23
  3: path.expand(path)
  4: file.path(path, basename(dl_link))
  5: basename(dl_link)
  
  ── 2. Error: (unknown) (@test_param.R#3)  ──────────────────────────────────────
  a character vector argument expected
  1: install_ep88() at testthat/test_param.R:3
  2: normalizePath(file.path(path, basename(dl_link)), mustWork = FALSE) at /home/ripley/R/packages/tests32/eplusr.Rcheck/tests/testthat/helper-install.R:23
  3: path.expand(path)
  4: file.path(path, basename(dl_link)) at /home/ripley/R/packages/tests32/eplusr.Rcheck/tests/testthat/helper-install.R:23
  5: basename(dl_link) at /home/ripley/R/packages/tests32/eplusr.Rcheck/tests/testthat/helper-install.R:23
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  OK: 304 SKIPPED: 0 FAILED: 2
  1. Error: (unknown) (@test_job.R#3) 
  2. Error: (unknown) (@test_param.R#3) 
  
  Error: testthat unit tests failed
  Execution halted