CRAN Package Check Results for Package antaresProcessing

Last updated on 2019-02-16 19:47:15 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.17.0 4.93 262.46 267.39 ERROR
r-devel-linux-x86_64-debian-gcc 0.17.0 4.02 326.68 330.70 OK
r-devel-linux-x86_64-fedora-clang 0.17.0 181.54 OK
r-devel-linux-x86_64-fedora-gcc 0.17.0 208.44 OK
r-devel-windows-ix86+x86_64 0.17.0 12.00 202.00 214.00 OK
r-patched-linux-x86_64 0.17.0 3.89 244.10 247.99 OK
r-patched-solaris-x86 0.17.0 177.40 OK
r-release-linux-x86_64 0.17.0 OK
r-release-windows-ix86+x86_64 0.17.0 8.00 135.00 143.00 OK
r-release-osx-x86_64 0.17.0 OK
r-oldrel-windows-ix86+x86_64 0.17.0 11.00 278.00 289.00 NOTE
r-oldrel-osx-x86_64 0.17.0 NOTE

Check Details

Version: 0.17.0
Check: package dependencies
Result: NOTE
    Package suggested but not available for checking: ‘rhdf5’
Flavor: r-devel-linux-x86_64-debian-clang

Version: 0.17.0
Check: tests
Result: ERROR
     Running ‘testthat.R’ [219s/86s]
    Running R code in ‘testthat.R’ had CPU time 2.5 times elapsed time
    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 correctBalance when mcYear is set to NULL (@test-co
     object 'h5file' not found
     1: .skipFunctionH5(h5file) at testthat/test-correctBalance.R:72
     2: testthat::skip_if(is.null(h5file), "h5file is null")
     3: isTRUE(condition)
    
     ── 2. Error: h5 : processing correctBalance when mcYear is set to 1 (@test-corre
     object 'h5file' not found
     1: .skipFunctionH5(h5file) at testthat/test-correctBalance.R:108
     2: testthat::skip_if(is.null(h5file), "h5file is null")
     3: isTRUE(condition)
    
     ── 3. Error: h5 : processing correctBalance when mcYear is set to 1 for weekly o
     object 'h5file' not found
     1: .skipFunctionH5(h5file) at testthat/test-correctBalance.R:146
     2: testthat::skip_if(is.null(h5file), "h5file is null")
     3: isTRUE(condition)
    
     ── 4. Error: h5 : processing correctBalance when mcYear is set to 1 for monthly
     object 'h5file' not found
     1: .skipFunctionH5(h5file) at testthat/test-correctBalance.R:227
     2: testthat::skip_if(is.null(h5file), "h5file is null")
     3: isTRUE(condition)
    
     ── 5. Error: h5 : processing correctBalance with addProcessingH5 (@test-correctB
     object 'h5file' not found
     1: .skipFunctionH5(h5file) at testthat/test-correctBalance.R:273
     2: testthat::skip_if(is.null(h5file), "h5file is null")
     3: isTRUE(condition)
    
     Failed with error: 'there is no package called 'rhdf5''
     ── 6. Error: h5 : processing, write results (@test-h5_processing.R#4) ─────────
     object 'h5file' not found
     1: .skipFunctionH5(h5file) at testthat/test-h5_processing.R:4
     2: testthat::skip_if(is.null(h5file), "h5file is null")
     3: isTRUE(condition)
    
     ── 7. Error: h5 : processing, write results mcAll (@test-h5_processing.R#30) ──
     object 'h5file' not found
     1: .skipFunctionH5(h5file) at testthat/test-h5_processing.R:30
     2: testthat::skip_if(is.null(h5file), "h5file is null")
     3: isTRUE(condition)
    
     ── 8. Error: h5 : all data (@test-h5_processing.R#56) ─────────────────────────
     object 'h5file' not found
     1: .skipFunctionH5(h5file) at testthat/test-h5_processing.R:56
     2: testthat::skip_if(is.null(h5file), "h5file is null")
     3: isTRUE(condition)
    
     ── 9. Error: h5 : processing calc by user (@test-h5_processing.R#72) ──────────
     object 'h5file' not found
     1: .skipFunctionH5(h5file) at testthat/test-h5_processing.R:72
     2: testthat::skip_if(is.null(h5file), "h5file is null")
     3: isTRUE(condition)
    
     ── 10. Error: h5 : processing calc by straitements (@test-h5_processing.R#86) ─
     object 'h5file' not found
     1: .skipFunctionH5(h5file) at testthat/test-h5_processing.R:86
     2: testthat::skip_if(is.null(h5file), "h5file is null")
     3: isTRUE(condition)
    
     ── 11. Error: h5 : processing calc links clusters discticcts (@test-h5_processin
     object 'h5file' not found
     1: .skipFunctionH5(h5file) at testthat/test-h5_processing.R:102
     2: testthat::skip_if(is.null(h5file), "h5file is null")
     3: isTRUE(condition)
    
     ── 12. Error: h5 : processing Out_addNetLoad (@test-h5_processing.R#120) ──────
     object 'h5file' not found
     1: .skipFunctionH5(h5file) at testthat/test-h5_processing.R:120
     2: testthat::skip_if(is.null(h5file), "h5file is null")
     3: isTRUE(condition)
    
     ── 13. Error: h5 : processing Out_addDownwardMargin (@test-h5_processing.R#131)
     object 'h5file' not found
     1: .skipFunctionH5(h5file) at testthat/test-h5_processing.R:131
     2: testthat::skip_if(is.null(h5file), "h5file is null")
     3: isTRUE(condition)
    
     ── 14. Error: h5 : processing Out_addUpwardMargin (@test-h5_processing.R#144) ─
     object 'h5file' not found
     1: .skipFunctionH5(h5file) at testthat/test-h5_processing.R:144
     2: testthat::skip_if(is.null(h5file), "h5file is null")
     3: isTRUE(condition)
    
     ── 15. Error: h5 : processing Out_addExportAndImport (@test-h5_processing.R#157)
     object 'h5file' not found
     1: .skipFunctionH5(h5file) at testthat/test-h5_processing.R:157
     2: testthat::skip_if(is.null(h5file), "h5file is null")
     3: isTRUE(condition)
    
     ── 16. Error: h5 : processing Out_addLoadFactorLink (@test-h5_processing.R#170)
     object 'h5file' not found
     1: .skipFunctionH5(h5file) at testthat/test-h5_processing.R:170
     2: testthat::skip_if(is.null(h5file), "h5file is null")
     3: isTRUE(condition)
    
     ── 17. Error: h5 : processing Out_externalDependency (@test-h5_processing.R#180)
     object 'h5file' not found
     1: .skipFunctionH5(h5file) at testthat/test-h5_processing.R:180
     2: testthat::skip_if(is.null(h5file), "h5file is null")
     3: isTRUE(condition)
    
     ── 18. Error: h5 : processing Out_loadFactor (@test-h5_processing.R#200) ──────
     object 'h5file' not found
     1: .skipFunctionH5(h5file) at testthat/test-h5_processing.R:200
     2: testthat::skip_if(is.null(h5file), "h5file is null")
     3: isTRUE(condition)
    
     ── 19. Error: h5 : processing Out_modulation (@test-h5_processing.R#212) ──────
     object 'h5file' not found
     1: .skipFunctionH5(h5file) at testthat/test-h5_processing.R:212
     2: testthat::skip_if(is.null(h5file), "h5file is null")
     3: isTRUE(condition)
    
     ── 20. Error: h5 : processing netLoadRamp (@test-h5_processing.R#225) ─────────
     object 'h5file' not found
     1: .skipFunctionH5(h5file) at testthat/test-h5_processing.R:225
     2: testthat::skip_if(is.null(h5file), "h5file is null")
     3: isTRUE(condition)
    
     ── 21. Error: h5 : processing surplus (@test-h5_processing.R#242) ─────────────
     object 'h5file' not found
     1: .skipFunctionH5(h5file) at testthat/test-h5_processing.R:242
     2: testthat::skip_if(is.null(h5file), "h5file is null")
     3: isTRUE(condition)
    
     ── 22. Error: h5 : Out_surplusClusters (@test-h5_processing.R#265) ────────────
     object 'h5file' not found
     1: .skipFunctionH5(h5file) at testthat/test-h5_processing.R:265
     2: testthat::skip_if(is.null(h5file), "h5file is null")
     3: isTRUE(condition)
    
     ── 23. Error: No h5 opts (@test-h5_processing.R#281) ──────────────────────────
     object 'h5file' not found
     1: .skipFunctionH5(h5file) at testthat/test-h5_processing.R:281
     2: testthat::skip_if(is.null(h5file), "h5file is null")
     3: isTRUE(condition)
    
     ── 24. Error: Write boolean (@test-h5_processing.R#290) ───────────────────────
     object 'h5file' not found
     1: .skipFunctionH5(h5file) at testthat/test-h5_processing.R:290
     2: testthat::skip_if(is.null(h5file), "h5file is null")
     3: isTRUE(condition)
    
     ── 25. Error: Write character (@test-h5_processing.R#297) ─────────────────────
     object 'h5file' not found
     1: .skipFunctionH5(h5file) at testthat/test-h5_processing.R:297
     2: testthat::skip_if(is.null(h5file), "h5file is null")
     3: isTRUE(condition)
    
     Failed with error: 'there is no package called 'rhdf5''
     ══ testthat results ═══════════════════════════════════════════════════════════
     OK: 381 SKIPPED: 0 FAILED: 25
     1. Error: h5 : processing correctBalance when mcYear is set to NULL (@test-correctBalance.R#72)
     2. Error: h5 : processing correctBalance when mcYear is set to 1 (@test-correctBalance.R#108)
     3. Error: h5 : processing correctBalance when mcYear is set to 1 for weekly or monthly data (@test-correctBalance.R#146)
     4. Error: h5 : processing correctBalance when mcYear is set to 1 for monthly data on districts (@test-correctBalance.R#227)
     5. Error: h5 : processing correctBalance with addProcessingH5 (@test-correctBalance.R#273)
     6. Error: h5 : processing, write results (@test-h5_processing.R#4)
     7. Error: h5 : processing, write results mcAll (@test-h5_processing.R#30)
     8. Error: h5 : all data (@test-h5_processing.R#56)
     9. Error: h5 : processing calc by user (@test-h5_processing.R#72)
     1. ...
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-devel-linux-x86_64-debian-clang

Version: 0.17.0
Check: dependencies in R code
Result: NOTE
    Missing or unexported object: 'rhdf5::h5closeAll'
Flavors: r-oldrel-windows-ix86+x86_64, r-oldrel-osx-x86_64