CRAN Package Check Results for Package antaresProcessing

Last updated on 2019-03-24 11:50:57 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.17.0 5.94 94.68 100.62 ERROR
r-devel-linux-x86_64-debian-gcc 0.17.0 4.75 315.67 320.42 OK
r-devel-linux-x86_64-fedora-clang 0.17.0 160.93 OK
r-devel-linux-x86_64-fedora-gcc 0.17.0 143.64 OK
r-devel-windows-ix86+x86_64 0.17.0 20.00 209.00 229.00 OK
r-patched-linux-x86_64 0.17.0 3.29 252.12 255.41 OK
r-patched-solaris-x86 0.17.0 170.90 OK
r-release-linux-x86_64 0.17.0 0.52 2.88 3.40 ERROR
r-release-windows-ix86+x86_64 0.17.0 10.00 142.00 152.00 OK
r-release-osx-x86_64 0.17.0 OK
r-oldrel-windows-ix86+x86_64 0.17.0 7.00 155.00 162.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: whether package can be installed
Result: WARN
    Found the following significant warnings:
     Warning: unable to re-encode 'ExternalDependency.R' line 1
     Warning: unable to re-encode 'addDownwardMargin.R' line 1
     Warning: unable to re-encode 'addExportAndImport.R' line 1
     Warning: unable to re-encode 'addMonotones.R' line 1
     Warning: unable to re-encode 'addNetLoad.R' line 1
     Warning: unable to re-encode 'addUpwardMargin.R' line 1
     Warning: unable to re-encode 'addloadFactorLink.R' line 1
     Warning: unable to re-encode 'aggregateMcYears.R' line 1
     Warning: unable to re-encode 'checkColumns.R' line 1
     Warning: unable to re-encode 'compare.R' line 1
     Warning: unable to re-encode 'correctBalance.R' line 1
     Warning: unable to re-encode 'fillClusterDesc.R' line 1
     Warning: unable to re-encode 'getValues.R' line 1
     Warning: unable to re-encode 'loadFactor.R' line 1
     Warning: unable to re-encode 'mergeAllAntaresData.R' line 1
     Warning: unable to re-encode 'modulation.R' line 1
     Warning: unable to re-encode 'netLoadRamp.R' line 1
     Warning: unable to re-encode 'surplus.R' line 1
     Warning: unable to re-encode 'surplusClusters.R' line 1
     Warning: unable to re-encode 'surplusSectors.R' line 1
     Warning: unable to re-encode 'synthesize.R' line 1
     Warning: unable to re-encode 'thermalGeneration.R' line 1
     Warning: unable to re-encode 'zzz.R' line 1
Flavor: r-devel-linux-x86_64-debian-clang

Version: 0.17.0
Check: tests
Result: ERROR
     Running 'testthat.R' [52s/56s]
    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: whether package can be installed
Result: ERROR
    Installation failed.
Flavor: r-release-linux-x86_64

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