Running ‘testthat.R’ [29s/42s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(antaresProcessing)
  Loading required package: antaresRead
  
  Attaching package: 'antaresProcessing'
  
  The following object is masked from 'package:testthat':
  
      compare
  
  > 
  > test_check("antaresProcessing")
  ── 1. Error: h5 : processing, write results (@test-h5_processing.R#7)  ─────────
  HDF5. File accessibilty. Unable to open file.
  1: setSimulationPath(h5file) at testthat/test-h5_processing.R:7
  2: setSimulationPathH5(path)
  3: .getOptionsH5(path)
  4: rhdf5::H5Fopen(path)
  
  ── 2. Error: h5 : processing, write results mcAll (@test-h5_processing.R#30)  ──
  HDF5. File accessibilty. Unable to open file.
  1: setSimulationPath(h5file) at testthat/test-h5_processing.R:30
  2: setSimulationPathH5(path)
  3: .getOptionsH5(path)
  4: rhdf5::H5Fopen(path)
  
  ── 3. Error: h5 : all data (@test-h5_processing.R#51)  ─────────────────────────
  HDF5. File accessibilty. Unable to open file.
  1: setSimulationPath(h5file) at testthat/test-h5_processing.R:51
  2: setSimulationPathH5(path)
  3: .getOptionsH5(path)
  4: rhdf5::H5Fopen(path)
  
  ── 4. Error: h5 : processing calc by user (@test-h5_processing.R#63)  ──────────
  HDF5. File accessibilty. Unable to open file.
  1: setSimulationPath(h5file) at testthat/test-h5_processing.R:63
  2: setSimulationPathH5(path)
  3: .getOptionsH5(path)
  4: rhdf5::H5Fopen(path)
  
  ── 5. Failure: h5 : processing calc by straitements (@test-h5_processing.R#83)  
  identical(UpwardMargin_out$interconnectedUpwardMargin, UpwardMargin_recalc$areas$interconnectedUpwardMargin) isn't true.
  
  ── 6. Failure: h5 : processing calc by straitements (@test-h5_processing.R#86)  
  identical(UpwardMargin_out$isolatedUpwardMargin, UpwardMargin_recalc$areas$isolatedUpwardMargin) isn't true.
  
  ── 7. Error: h5 : processing calc links clusters discticcts (@test-h5_processing
  HDF5. File accessibilty. Unable to open file.
  1: setSimulationPath(h5file) at testthat/test-h5_processing.R:92
  2: setSimulationPathH5(path)
  3: .getOptionsH5(path)
  4: rhdf5::H5Fopen(path)
  
  ── 8. Error: h5 : processing Out_addNetLoad (@test-h5_processing.R#104)  ───────
  HDF5. File accessibilty. Unable to open file.
  1: setSimulationPath(h5file) at testthat/test-h5_processing.R:104
  2: setSimulationPathH5(path)
  3: .getOptionsH5(path)
  4: rhdf5::H5Fopen(path)
  
  ── 9. Error: h5 : processing Out_addDownwardMargin (@test-h5_processing.R#115)  
  HDF5. File accessibilty. Unable to open file.
  1: setSimulationPath(h5file) at testthat/test-h5_processing.R:115
  2: setSimulationPathH5(path)
  3: .getOptionsH5(path)
  4: rhdf5::H5Fopen(path)
  
  ── 10. Error: h5 : processing Out_addUpwardMargin (@test-h5_processing.R#128)  ─
  HDF5. File accessibilty. Unable to open file.
  1: setSimulationPath(h5file) at testthat/test-h5_processing.R:128
  2: setSimulationPathH5(path)
  3: .getOptionsH5(path)
  4: rhdf5::H5Fopen(path)
  
  ── 11. Error: h5 : processing Out_addExportAndImport (@test-h5_processing.R#141)
  HDF5. File accessibilty. Unable to open file.
  1: setSimulationPath(h5file) at testthat/test-h5_processing.R:141
  2: setSimulationPathH5(path)
  3: .getOptionsH5(path)
  4: rhdf5::H5Fopen(path)
  
  ── 12. Error: h5 : processing Out_addLoadFactorLink (@test-h5_processing.R#153) 
  HDF5. File accessibilty. Unable to open file.
  1: setSimulationPath(h5file) at testthat/test-h5_processing.R:153
  2: setSimulationPathH5(path)
  3: .getOptionsH5(path)
  4: rhdf5::H5Fopen(path)
  
  ── 13. Error: h5 : processing Out_externalDependency (@test-h5_processing.R#167)
  HDF5. File accessibilty. Unable to open file.
  1: setSimulationPath(h5file) at testthat/test-h5_processing.R:167
  2: setSimulationPathH5(path)
  3: .getOptionsH5(path)
  4: rhdf5::H5Fopen(path)
  
  ── 14. Error: h5 : processing Out_loadFactor (@test-h5_processing.R#188)  ──────
  HDF5. File accessibilty. Unable to open file.
  1: setSimulationPath(h5file) at testthat/test-h5_processing.R:188
  2: setSimulationPathH5(path)
  3: .getOptionsH5(path)
  4: rhdf5::H5Fopen(path)
  
  ── 15. Error: h5 : processing Out_modulation (@test-h5_processing.R#201)  ──────
  HDF5. File accessibilty. Unable to open file.
  1: setSimulationPath(h5file) at testthat/test-h5_processing.R:201
  2: setSimulationPathH5(path)
  3: .getOptionsH5(path)
  4: rhdf5::H5Fopen(path)
  
  ── 16. Error: h5 : processing netLoadRamp (@test-h5_processing.R#216)  ─────────
  HDF5. File accessibilty. Unable to open file.
  1: setSimulationPath(h5file) at testthat/test-h5_processing.R:216
  2: setSimulationPathH5(path)
  3: .getOptionsH5(path)
  4: rhdf5::H5Fopen(path)
  
  ── 17. Error: h5 : processing surplus (@test-h5_processing.R#234)  ─────────────
  HDF5. File accessibilty. Unable to open file.
  1: setSimulationPath(h5file) at testthat/test-h5_processing.R:234
  2: setSimulationPathH5(path)
  3: .getOptionsH5(path)
  4: rhdf5::H5Fopen(path)
  
  ── 18. Error: h5 : Out_surplusClusters (@test-h5_processing.R#256)  ────────────
  HDF5. File accessibilty. Unable to open file.
  1: setSimulationPath(h5file) at testthat/test-h5_processing.R:256
  2: setSimulationPathH5(path)
  3: .getOptionsH5(path)
  4: rhdf5::H5Fopen(path)
  
  ── 19. Error: No h5 opts (@test-h5_processing.R#271)  ──────────────────────────
  HDF5. File accessibilty. Unable to open file.
  1: setSimulationPath(h5file) at testthat/test-h5_processing.R:271
  2: setSimulationPathH5(path)
  3: .getOptionsH5(path)
  4: rhdf5::H5Fopen(path)
  
  ── 20. Error: Write boolean (@test-h5_processing.R#279)  ───────────────────────
  HDF5. File accessibilty. Unable to open file.
  1: setSimulationPath(h5file) at testthat/test-h5_processing.R:279
  2: setSimulationPathH5(path)
  3: .getOptionsH5(path)
  4: rhdf5::H5Fopen(path)
  
  ── 21. Error: Write character (@test-h5_processing.R#286)  ─────────────────────
  HDF5. File accessibilty. Unable to open file.
  1: setSimulationPath(h5file) at testthat/test-h5_processing.R:286
  2: setSimulationPathH5(path)
  3: .getOptionsH5(path)
  4: rhdf5::H5Fopen(path)
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  OK: 205 SKIPPED: 0 FAILED: 21
  1. Error: h5 : processing, write results (@test-h5_processing.R#7) 
  2. Error: h5 : processing, write results mcAll (@test-h5_processing.R#30) 
  3. Error: h5 : all data (@test-h5_processing.R#51) 
  4. Error: h5 : processing calc by user (@test-h5_processing.R#63) 
  5. Failure: h5 : processing calc by straitements (@test-h5_processing.R#83) 
  6. Failure: h5 : processing calc by straitements (@test-h5_processing.R#86) 
  7. Error: h5 : processing calc links clusters discticcts (@test-h5_processing.R#92) 
  8. Error: h5 : processing Out_addNetLoad (@test-h5_processing.R#104) 
  9. Error: h5 : processing Out_addDownwardMargin (@test-h5_processing.R#115) 
  1. ...
  
  Error: testthat unit tests failed
  Execution halted