Last updated on 2019-10-31 00:50:49 CET.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 0.15.0 | 24.06 | 330.32 | 354.38 | NOTE | |
r-devel-linux-x86_64-debian-gcc | 0.15.0 | 18.22 | 298.55 | 316.77 | NOTE | |
r-devel-linux-x86_64-fedora-clang | 0.15.0 | 348.04 | OK | |||
r-devel-linux-x86_64-fedora-gcc | 0.15.0 | 306.44 | OK | |||
r-devel-windows-ix86+x86_64 | 0.15.0 | 83.00 | 438.00 | 521.00 | NOTE | |
r-patched-linux-x86_64 | 0.15.0 | 22.76 | 298.00 | 320.76 | OK | |
r-patched-solaris-x86 | 0.15.0 | 385.90 | ERROR | |||
r-release-linux-x86_64 | 0.15.0 | 24.06 | 288.06 | 312.12 | OK | |
r-release-windows-ix86+x86_64 | 0.15.0 | 62.00 | 307.00 | 369.00 | OK | |
r-release-osx-x86_64 | 0.15.0 | NOTE | ||||
r-oldrel-windows-ix86+x86_64 | 0.15.0 | 45.00 | 443.00 | 488.00 | OK | |
r-oldrel-osx-x86_64 | 0.15.0 | OK |
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’ [89s/89s]
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-2, (SVN revision 621)
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