CRAN Package Check Results for Package antaresViz

Last updated on 2019-08-17 22:46:21 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.15.0 23.40 343.03 366.43 NOTE
r-devel-linux-x86_64-debian-gcc 0.15.0 20.52 328.43 348.95 NOTE
r-devel-linux-x86_64-fedora-clang 0.15.0 333.26 OK
r-devel-linux-x86_64-fedora-gcc 0.15.0 320.57 OK
r-devel-windows-ix86+x86_64 0.15.0 74.00 431.00 505.00 NOTE
r-patched-linux-x86_64 0.15.0 21.09 302.51 323.60 OK
r-patched-solaris-x86 0.15.0 434.30 ERROR
r-release-linux-x86_64 0.15.0 19.70 302.97 322.67 OK
r-release-windows-ix86+x86_64 0.15.0 49.00 393.00 442.00 OK
r-release-osx-x86_64 0.15.0 NOTE
r-oldrel-windows-ix86+x86_64 0.15.0 50.00 426.00 476.00 OK
r-oldrel-osx-x86_64 0.15.0 OK

Check Details

Version: 0.15.0
Check: package vignettes
Result: NOTE
    Package vignette with placeholder title 'Vignette Title':
     'antaresViz.Rmd'
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-windows-ix86+x86_64

Version: 0.15.0
Check: tests
Result: ERROR
     Running ‘testthat.R’ [107s/125s]
    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.5-1, (SVN revision 614)
     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: 264 | SKIPPED: 4 | WARNINGS: 1 | 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: package dependencies
Result: NOTE
    Package suggested but not available for checking: ‘rhdf5’
Flavor: r-release-osx-x86_64