Running ‘testthat.R’ [57s/80s]
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")
  Failed with error:  'there is no package called 'rhdf5''
  ── 1. Error: h5 : processing, write results (@test-h5_processing.R#13)  ────────
  object 'h5file' not found
  1: skipFunctionH5() at testthat/test-h5_processing.R:13
  2: skip_if(is.null(h5file), "h5file is null") at testthat/test-h5_processing.R:5
  3: isTRUE(condition)
  
  ── 2. Error: h5 : processing, write results mcAll (@test-h5_processing.R#38)  ──
  object 'h5file' not found
  1: skipFunctionH5() at testthat/test-h5_processing.R:38
  2: skip_if(is.null(h5file), "h5file is null") at testthat/test-h5_processing.R:5
  3: isTRUE(condition)
  
  ── 3. Error: h5 : all data (@test-h5_processing.R#63)  ─────────────────────────
  object 'h5file' not found
  1: skipFunctionH5() at testthat/test-h5_processing.R:63
  2: skip_if(is.null(h5file), "h5file is null") at testthat/test-h5_processing.R:5
  3: isTRUE(condition)
  
  ── 4. Error: h5 : processing calc by user (@test-h5_processing.R#79)  ──────────
  object 'h5file' not found
  1: skipFunctionH5() at testthat/test-h5_processing.R:79
  2: skip_if(is.null(h5file), "h5file is null") at testthat/test-h5_processing.R:5
  3: isTRUE(condition)
  
  ── 5. Error: h5 : processing calc by straitements (@test-h5_processing.R#93)  ──
  object 'h5file' not found
  1: skipFunctionH5() at testthat/test-h5_processing.R:93
  2: skip_if(is.null(h5file), "h5file is null") at testthat/test-h5_processing.R:5
  3: isTRUE(condition)
  
  ── 6. Error: h5 : processing calc links clusters discticcts (@test-h5_processing
  object 'h5file' not found
  1: skipFunctionH5() at testthat/test-h5_processing.R:109
  2: skip_if(is.null(h5file), "h5file is null") at testthat/test-h5_processing.R:5
  3: isTRUE(condition)
  
  ── 7. Error: h5 : processing Out_addNetLoad (@test-h5_processing.R#127)  ───────
  object 'h5file' not found
  1: skipFunctionH5() at testthat/test-h5_processing.R:127
  2: skip_if(is.null(h5file), "h5file is null") at testthat/test-h5_processing.R:5
  3: isTRUE(condition)
  
  ── 8. Error: h5 : processing Out_addDownwardMargin (@test-h5_processing.R#138)  
  object 'h5file' not found
  1: skipFunctionH5() at testthat/test-h5_processing.R:138
  2: skip_if(is.null(h5file), "h5file is null") at testthat/test-h5_processing.R:5
  3: isTRUE(condition)
  
  ── 9. Error: h5 : processing Out_addUpwardMargin (@test-h5_processing.R#151)  ──
  object 'h5file' not found
  1: skipFunctionH5() at testthat/test-h5_processing.R:151
  2: skip_if(is.null(h5file), "h5file is null") at testthat/test-h5_processing.R:5
  3: isTRUE(condition)
  
  ── 10. Error: h5 : processing Out_addExportAndImport (@test-h5_processing.R#164)
  object 'h5file' not found
  1: skipFunctionH5() at testthat/test-h5_processing.R:164
  2: skip_if(is.null(h5file), "h5file is null") at testthat/test-h5_processing.R:5
  3: isTRUE(condition)
  
  ── 11. Error: h5 : processing Out_addLoadFactorLink (@test-h5_processing.R#177) 
  object 'h5file' not found
  1: skipFunctionH5() at testthat/test-h5_processing.R:177
  2: skip_if(is.null(h5file), "h5file is null") at testthat/test-h5_processing.R:5
  3: isTRUE(condition)
  
  ── 12. Error: h5 : processing Out_externalDependency (@test-h5_processing.R#187)
  object 'h5file' not found
  1: skipFunctionH5() at testthat/test-h5_processing.R:187
  2: skip_if(is.null(h5file), "h5file is null") at testthat/test-h5_processing.R:5
  3: isTRUE(condition)
  
  ── 13. Error: h5 : processing Out_loadFactor (@test-h5_processing.R#207)  ──────
  object 'h5file' not found
  1: skipFunctionH5() at testthat/test-h5_processing.R:207
  2: skip_if(is.null(h5file), "h5file is null") at testthat/test-h5_processing.R:5
  3: isTRUE(condition)
  
  ── 14. Error: h5 : processing Out_modulation (@test-h5_processing.R#219)  ──────
  object 'h5file' not found
  1: skipFunctionH5() at testthat/test-h5_processing.R:219
  2: skip_if(is.null(h5file), "h5file is null") at testthat/test-h5_processing.R:5
  3: isTRUE(condition)
  
  ── 15. Error: h5 : processing netLoadRamp (@test-h5_processing.R#232)  ─────────
  object 'h5file' not found
  1: skipFunctionH5() at testthat/test-h5_processing.R:232
  2: skip_if(is.null(h5file), "h5file is null") at testthat/test-h5_processing.R:5
  3: isTRUE(condition)
  
  ── 16. Error: h5 : processing surplus (@test-h5_processing.R#249)  ─────────────
  object 'h5file' not found
  1: skipFunctionH5() at testthat/test-h5_processing.R:249
  2: skip_if(is.null(h5file), "h5file is null") at testthat/test-h5_processing.R:5
  3: isTRUE(condition)
  
  ── 17. Error: h5 : Out_surplusClusters (@test-h5_processing.R#272)  ────────────
  object 'h5file' not found
  1: skipFunctionH5() at testthat/test-h5_processing.R:272
  2: skip_if(is.null(h5file), "h5file is null") at testthat/test-h5_processing.R:5
  3: isTRUE(condition)
  
  ── 18. Error: No h5 opts (@test-h5_processing.R#288)  ──────────────────────────
  object 'h5file' not found
  1: skipFunctionH5() at testthat/test-h5_processing.R:288
  2: skip_if(is.null(h5file), "h5file is null") at testthat/test-h5_processing.R:5
  3: isTRUE(condition)
  
  ── 19. Error: Write boolean (@test-h5_processing.R#297)  ───────────────────────
  object 'h5file' not found
  1: skipFunctionH5() at testthat/test-h5_processing.R:297
  2: skip_if(is.null(h5file), "h5file is null") at testthat/test-h5_processing.R:5
  3: isTRUE(condition)
  
  ── 20. Error: Write character (@test-h5_processing.R#304)  ─────────────────────
  object 'h5file' not found
  1: skipFunctionH5() at testthat/test-h5_processing.R:304
  2: skip_if(is.null(h5file), "h5file is null") at testthat/test-h5_processing.R:5
  3: isTRUE(condition)
  
  Failed with error:  'there is no package called 'rhdf5''
  ══ testthat results  ═══════════════════════════════════════════════════════════
  OK: 203 SKIPPED: 0 FAILED: 20
  1. Error: h5 : processing, write results (@test-h5_processing.R#13) 
  2. Error: h5 : processing, write results mcAll (@test-h5_processing.R#38) 
  3. Error: h5 : all data (@test-h5_processing.R#63) 
  4. Error: h5 : processing calc by user (@test-h5_processing.R#79) 
  5. Error: h5 : processing calc by straitements (@test-h5_processing.R#93) 
  6. Error: h5 : processing calc links clusters discticcts (@test-h5_processing.R#109) 
  7. Error: h5 : processing Out_addNetLoad (@test-h5_processing.R#127) 
  8. Error: h5 : processing Out_addDownwardMargin (@test-h5_processing.R#138) 
  9. Error: h5 : processing Out_addUpwardMargin (@test-h5_processing.R#151) 
  1. ...
  
  Error: testthat unit tests failed
  Execution halted