CRAN Package Check Results for Package antaresRead

Last updated on 2021-09-19 04:52:46 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 2.2.8 10.96 188.24 199.20 OK
r-devel-linux-x86_64-debian-gcc 2.2.8 7.55 136.26 143.81 OK
r-devel-linux-x86_64-fedora-clang 2.2.8 231.01 NOTE
r-devel-linux-x86_64-fedora-gcc 2.2.8 230.23 OK
r-devel-windows-x86_64 2.2.8 15.00 241.00 256.00 OK
r-devel-windows-x86_64-gcc10-UCRT 2.2.8 ERROR
r-patched-linux-x86_64 2.2.8 12.13 160.20 172.33 OK
r-patched-solaris-x86 2.2.8 258.80 NOTE
r-release-linux-x86_64 2.2.8 10.09 164.01 174.10 OK
r-release-macos-arm64 2.2.8 NOTE
r-release-macos-x86_64 2.2.8 NOTE
r-release-windows-ix86+x86_64 2.2.8 21.00 204.00 225.00 OK
r-oldrel-macos-x86_64 2.2.8 NOTE
r-oldrel-windows-ix86+x86_64 2.2.8 21.00 207.00 228.00 OK

Check Details

Version: 2.2.8
Check: installed package size
Result: NOTE
     installed size is 5.0Mb
     sub-directories of 1Mb or more:
     test_v8 2.0Mb
     testdata 2.3Mb
Flavors: r-devel-linux-x86_64-fedora-clang, r-patched-solaris-x86, r-release-macos-arm64, r-release-macos-x86_64, r-oldrel-macos-x86_64

Version: 2.2.8
Check: whether package can be installed
Result: WARN
    Found the following significant warnings:
     WARNING: installation-time patches will not be applied, could not get the patches index
Flavor: r-devel-windows-x86_64-gcc10-UCRT

Version: 2.2.8
Check: tests
Result: ERROR
     Running 'testthat.R'
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > #Copyright © 2016 RTE Réseau de transport d’électricité
     >
     > require(testthat)
     Loading required package: testthat
     > require(antaresRead)
     Loading required package: antaresRead
     > require(plyr)
     Loading required package: plyr
     >
     >
     > #Maybe include this in some test-file.R
     > #is.solaris<-function(){
     > # grepl('SunOS',Sys.info()['sysname'])
     > #}
     >
     > #if(!is.solaris()){
     >
     > test_check("antaresRead")
     tar (child): gzip: Cannot exec: No such file or directory
     tar (child): Error is not recoverable: exiting now
     /usr/bin/tar: Child returned status 2
     /usr/bin/tar: Error is not recoverable: exiting now
     tar (child): gzip: Cannot exec: No such file or directory
     tar (child): Error is not recoverable: exiting now
     /usr/bin/tar: Child returned status 2
     /usr/bin/tar: Error is not recoverable: exiting now
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error (test-RemoveInputColumn.R:5:1): (code run outside of `test_that()`) ───
     Error: Directory is not an Antares study.
     Backtrace:
     █
     1. └─base::sapply(...) test-RemoveInputColumn.R:5:0
     2. └─base::lapply(X = X, FUN = FUN, ...)
     3. └─antaresRead:::FUN(X[[i]], ...)
     4. └─antaresRead::setSimulationPath(studyPath) test-RemoveInputColumn.R:8:2
     5. └─antaresRead:::.getPaths(path, simulation)
     ── Error (test-antaresDataTableMethods.R:7:1): (code run outside of `test_that()`) ──
     Error: Directory is not an Antares study.
     Backtrace:
     █
     1. └─base::sapply(...) test-antaresDataTableMethods.R:7:0
     2. └─base::lapply(X = X, FUN = FUN, ...)
     3. └─antaresRead:::FUN(X[[i]], ...)
     4. └─antaresRead::setSimulationPath(studyPath) test-antaresDataTableMethods.R:10:0
     5. └─antaresRead:::.getPaths(path, simulation)
     ── Error (test-asAntaresData.R:7:5): as.antaresDataTable: converts data.frames ──
     Error: Default antares options are not set. You need to run 'setSimulationPath()' to set them.
     Backtrace:
     █
     1. ├─antaresRead::as.antaresDataTable(dt, TRUE, "hourly", "areas") test-asAntaresData.R:7:4
     2. └─antaresRead:::as.antaresDataTable.data.frame(...)
     3. ├─antaresRead:::.addClassAndAttributes(...)
     4. │ └─data.table::setattr(x, "opts", opts)
     5. └─antaresRead::simOptions()
     ── Error (test-asAntaresData.R:13:5): as.antaresDataTable: converts data.tables ──
     Error: Default antares options are not set. You need to run 'setSimulationPath()' to set them.
     Backtrace:
     █
     1. ├─antaresRead::as.antaresDataTable(dt, TRUE, "hourly", "areas") test-asAntaresData.R:13:4
     2. └─antaresRead:::as.antaresDataTable.data.frame(...)
     3. ├─antaresRead:::.addClassAndAttributes(...)
     4. │ └─data.table::setattr(x, "opts", opts)
     5. └─antaresRead::simOptions()
     ── Error (test-asAntaresData.R:19:5): as.antaresDataTable: does not change antaresDatatTables ──
     Error: Default antares options are not set. You need to run 'setSimulationPath()' to set them.
     Backtrace:
     █
     1. ├─antaresRead::as.antaresDataTable(dt, TRUE, "hourly", "areas") test-asAntaresData.R:19:4
     2. └─antaresRead:::as.antaresDataTable.data.frame(...)
     3. ├─antaresRead:::.addClassAndAttributes(...)
     4. │ └─data.table::setattr(x, "opts", opts)
     5. └─antaresRead::simOptions()
     ── Error (test-asAntaresData.R:33:5): as.antaresDataList: converts data.frames ──
     Error: Default antares options are not set. You need to run 'setSimulationPath()' to set them.
     Backtrace:
     █
     1. ├─antaresRead::as.antaresDataList(dt, TRUE, "hourly", "areas") test-asAntaresData.R:33:4
     2. └─antaresRead:::as.antaresDataList.data.frame(...)
     3. ├─antaresRead::as.antaresDataTable(...)
     4. ├─antaresRead:::as.antaresDataTable.data.frame(...)
     5. │ └─antaresRead:::.addClassAndAttributes(...)
     6. │ └─data.table::setattr(x, "opts", opts)
     7. └─antaresRead::simOptions()
     ── Error (test-asAntaresData.R:40:5): as.antaresDataList: converts data.tables ──
     Error: Default antares options are not set. You need to run 'setSimulationPath()' to set them.
     Backtrace:
     █
     1. ├─antaresRead::as.antaresDataList(dt, TRUE, "hourly", "areas") test-asAntaresData.R:40:4
     2. └─antaresRead:::as.antaresDataList.data.frame(...)
     3. ├─antaresRead::as.antaresDataTable(...)
     4. ├─antaresRead:::as.antaresDataTable.data.frame(...)
     5. │ └─antaresRead:::.addClassAndAttributes(...)
     6. │ └─data.table::setattr(x, "opts", opts)
     7. └─antaresRead::simOptions()
     ── Error (test-asAntaresData.R:47:5): as.antaresDataList: converts antaresDataTables ──
     Error: Default antares options are not set. You need to run 'setSimulationPath()' to set them.
     Backtrace:
     █
     1. ├─antaresRead::as.antaresDataTable(dt, TRUE, "hourly", "areas") test-asAntaresData.R:47:4
     2. └─antaresRead:::as.antaresDataTable.data.frame(...)
     3. ├─antaresRead:::.addClassAndAttributes(...)
     4. │ └─data.table::setattr(x, "opts", opts)
     5. └─antaresRead::simOptions()
     ── Error (test-asAntaresData.R:55:5): as.antaresDataList: converts lists of tables ──
     Error: Default antares options are not set. You need to run 'setSimulationPath()' to set them.
     Backtrace:
     █
     1. ├─antaresRead::as.antaresDataList(l, TRUE, "hourly") test-asAntaresData.R:55:4
     2. └─antaresRead:::as.antaresDataList.list(l, TRUE, "hourly")
     3. ├─antaresRead:::.addClassAndAttributes(...)
     4. │ └─antaresRead:::.addClassAndAttributes(...)
     5. │ └─data.table::setattr(x, "opts", opts)
     6. └─antaresRead::simOptions()
     ── Error (test-asAntaresData.R:62:5): as.antaresDataList: does not change antaresDataLists ──
     Error: Default antares options are not set. You need to run 'setSimulationPath()' to set them.
     Backtrace:
     █
     1. ├─antaresRead::as.antaresDataList(dt, TRUE, "hourly", "areas") test-asAntaresData.R:62:4
     2. └─antaresRead:::as.antaresDataList.data.frame(...)
     3. ├─antaresRead::as.antaresDataTable(...)
     4. ├─antaresRead:::as.antaresDataTable.data.frame(...)
     5. │ └─antaresRead:::.addClassAndAttributes(...)
     6. │ └─data.table::setattr(x, "opts", opts)
     7. └─antaresRead::simOptions()
     ── Error (test-bindingConstraints.R:4:1): (code run outside of `test_that()`) ──
     Error: Directory is not an Antares study.
     Backtrace:
     █
     1. └─base::sapply(...) test-bindingConstraints.R:4:0
     2. └─base::lapply(X = X, FUN = FUN, ...)
     3. └─antaresRead:::FUN(X[[i]], ...)
     4. └─antaresRead::setSimulationPath(studyPath, 0) test-bindingConstraints.R:6:0
     5. └─antaresRead:::.getPaths(path, simulation)
     ── Error (test-changeTimeStep.R:4:1): (code run outside of `test_that()`) ──────
     Error: Directory is not an Antares study.
     Backtrace:
     █
     1. └─base::sapply(...) test-changeTimeStep.R:4:0
     2. └─base::lapply(X = X, FUN = FUN, ...)
     3. └─antaresRead:::FUN(X[[i]], ...)
     4. └─antaresRead::setSimulationPath(studyPath) test-changeTimeStep.R:7:0
     5. └─antaresRead:::.getPaths(path, simulation)
     ── Error (test-extractDataList.R:5:1): (code run outside of `test_that()`) ─────
     Error: Directory is not an Antares study.
     Backtrace:
     █
     1. └─base::sapply(...) test-extractDataList.R:5:0
     2. └─base::lapply(X = X, FUN = FUN, ...)
     3. └─antaresRead:::FUN(X[[i]], ...)
     4. └─antaresRead::setSimulationPath(studyPath) test-extractDataList.R:8:2
     5. └─antaresRead:::.getPaths(path, simulation)
     ── Error (test-getIds.R:5:1): (code run outside of `test_that()`) ──────────────
     Error: Directory is not an Antares study.
     Backtrace:
     █
     1. └─base::sapply(...) test-getIds.R:5:0
     2. └─base::lapply(X = X, FUN = FUN, ...)
     3. └─antaresRead:::FUN(X[[i]], ...)
     4. └─antaresRead::setSimulationPath(studyPath) test-getIds.R:7:0
     5. └─antaresRead:::.getPaths(path, simulation)
     ── Error (test-groupByDistrict.R:4:1): (code run outside of `test_that()`) ─────
     Error: Directory is not an Antares study.
     Backtrace:
     █
     1. └─base::sapply(...) test-groupByDistrict.R:4:0
     2. └─base::lapply(X = X, FUN = FUN, ...)
     3. └─antaresRead:::FUN(X[[i]], ...)
     4. └─antaresRead::setSimulationPath(studyPath) test-groupByDistrict.R:6:0
     5. └─antaresRead:::.getPaths(path, simulation)
     ── Error (test-hvdcModification.R:6:1): (code run outside of `test_that()`) ────
     Error: Directory is not an Antares study.
     Backtrace:
     █
     1. └─base::sapply(...) test-hvdcModification.R:6:0
     2. └─base::lapply(X = X, FUN = FUN, ...)
     3. └─antaresRead:::FUN(X[[i]], ...)
     4. └─antaresRead::setSimulationPath(studyPath) test-hvdcModification.R:9:2
     5. └─antaresRead:::.getPaths(path, simulation)
     ── Error (test-mcaggreg.R:4:1): (code run outside of `test_that()`) ────────────
     Error: Directory is not an Antares study.
     Backtrace:
     █
     1. └─antaresRead::setSimulationPath(tail(studyPathS, 1)) test-mcaggreg.R:4:0
     2. └─antaresRead:::.getPaths(path, simulation)
     ── Error (test-ponderate.R:3:1): (code run outside of `test_that()`) ───────────
     Error: Directory is not an Antares study.
     Backtrace:
     █
     1. └─antaresRead::setSimulationPath(studyPathSV8) test-ponderate.R:3:0
     2. └─antaresRead:::.getPaths(path, simulation)
     ── Error (test-ponderateMcAggregation.R:4:1): (code run outside of `test_that()`) ──
     Error: Directory is not an Antares study.
     Backtrace:
     █
     1. └─base::sapply(...) test-ponderateMcAggregation.R:4:0
     2. └─base::lapply(X = X, FUN = FUN, ...)
     3. └─antaresRead:::FUN(X[[i]], ...)
     4. └─antaresRead::setSimulationPath(studyPath) test-ponderateMcAggregation.R:7:2
     5. └─antaresRead:::.getPaths(path, simulation)
     ── Error (test-print.R:3:1): (code run outside of `test_that()`) ───────────────
     Error: Directory is not an Antares study.
     Backtrace:
     █
     1. └─base::sapply(...) test-print.R:3:0
     2. └─base::lapply(X = X, FUN = FUN, ...)
     3. └─antaresRead:::FUN(X[[i]], ...)
     4. └─antaresRead::setSimulationPath(studyPath) test-print.R:5:0
     5. └─antaresRead:::.getPaths(path, simulation)
     ── Error (test-readAntares.R:5:1): (code run outside of `test_that()`) ─────────
     Error: Directory is not an Antares study.
     Backtrace:
     █
     1. └─base::sapply(...) test-readAntares.R:5:0
     2. └─base::lapply(X = X, FUN = FUN, ...)
     3. └─antaresRead:::FUN(X[[i]], ...)
     4. └─antaresRead::setSimulationPath(studyPath) test-readAntares.R:8:2
     5. └─antaresRead:::.getPaths(path, simulation)
     ── Error (test-readAntares_districts.R:4:1): (code run outside of `test_that()`) ──
     Error: Directory is not an Antares study.
     Backtrace:
     █
     1. └─base::sapply(...) test-readAntares_districts.R:4:0
     2. └─base::lapply(X = X, FUN = FUN, ...)
     3. └─antaresRead:::FUN(X[[i]], ...)
     4. └─antaresRead::setSimulationPath(studyPath) test-readAntares_districts.R:6:0
     5. └─antaresRead:::.getPaths(path, simulation)
     ── Error (test-readAntares_inputs.R:5:1): (code run outside of `test_that()`) ──
     Error: Directory is not an Antares study.
     Backtrace:
     █
     1. └─base::sapply(...) test-readAntares_inputs.R:5:0
     2. └─base::lapply(X = X, FUN = FUN, ...)
     3. └─antaresRead:::FUN(X[[i]], ...)
     4. └─antaresRead::setSimulationPath(studyPath) test-readAntares_inputs.R:7:0
     5. └─antaresRead:::.getPaths(path, simulation)
     ── Error (test-readAntares_mustRun.R:4:1): (code run outside of `test_that()`) ──
     Error: Directory is not an Antares study.
     Backtrace:
     █
     1. └─base::sapply(...) test-readAntares_mustRun.R:4:0
     2. └─base::lapply(X = X, FUN = FUN, ...)
     3. └─antaresRead:::FUN(X[[i]], ...)
     4. └─antaresRead::setSimulationPath(studyPath) test-readAntares_mustRun.R:6:0
     5. └─antaresRead:::.getPaths(path, simulation)
     ── Error (test-readAntares_time_columns.R:4:1): (code run outside of `test_that()`) ──
     Error: Directory is not an Antares study.
     Backtrace:
     █
     1. └─base::sapply(...) test-readAntares_time_columns.R:4:0
     2. └─base::lapply(X = X, FUN = FUN, ...)
     3. └─antaresRead:::FUN(X[[i]], ...)
     4. └─antaresRead::setSimulationPath(studyPath) test-readAntares_time_columns.R:6:0
     5. └─antaresRead:::.getPaths(path, simulation)
     ── Error (test-readInputTS.R:4:1): (code run outside of `test_that()`) ─────────
     Error: Directory is not an Antares study.
     Backtrace:
     █
     1. └─base::sapply(...) test-readInputTS.R:4:0
     2. └─base::lapply(X = X, FUN = FUN, ...)
     3. └─antaresRead:::FUN(X[[i]], ...)
     4. └─antaresRead::setSimulationPath(studyPath) test-readInputTS.R:6:0
     5. └─antaresRead:::.getPaths(path, simulation)
     ── Error (test-readLayout.R:3:1): (code run outside of `test_that()`) ──────────
     Error: Directory is not an Antares study.
     Backtrace:
     █
     1. └─base::sapply(...) test-readLayout.R:3:0
     2. └─base::lapply(X = X, FUN = FUN, ...)
     3. └─antaresRead:::FUN(X[[i]], ...)
     4. └─antaresRead::setSimulationPath(studyPath, 1) test-readLayout.R:5:0
     5. └─antaresRead:::.getPaths(path, simulation)
     ── Error (test-read_optim_criteria.R:4:1): (code run outside of `test_that()`) ──
     Error: Directory is not an Antares study.
     Backtrace:
     █
     1. └─base::sapply(...) test-read_optim_criteria.R:4:0
     2. └─base::lapply(X = X, FUN = FUN, ...)
     3. └─antaresRead:::FUN(X[[i]], ...)
     4. └─antaresRead::setSimulationPath(studyPath, 1) test-read_optim_criteria.R:6:0
     5. └─antaresRead:::.getPaths(path, simulation)
     ── Error (test-removeVirtualAreas.R:5:1): (code run outside of `test_that()`) ──
     Error: Directory is not an Antares study.
     Backtrace:
     █
     1. └─base::sapply(...) test-removeVirtualAreas.R:5:0
     2. └─base::lapply(X = X, FUN = FUN, ...)
     3. └─antaresRead:::FUN(X[[i]], ...)
     4. └─antaresRead::setSimulationPath(studyPath) test-removeVirtualAreas.R:7:2
     5. └─antaresRead:::.getPaths(path, simulation)
     ── Error (test-setHvdcAreas.R:6:1): (code run outside of `test_that()`) ────────
     Error: Directory is not an Antares study.
     Backtrace:
     █
     1. └─base::sapply(...) test-setHvdcAreas.R:6:0
     2. └─base::lapply(X = X, FUN = FUN, ...)
     3. └─antaresRead:::FUN(X[[i]], ...)
     4. └─antaresRead::setSimulationPath(studyPath) test-setHvdcAreas.R:9:2
     5. └─antaresRead:::.getPaths(path, simulation)
     ── Error (test-setup.R:40:3): setSimulationPath reads correct values ───────────
     Error: Directory is not an Antares study.
     Backtrace:
     █
     1. └─antaresRead::setSimulationPath(studyPath) test-setup.R:40:2
     2. └─antaresRead:::.getPaths(path, simulation)
     ── Error (test-setup.R:45:3): R option 'antares' is set ────────────────────────
     Error: Directory is not an Antares study.
     Backtrace:
     █
     1. └─antaresRead::setSimulationPath(studyPath) test-setup.R:45:2
     2. └─antaresRead:::.getPaths(path, simulation)
     ── Error (test-setup.R:5:1): (code run outside of `test_that()`) ───────────────
     Error: Directory is not an Antares study.
     Backtrace:
     █
     1. └─base::sapply(...) test-setup.R:5:0
     2. └─base::lapply(X = X, FUN = FUN, ...)
     3. └─antaresRead:::FUN(X[[i]], ...)
     4. └─antaresRead::setSimulationPath(studyPath) test-setup.R:48:0
     5. └─antaresRead:::.getPaths(path, simulation)
     ── Error (test-subset_antaresDataList.R:4:1): (code run outside of `test_that()`) ──
     Error: Directory is not an Antares study.
     Backtrace:
     █
     1. └─base::sapply(...) test-subset_antaresDataList.R:4:0
     2. └─base::lapply(X = X, FUN = FUN, ...)
     3. └─antaresRead:::FUN(X[[i]], ...)
     4. └─antaresRead::setSimulationPath(studyPath) test-subset_antaresDataList.R:6:0
     5. └─antaresRead:::.getPaths(path, simulation)
     ── Error (test-viewAntares.R:3:1): (code run outside of `test_that()`) ─────────
     Error: Directory is not an Antares study.
     Backtrace:
     █
     1. └─base::sapply(...) test-viewAntares.R:3:0
     2. └─base::lapply(X = X, FUN = FUN, ...)
     3. └─antaresRead:::FUN(X[[i]], ...)
     4. └─antaresRead::setSimulationPath(studyPath) test-viewAntares.R:5:0
     5. └─antaresRead:::.getPaths(path, simulation)
    
     [ FAIL 35 | WARN 27 | SKIP 0 | PASS 411 ]
     Error: Test failures
     In addition: Warning messages:
     1: In untar(file.path(sourcedir, studies[s]), exdir = file.path(path0, :
     'C:/msys64/usr/bin/tar --force-local -xf "C:/msys64/home/tomas/ucrt3/svn/ucrt3/r_packages/pkgcheck/CRAN/antaresRead/antaresRead.Rcheck/antaresRead/testdata/antares-test-study.tar.gz" -C "C:/msys64/home/tomas/ucrt3/svn/ucrt3/r_packages/pkgcheck/CRAN/antaresRead/tmp/RtmpMbvoRC/antares-test-study"' returned error code 2
     2: In untar(file.path(sourcedir_V8, studies[s]), exdir = file.path(path0, :
     'C:/msys64/usr/bin/tar --force-local -xf "C:/msys64/home/tomas/ucrt3/svn/ucrt3/r_packages/pkgcheck/CRAN/antaresRead/antaresRead.Rcheck/antaresRead/test_v8/test_case_study_v8.tar.gz" -C "C:/msys64/home/tomas/ucrt3/svn/ucrt3/r_packages/pkgcheck/CRAN/antaresRead/tmp/RtmpMbvoRC/test_case_study_v8"' returned error code 2
     Execution halted
Flavor: r-devel-windows-x86_64-gcc10-UCRT

Version: 2.2.8
Check: PDF version of manual
Result: WARN
    LaTeX errors when creating PDF version.
    This typically indicates Rd problems.
Flavor: r-devel-windows-x86_64-gcc10-UCRT

Version: 2.2.8
Check: PDF version of manual without hyperrefs or index
Result: ERROR
    Re-running with no redirection of stdout/stderr.
Flavor: r-devel-windows-x86_64-gcc10-UCRT