CRAN Package Check Results for Package antaresViz

Last updated on 2018-11-21 16:48:09 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.15.0 15.27 248.48 263.75 NOTE
r-devel-linux-x86_64-debian-gcc 0.15.0 13.90 178.14 192.04 OK
r-devel-linux-x86_64-fedora-clang 0.15.0 294.93 OK
r-devel-linux-x86_64-fedora-gcc 0.15.0 271.21 OK
r-devel-windows-ix86+x86_64 0.15.0 51.00 407.00 458.00 OK
r-patched-linux-x86_64 0.15.0 15.50 216.57 232.07 OK
r-patched-solaris-x86 0.15.0 373.80 ERROR
r-release-linux-x86_64 0.15.0 12.47 216.83 229.30 OK
r-release-windows-ix86+x86_64 0.15.0 30.00 412.00 442.00 OK
r-release-osx-x86_64 0.15.0 OK
r-oldrel-windows-ix86+x86_64 0.15.0 25.00 271.00 296.00 NOTE
r-oldrel-osx-x86_64 0.15.0 NOTE

Check Details

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

Version: 0.15.0
Check: tests
Result: ERROR
     Running ‘testthat.R’ [98s/99s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(antaresViz)
     Loading required package: antaresRead
     Loading required package: antaresProcessing
    
     Attaching package: 'antaresProcessing'
    
     The following object is masked from 'package:testthat':
    
     compare
    
     Loading required package: spMaps
     Loading required package: sp
     Loading required package: raster
    
     Attaching package: 'raster'
    
     The following object is masked from 'package:antaresProcessing':
    
     getValues
    
     Loading required package: rgeos
     rgeos version: 0.4-2, (SVN revision 581)
     GEOS runtime version: 3.6.3-CAPI-1.10.3
     Linking to sp version: 1.3-1
     Polygon checking: TRUE
    
     >
     > test_check("antaresViz")
     ── 1. Error: (unknown) (@test-h5Request.R#3) ──────────────────────────────────
     HDF5. File accessibilty. Unable to open file.
     1: describe("h5", {
     if (.requireRhdf5_Antares(stopP = FALSE)) {
     suppressMessages(writeAntaresH5(pathtemp, overwrite = TRUE))
     optsH5 <- setSimulationPath(pathtemp)
     expect_true(class(.getDateRange(optsH5, "hourly")) == "Date")
     expect_true(class(.getGraphFunction("ts")) == "function")
     fid <- rhdf5::H5Fopen(optsH5$h5path)
     expect_true(all(.getTimeStep(fid) %in% c("hourly", "daily", "weekly", "monthly",
     "annual")))
     expect_true(length(.getElements(optsH5, "areas", fid, "hourly")$areas) ==
     9)
     expect_true(length(.getElements(optsH5, "clusters", fid, "hourly")$clusters) ==
     7)
     expect_true(identical(.getClustersNames(fid, "hourly"), .getElements(optsH5,
     "clusters", fid, "hourly")$clusters))
     expect_true(length(.getVariablesH5(fid, "hourly", "areas")$areas) == 29)
     expect_true(length(.getTableInH5(fid, "hourly")) == 4)
     .tryCloseH5()
     }
     }) at testthat/test-h5Request.R:3
     2: eval(substitute(code), describe_environment)
     3: eval(substitute(code), describe_environment)
     4: suppressMessages(writeAntaresH5(pathtemp, overwrite = TRUE)) at testthat/test-h5Request.R:5
     5: withCallingHandlers(expr, message = function(c) invokeRestart("muffleMessage"))
     6: writeAntaresH5(pathtemp, overwrite = TRUE)
     7: .writeAntaresH5Fun(path = path, timeSteps = timeSteps, opts = opts, writeMcAll = writeMcAll,
     compress = compress, misc = misc, thermalAvailabilities = thermalAvailabilities,
     hydroStorage = hydroStorage, hydroStorageMaxPower = hydroStorageMaxPower, reserve = reserve,
     linkCapacity = linkCapacity, mustRun = mustRun, thermalModulation = thermalModulation,
     removeVirtualAreas = removeVirtualAreas, storageFlexibility = storageFlexibility,
     production = production, reassignCosts = reassignCosts, newCols = newCols, supressMessages = supressMessages)
     8: rhdf5::h5createFile(path)
     9: H5Fcreate(file)
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     OK: 265 SKIPPED: 4 FAILED: 1
     1. Error: (unknown) (@test-h5Request.R#3)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-patched-solaris-x86

Version: 0.15.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