- using R Under development (unstable) (2025-12-18 r89199)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc-15 (Debian 15.2.0-11) 15.2.0
GNU Fortran (Debian 15.2.0-11) 15.2.0
- running under: Debian GNU/Linux forky/sid
- using session charset: UTF-8
- checking for file ‘antaresRead/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘antaresRead’ version ‘2.9.3’
- package encoding: UTF-8
- checking CRAN incoming feasibility ... [1s/2s] OK
- checking package namespace information ... OK
- checking package dependencies ... OK
- checking if this is a source package ... OK
- checking if there is a namespace ... OK
- checking for executable files ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking serialization versions ... OK
- checking whether package ‘antaresRead’ can be installed ... OK
See the install log for details.
- checking package directory ... OK
- checking for future file timestamps ... OK
- checking ‘build’ directory ... OK
- checking DESCRIPTION meta-information ... OK
- checking top-level files ... OK
- checking for left-over files ... OK
- checking index information ... OK
- checking package subdirectories ... OK
- checking code files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... [1s/2s] OK
- checking whether the package can be loaded with stated dependencies ... [1s/2s] OK
- checking whether the package can be unloaded cleanly ... [1s/2s] OK
- checking whether the namespace can be loaded with stated dependencies ... [1s/2s] OK
- checking whether the namespace can be unloaded cleanly ... [1s/2s] OK
- checking loading without being on the library search path ... [1s/2s] OK
- checking use of S3 registration ... OK
- checking dependencies in R code ... OK
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... [22s/32s] OK
- checking Rd files ... [0s/1s] OK
- checking Rd metadata ... OK
- checking Rd line widths ... OK
- checking Rd cross-references ... OK
- checking for missing documentation entries ... OK
- checking for code/documentation mismatches ... OK
- checking Rd \usage sections ... OK
- checking Rd contents ... OK
- checking for unstated dependencies in examples ... OK
- checking installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [1s/2s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [51s/62s] ERROR
Running ‘testthat.R’ [51s/61s]
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")
Saving _problems/test-RemoveInputColumn-38.R
Saving _problems/test-giveSize-102.R
Saving _problems/test-giveSize-106.R
Saving _problems/test-giveSize-110.R
Saving _problems/test-giveSize-114.R
Saving _problems/test-giveSize-142.R
Saving _problems/test-giveSize-167.R
Saving _problems/test-giveSize-193.R
Saving _problems/test-readAntares-28.R
Saving _problems/test-readAntares-121.R
Saving _problems/test-readAntaresClusters-10.R
Saving _problems/test-readAntaresClusters-27.R
Saving _problems/test-readAntaresClusters-27.R
Saving _problems/test-readAntaresClusters-27.R
Saving _problems/test-readAntaresClusters-27.R
Saving _problems/test-readAntaresClusters-27.R
Importing clustersSTs
|
| | 0%
|
|======================= | 33%
|
|=============================================== | 67%
|
|======================================================================| 100%
Importing clustersSTs
|
| | 0%
|
|======================================================================| 100%
Saving _problems/test-readAntares_STclusters-22.R
Saving _problems/test-readAntares_STclusters-41.R
Saving _problems/test-readAntares_STclusters-50.R
Importing areas
|
| | 0%
|
|======================= | 33%
|
|=============================================== | 67%
|
|======================================================================| 100%
Importing binding constraints
Saving _problems/test-readAntares_districts-12.R
Saving _problems/test-readAntares_inputs-17.R
Saving _problems/test-readAntares_mustRun-9.R
Saving _problems/test-readClusterDesc-9.R
Saving _problems/test-readClusterDesc-125.R
Saving _problems/test-readClusterDesc-234.R
Saving _problems/test-readClusterDesc-336.R
Saving _problems/test-readClusterDesc-385.R
Saving _problems/test-readClusterDesc-395.R
Saving _problems/test-readClusterDesc-405.R
Saving _problems/test-readClusterDesc-476.R
Saving _problems/test-readClusterDesc-486.R
Saving _problems/test-readClusterDesc-496.R
Saving _problems/test-readInputClusters-11.R
Saving _problems/test-readInputClusters-21.R
Saving _problems/test-readInputClusters-32.R
Saving _problems/test-readInputClusters-42.R
Saving _problems/test-readInputClusters-48.R
Saving _problems/test-readInputClusters-67.R
Saving _problems/test-readInputClusters-100.R
Importing mingen
|
| | 0%
|
|======================= | 33%
|
|=============================================== | 67%
|
|======================================================================| 100%
Saving _problems/test-removeVirtualAreas-51.R
Saving _problems/test-removeVirtualAreas-103.R
Saving _problems/test-removeVirtualAreas-259.R
Saving _problems/test-removeVirtualAreas-360.R
[ FAIL 43 | WARN 14 | SKIP 2 | PASS 938 ]
══ Skipped tests (2) ═══════════════════════════════════════════════════════════
• Functions use warnings -- tests skipped for now (1): 'test-digest.R:5:1'
• empty test (1): 'test-print.R:26:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-RemoveInputColumn.R:38:27'): (code run outside of `test_that()`) ──
Error in ``[.data.table`(ref_filter_by_vers, , `:=`(count, .N), by = select_col, keyby = TRUE)`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─base::sapply(...) at test-RemoveInputColumn.R:5:1
2. └─base::lapply(X = X, FUN = FUN, ...)
3. └─antaresRead (local) FUN(X[[i]], ...)
4. ├─base::suppressWarnings(...) at test-RemoveInputColumn.R:38:3
5. │ └─base::withCallingHandlers(...)
6. └─antaresRead::readAntares(...) at test-RemoveInputColumn.R:38:27
7. └─antaresRead:::.importOutputForClusters(...)
8. └─antaresRead:::.importOutputForClusters_w_mustrun(...)
9. └─antaresRead::readClusterDesc(opts)
10. └─antaresRead:::.readClusterDesc(...)
11. └─antaresRead:::get_input_cluster_properties(...)
12. ├─ref_filter_by_vers[, `:=`(count, .N), by = select_col, keyby = TRUE]
13. └─data.table:::`[.data.table`(...)
── Failure ('test-giveSize.R:102:3'): Check the size of the object to get ──────
Expected `size` to equal `expected_size`.
Differences:
1/1 mismatches
[1] 0 - 1512 == -1512
── Failure ('test-giveSize.R:106:3'): Check the size of the object to get ──────
Expected `size` to equal `expected_size`.
Differences:
1/1 mismatches
[1] 0 - 1008 == -1008
── Failure ('test-giveSize.R:110:3'): Check the size of the object to get ──────
Expected `size` to equal `expected_size`.
Differences:
1/1 mismatches
[1] 0 - 1466 == -1466
── Failure ('test-giveSize.R:114:3'): Check the size of the object to get ──────
Expected `size` to equal `expected_size`.
Differences:
1/1 mismatches
[1] 0 - 3986 == -3986
── Failure ('test-giveSize.R:142:3'): Check the size of the object to get ──────
Expected `size` to equal `expected_size`.
Differences:
1/1 mismatches
[1] 0 - 1008 == -1008
── Failure ('test-giveSize.R:167:3'): Check the size of the object to get ──────
Expected `size` to equal `expected_size`.
Differences:
1/1 mismatches
[1] 0 - 1512 == -1512
── Failure ('test-giveSize.R:193:3'): Check the size of the object to get ──────
Expected `size` to equal `expected_size`.
Differences:
1/1 mismatches
[1] 0 - 1512 == -1512
── Error ('test-readAntares.R:28:5'): Clusters importation is ok ───────────────
Error in ``[.data.table`(ref_filter_by_vers, , `:=`(count, .N), by = select_col, keyby = TRUE)`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. ├─testthat::expect_equal(nrow(clusters), 24 * 7 * nweeks * nrow(readClusterDesc())) at test-readAntares.R:28:5
2. │ └─testthat::quasi_label(enquo(expected), expected.label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─base::nrow(readClusterDesc())
5. └─antaresRead::readClusterDesc()
6. └─antaresRead:::.readClusterDesc(...)
7. └─antaresRead:::get_input_cluster_properties(...)
8. ├─ref_filter_by_vers[, `:=`(count, .N), by = select_col, keyby = TRUE]
9. └─data.table:::`[.data.table`(...)
── Error ('test-readAntares.R:121:9'): 'select' can be used to import input columns ──
Error in ``[.data.table`(ref_filter_by_vers, , `:=`(count, .N), by = select_col, keyby = TRUE)`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. ├─base::suppressWarnings(...) at test-readAntares.R:120:7
2. │ └─base::withCallingHandlers(...)
3. ├─base::do.call(readAntares, params) at test-readAntares.R:121:9
4. └─antaresRead (local) `<fn>`(...)
5. └─antaresRead (local) .addOutputToRes(...)
6. ├─base::suppressWarnings(...)
7. │ └─base::withCallingHandlers(...)
8. └─plyr::llply(...)
9. ├─base::structure(lapply(pieces, .fun, ...), dim = dim(pieces))
10. └─base::lapply(pieces, .fun, ...)
11. └─antaresRead (local) FUN(X[[i]], ...)
12. └─antaresRead (local) outputFun(x, ...)
13. └─antaresRead::readClusterDesc(opts)
14. └─antaresRead:::.readClusterDesc(...)
15. └─antaresRead:::get_input_cluster_properties(...)
16. ├─ref_filter_by_vers[, `:=`(count, .N), by = select_col, keyby = TRUE]
17. └─data.table:::`[.data.table`(...)
── Error ('test-readAntaresClusters.R:10:5'): Clusters importation is ok ───────
Error in ``[.data.table`(ref_filter_by_vers, , `:=`(count, .N), by = select_col, keyby = TRUE)`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─antaresRead::readAntaresClusters(...) at test-readAntaresClusters.R:10:5
2. └─antaresRead::readClusterDesc(opts = opts)
3. └─antaresRead:::.readClusterDesc(...)
4. └─antaresRead:::get_input_cluster_properties(...)
5. ├─ref_filter_by_vers[, `:=`(count, .N), by = select_col, keyby = TRUE]
6. └─data.table:::`[.data.table`(...)
── Error ('test-readAntaresClusters.R:27:7'): one can import cluster hourly output ──
Error in ``[.data.table`(ref_filter_by_vers, , `:=`(count, .N), by = select_col, keyby = TRUE)`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─antaresRead::readAntaresClusters(...) at test-readAntaresClusters.R:27:7
2. └─antaresRead::readClusterDesc(opts = opts)
3. └─antaresRead:::.readClusterDesc(...)
4. └─antaresRead:::get_input_cluster_properties(...)
5. ├─ref_filter_by_vers[, `:=`(count, .N), by = select_col, keyby = TRUE]
6. └─data.table:::`[.data.table`(...)
── Error ('test-readAntaresClusters.R:27:7'): one can import cluster daily output ──
Error in ``[.data.table`(ref_filter_by_vers, , `:=`(count, .N), by = select_col, keyby = TRUE)`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─antaresRead::readAntaresClusters(...) at test-readAntaresClusters.R:27:7
2. └─antaresRead::readClusterDesc(opts = opts)
3. └─antaresRead:::.readClusterDesc(...)
4. └─antaresRead:::get_input_cluster_properties(...)
5. ├─ref_filter_by_vers[, `:=`(count, .N), by = select_col, keyby = TRUE]
6. └─data.table:::`[.data.table`(...)
── Error ('test-readAntaresClusters.R:27:7'): one can import cluster weekly output ──
Error in ``[.data.table`(ref_filter_by_vers, , `:=`(count, .N), by = select_col, keyby = TRUE)`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─antaresRead::readAntaresClusters(...) at test-readAntaresClusters.R:27:7
2. └─antaresRead::readClusterDesc(opts = opts)
3. └─antaresRead:::.readClusterDesc(...)
4. └─antaresRead:::get_input_cluster_properties(...)
5. ├─ref_filter_by_vers[, `:=`(count, .N), by = select_col, keyby = TRUE]
6. └─data.table:::`[.data.table`(...)
── Error ('test-readAntaresClusters.R:27:7'): one can import cluster monthly output ──
Error in ``[.data.table`(ref_filter_by_vers, , `:=`(count, .N), by = select_col, keyby = TRUE)`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─antaresRead::readAntaresClusters(...) at test-readAntaresClusters.R:27:7
2. └─antaresRead::readClusterDesc(opts = opts)
3. └─antaresRead:::.readClusterDesc(...)
4. └─antaresRead:::get_input_cluster_properties(...)
5. ├─ref_filter_by_vers[, `:=`(count, .N), by = select_col, keyby = TRUE]
6. └─data.table:::`[.data.table`(...)
── Error ('test-readAntaresClusters.R:27:7'): one can import cluster annual output ──
Error in ``[.data.table`(ref_filter_by_vers, , `:=`(count, .N), by = select_col, keyby = TRUE)`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─antaresRead::readAntaresClusters(...) at test-readAntaresClusters.R:27:7
2. └─antaresRead::readClusterDesc(opts = opts)
3. └─antaresRead:::.readClusterDesc(...)
4. └─antaresRead:::get_input_cluster_properties(...)
5. ├─ref_filter_by_vers[, `:=`(count, .N), by = select_col, keyby = TRUE]
6. └─data.table:::`[.data.table`(...)
── Error ('test-readAntares_STclusters.R:22:3'): ST clusters importation is OK ──
Error in ``[.data.table`(ref_filter_by_vers, , `:=`(count, .N), by = select_col, keyby = TRUE)`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─antaresRead::readAntaresSTClusters(...) at test-readAntares_STclusters.R:22:3
2. └─antaresRead::readClusterSTDesc(opts = opts)
3. └─antaresRead:::.readClusterDesc(...)
4. └─antaresRead:::get_input_cluster_properties(...)
5. ├─ref_filter_by_vers[, `:=`(count, .N), by = select_col, keyby = TRUE]
6. └─data.table:::`[.data.table`(...)
── Error ('test-readAntares_STclusters.R:41:5'): ST clusters importation is OK for all time resolutions. ──
Error in ``[.data.table`(ref_filter_by_vers, , `:=`(count, .N), by = select_col, keyby = TRUE)`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─antaresRead::readAntaresSTClusters(...) at test-readAntares_STclusters.R:41:5
2. └─antaresRead::readClusterSTDesc(opts = opts)
3. └─antaresRead:::.readClusterDesc(...)
4. └─antaresRead:::get_input_cluster_properties(...)
5. ├─ref_filter_by_vers[, `:=`(count, .N), by = select_col, keyby = TRUE]
6. └─data.table:::`[.data.table`(...)
── Error ('test-readAntares_STclusters.R:48:3'): ST clusters importation is KO if clusters do not belong to the study output ──
Error in ``[.data.table`(ref_filter_by_vers, , `:=`(count, .N), by = select_col, keyby = TRUE)`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. ├─testthat::expect_warning(...) at test-readAntares_STclusters.R:48:3
2. │ └─testthat:::quasi_capture(...)
3. │ ├─testthat (local) .capture(...)
4. │ │ └─base::withCallingHandlers(...)
5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
6. └─antaresRead::readAntaresSTClusters(...)
7. └─antaresRead::readClusterSTDesc(opts = opts)
8. └─antaresRead:::.readClusterDesc(...)
9. └─antaresRead:::get_input_cluster_properties(...)
10. ├─ref_filter_by_vers[, `:=`(count, .N), by = select_col, keyby = TRUE]
11. └─data.table:::`[.data.table`(...)
── Error ('test-readAntares_districts.R:9:3'): (code run outside of `test_that()`) ──
Error in ``[.data.table`(ref_filter_by_vers, , `:=`(count, .N), by = select_col, keyby = TRUE)`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─base::sapply(...) at test-readAntares_districts.R:4:1
2. └─base::lapply(X = X, FUN = FUN, ...)
3. └─antaresRead (local) FUN(X[[i]], ...)
4. ├─base::suppressWarnings(...) at test-readAntares_districts.R:8:1
5. │ └─base::withCallingHandlers(...)
6. └─antaresRead::readAntares(...) at test-readAntares_districts.R:9:3
7. └─antaresRead:::.importOutputForClusters(...)
8. └─antaresRead:::.importOutputForClusters_w_mustrun(...)
9. └─antaresRead::readClusterDesc(opts)
10. └─antaresRead:::.readClusterDesc(...)
11. └─antaresRead:::get_input_cluster_properties(...)
12. ├─ref_filter_by_vers[, `:=`(count, .N), by = select_col, keyby = TRUE]
13. └─data.table:::`[.data.table`(...)
── Error ('test-readAntares_inputs.R:17:3'): Thermal availability importation is ok ──
Error in ``[.data.table`(ref_filter_by_vers, , `:=`(count, .N), by = select_col, keyby = TRUE)`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. ├─base::suppressWarnings(...) at test-readAntares_inputs.R:17:3
2. │ └─base::withCallingHandlers(...)
3. └─antaresRead::readAntares(...)
4. └─antaresRead (local) .addOutputToRes(...)
5. ├─base::suppressWarnings(...)
6. │ └─base::withCallingHandlers(...)
7. └─plyr::llply(...)
8. ├─base::structure(lapply(pieces, .fun, ...), dim = dim(pieces))
9. └─base::lapply(pieces, .fun, ...)
10. └─antaresRead (local) FUN(X[[i]], ...)
11. └─antaresRead (local) outputFun(x, ...)
12. └─antaresRead::readClusterDesc(opts)
13. └─antaresRead:::.readClusterDesc(...)
14. └─antaresRead:::get_input_cluster_properties(...)
15. ├─ref_filter_by_vers[, `:=`(count, .N), by = select_col, keyby = TRUE]
16. └─data.table:::`[.data.table`(...)
── Error ('test-readAntares_mustRun.R:8:1'): (code run outside of `test_that()`) ──
Error in ``[.data.table`(ref_filter_by_vers, , `:=`(count, .N), by = select_col, keyby = TRUE)`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─base::sapply(...) at test-readAntares_mustRun.R:4:1
2. └─base::lapply(X = X, FUN = FUN, ...)
3. └─antaresRead (local) FUN(X[[i]], ...)
4. └─antaresRead::readAntares(...) at test-readAntares_mustRun.R:8:1
5. └─antaresRead:::.importOutputForClusters(...)
6. └─antaresRead:::.importOutputForClusters_w_mustrun(...)
7. └─antaresRead::readClusterDesc(opts)
8. └─antaresRead:::.readClusterDesc(...)
9. └─antaresRead:::get_input_cluster_properties(...)
10. ├─ref_filter_by_vers[, `:=`(count, .N), by = select_col, keyby = TRUE]
11. └─data.table:::`[.data.table`(...)
── Error ('test-readClusterDesc.R:9:3'): test read cluster ─────────────────────
Error in ``[.data.table`(ref_filter_by_vers, , `:=`(count, .N), by = select_col, keyby = TRUE)`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─antaresRead::readClusterDesc() at test-readClusterDesc.R:9:3
2. └─antaresRead:::.readClusterDesc(...)
3. └─antaresRead:::get_input_cluster_properties(...)
4. ├─ref_filter_by_vers[, `:=`(count, .N), by = select_col, keyby = TRUE]
5. └─data.table:::`[.data.table`(...)
── Error ('test-readClusterDesc.R:125:3'): test read cluster renewables ────────
Error in ``[.data.table`(ref_filter_by_vers, , `:=`(count, .N), by = select_col, keyby = TRUE)`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─antaresRead::readClusterResDesc() at test-readClusterDesc.R:125:3
2. └─antaresRead:::.readClusterDesc(...)
3. └─antaresRead:::get_input_cluster_properties(...)
4. ├─ref_filter_by_vers[, `:=`(count, .N), by = select_col, keyby = TRUE]
5. └─data.table:::`[.data.table`(...)
── Error ('test-readClusterDesc.R:234:3'): test read cluster st-storage v860 ───
Error in ``[.data.table`(ref_filter_by_vers, , `:=`(count, .N), by = select_col, keyby = TRUE)`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─antaresRead::readClusterSTDesc() at test-readClusterDesc.R:234:3
2. └─antaresRead:::.readClusterDesc(...)
3. └─antaresRead:::get_input_cluster_properties(...)
4. ├─ref_filter_by_vers[, `:=`(count, .N), by = select_col, keyby = TRUE]
5. └─data.table:::`[.data.table`(...)
── Error ('test-readClusterDesc.R:335:3'): test when study has no cluster (empty) ──
Error in ``[.data.table`(ref_filter_by_vers, , `:=`(count, .N), by = select_col, keyby = TRUE)`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. ├─testthat::expect_equal(readClusterDesc(), data.table::data.table()) at test-readClusterDesc.R:335:3
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─antaresRead::readClusterDesc()
5. └─antaresRead:::.readClusterDesc(...)
6. └─antaresRead:::get_input_cluster_properties(...)
7. ├─ref_filter_by_vers[, `:=`(count, .N), by = select_col, keyby = TRUE]
8. └─data.table:::`[.data.table`(...)
── Error ('test-readClusterDesc.R:385:3'): Operating format (default) ──────────
Error in ``[.data.table`(ref_filter_by_vers, , `:=`(count, .N), by = select_col, keyby = TRUE)`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─antaresRead::readClusterSTDesc(opts = opts) at test-readClusterDesc.R:385:3
2. └─antaresRead:::.readClusterDesc(...)
3. └─antaresRead:::get_input_cluster_properties(...)
4. ├─ref_filter_by_vers[, `:=`(count, .N), by = select_col, keyby = TRUE]
5. └─data.table:::`[.data.table`(...)
── Error ('test-readClusterDesc.R:395:3'): Antares format ──────────────────────
Error in ``[.data.table`(ref_filter_by_vers, , `:=`(count, .N), by = select_col, keyby = TRUE)`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─antaresRead::readClusterSTDesc(dot_format = FALSE, opts = opts) at test-readClusterDesc.R:395:3
2. └─antaresRead:::.readClusterDesc(...)
3. └─antaresRead:::get_input_cluster_properties(...)
4. ├─ref_filter_by_vers[, `:=`(count, .N), by = select_col, keyby = TRUE]
5. └─data.table:::`[.data.table`(...)
── Error ('test-readClusterDesc.R:405:3'): Test properties read from .ini ──────
Error in ``[.data.table`(ref_filter_by_vers, , `:=`(count, .N), by = select_col, keyby = TRUE)`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─antaresRead::readClusterSTDesc(dot_format = FALSE, opts = opts) at test-readClusterDesc.R:405:3
2. └─antaresRead:::.readClusterDesc(...)
3. └─antaresRead:::get_input_cluster_properties(...)
4. ├─ref_filter_by_vers[, `:=`(count, .N), by = select_col, keyby = TRUE]
5. └─data.table:::`[.data.table`(...)
── Error ('test-readClusterDesc.R:476:3'): Operating format (default) ──────────
Error in ``[.data.table`(ref_filter_by_vers, , `:=`(count, .N), by = select_col, keyby = TRUE)`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─antaresRead::readClusterSTDesc(opts = opts) at test-readClusterDesc.R:476:3
2. └─antaresRead:::.readClusterDesc(...)
3. └─antaresRead:::get_input_cluster_properties(...)
4. ├─ref_filter_by_vers[, `:=`(count, .N), by = select_col, keyby = TRUE]
5. └─data.table:::`[.data.table`(...)
── Error ('test-readClusterDesc.R:486:3'): Antares format ──────────────────────
Error in ``[.data.table`(ref_filter_by_vers, , `:=`(count, .N), by = select_col, keyby = TRUE)`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─antaresRead::readClusterSTDesc(dot_format = FALSE, opts = opts) at test-readClusterDesc.R:486:3
2. └─antaresRead:::.readClusterDesc(...)
3. └─antaresRead:::get_input_cluster_properties(...)
4. ├─ref_filter_by_vers[, `:=`(count, .N), by = select_col, keyby = TRUE]
5. └─data.table:::`[.data.table`(...)
── Error ('test-readClusterDesc.R:496:3'): Test properties read from .ini ──────
Error in ``[.data.table`(ref_filter_by_vers, , `:=`(count, .N), by = select_col, keyby = TRUE)`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─antaresRead::readClusterSTDesc(dot_format = FALSE, opts = opts) at test-readClusterDesc.R:496:3
2. └─antaresRead:::.readClusterDesc(...)
3. └─antaresRead:::get_input_cluster_properties(...)
4. ├─ref_filter_by_vers[, `:=`(count, .N), by = select_col, keyby = TRUE]
5. └─data.table:::`[.data.table`(...)
── Error ('test-readInputClusters.R:10:5'): Thermal availabilities importation works ──
Error in ``[.data.table`(ref_filter_by_vers, , `:=`(count, .N), by = select_col, keyby = TRUE)`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─antaresRead::readInputThermal(...) at test-readInputClusters.R:10:5
2. └─antaresRead::readClusterDesc(opts = opts)
3. └─antaresRead:::.readClusterDesc(...)
4. └─antaresRead:::get_input_cluster_properties(...)
5. ├─ref_filter_by_vers[, `:=`(count, .N), by = select_col, keyby = TRUE]
6. └─data.table:::`[.data.table`(...)
── Error ('test-readInputClusters.R:19:7'): Thermal modulation importation works ──
Error in ``[.data.table`(ref_filter_by_vers, , `:=`(count, .N), by = select_col, keyby = TRUE)`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─antaresRead::readInputThermal(...) at test-readInputClusters.R:19:7
2. └─antaresRead::readClusterDesc(opts = opts)
3. └─antaresRead:::.readClusterDesc(...)
4. └─antaresRead:::get_input_cluster_properties(...)
5. ├─ref_filter_by_vers[, `:=`(count, .N), by = select_col, keyby = TRUE]
6. └─data.table:::`[.data.table`(...)
── Error ('test-readInputClusters.R:30:5'): Thermal data importation works ─────
Error in ``[.data.table`(ref_filter_by_vers, , `:=`(count, .N), by = select_col, keyby = TRUE)`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─antaresRead::readInputThermal(...) at test-readInputClusters.R:30:5
2. └─antaresRead::readClusterDesc(opts = opts)
3. └─antaresRead:::.readClusterDesc(...)
4. └─antaresRead:::get_input_cluster_properties(...)
5. ├─ref_filter_by_vers[, `:=`(count, .N), by = select_col, keyby = TRUE]
6. └─data.table:::`[.data.table`(...)
── Failure ('test-readInputClusters.R:40:5'): Wrong area ───────────────────────
`readInputThermal(areas = "BAD_AREA", clusters = "peak_must_run_partial")` threw an error with unexpected message.
Expected match: "areas are not available"
Actual message: "attempt access index 9/9 in VECTOR_ELT"
Backtrace:
▆
1. ├─testthat::expect_error(...) at test-readInputClusters.R:40:5
2. │ └─testthat:::quasi_capture(...)
3. │ ├─testthat (local) .capture(...)
4. │ │ └─base::withCallingHandlers(...)
5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
6. └─antaresRead::readInputThermal(areas = "BAD_AREA", clusters = "peak_must_run_partial")
7. └─antaresRead::readClusterDesc(opts = opts)
8. └─antaresRead:::.readClusterDesc(...)
9. └─antaresRead:::get_input_cluster_properties(...)
10. ├─ref_filter_by_vers[, `:=`(count, .N), by = select_col, keyby = TRUE]
11. └─data.table:::`[.data.table`(...)
── Failure ('test-readInputClusters.R:46:5'): Wrong cluster ────────────────────
`readInputThermal(areas = "all", clusters = "BAD_CLUSTER")` threw an error with unexpected message.
Expected match: "clusters are not available"
Actual message: "attempt access index 9/9 in VECTOR_ELT"
Backtrace:
▆
1. ├─testthat::expect_error(...) at test-readInputClusters.R:46:5
2. │ └─testthat:::quasi_capture(...)
3. │ ├─testthat (local) .capture(...)
4. │ │ └─base::withCallingHandlers(...)
5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
6. └─antaresRead::readInputThermal(areas = "all", clusters = "BAD_CLUSTER")
7. └─antaresRead::readClusterDesc(opts = opts)
8. └─antaresRead:::.readClusterDesc(...)
9. └─antaresRead:::get_input_cluster_properties(...)
10. ├─ref_filter_by_vers[, `:=`(count, .N), by = select_col, keyby = TRUE]
11. └─data.table:::`[.data.table`(...)
── Error ('test-readInputClusters.R:67:3'): test reading TS RES ────────────────
Error in ``[.data.table`(ref_filter_by_vers, , `:=`(count, .N), by = select_col, keyby = TRUE)`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─antaresRead::readClusterResDesc() at test-readInputClusters.R:67:3
2. └─antaresRead:::.readClusterDesc(...)
3. └─antaresRead:::get_input_cluster_properties(...)
4. ├─ref_filter_by_vers[, `:=`(count, .N), by = select_col, keyby = TRUE]
5. └─data.table:::`[.data.table`(...)
── Error ('test-readInputClusters.R:100:3'): test reading TS RES ───────────────
Error in ``[.data.table`(ref_filter_by_vers, , `:=`(count, .N), by = select_col, keyby = TRUE)`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─antaresRead::readClusterResDesc() at test-readInputClusters.R:100:3
2. └─antaresRead:::.readClusterDesc(...)
3. └─antaresRead:::get_input_cluster_properties(...)
4. ├─ref_filter_by_vers[, `:=`(count, .N), by = select_col, keyby = TRUE]
5. └─data.table:::`[.data.table`(...)
── Error ('test-removeVirtualAreas.R:49:5'): RemoveVirtualAreas removes production areas ──
Error in ``[.data.table`(costs, , `:=`(c("totalFlow", "N"), list(sum(abs(flow)), .N)), by = byarea)`: attempt access index 8/8 in VECTOR_ELT
Backtrace:
▆
1. ├─base::suppressWarnings(...) at test-removeVirtualAreas.R:49:5
2. │ └─base::withCallingHandlers(...)
3. └─antaresRead::removeVirtualAreas(...)
4. ├─...[]
5. └─data.table:::`[.data.table`(...)
── Error ('test-removeVirtualAreas.R:101:5'): reassignCosts works correctly ────
Error in ``[.data.table`(costs, , `:=`(c("totalFlow", "N"), list(sum(abs(flow)), .N)), by = byarea)`: attempt access index 8/8 in VECTOR_ELT
Backtrace:
▆
1. ├─base::suppressWarnings(...) at test-removeVirtualAreas.R:101:5
2. │ └─base::withCallingHandlers(...)
3. └─antaresRead::removeVirtualAreas(...)
4. ├─...[]
5. └─data.table:::`[.data.table`(...)
── Error ('test-removeVirtualAreas.R:259:7'): bug #119, removeVirtualAreas correct district data ──
Error in ``[.data.table`(dataCorrected$areas, area %in% newAreas, `:=`(c(varSumCal), sum(get(i))), by = c("timeId"))`: attempt access index 48/48 in VECTOR_ELT
Backtrace:
▆
1. ├─...[] at test-removeVirtualAreas.R:259:7
2. ├─antaresRead:::`[.antaresDataTable`(...) at test-removeVirtualAreas.R:259:7
3. ├─base::NextMethod("[", x)
4. └─data.table:::`[.data.table`(...)
── Error ('test-removeVirtualAreas.R:353:7'): List for storageFlexibility ──────
Error in ``[.data.table`(costs, , `:=`(c("totalFlow", "N"), list(sum(abs(flow)), .N)), by = byarea)`: attempt access index 9/9 in VECTOR_ELT
Backtrace:
▆
1. └─antaresRead::removeVirtualAreas(...) at test-removeVirtualAreas.R:353:7
2. ├─...[]
3. └─data.table:::`[.data.table`(...)
[ FAIL 43 | WARN 14 | SKIP 2 | PASS 938 ]
Error:
! Test failures.
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [1s/2s] OK
- checking PDF version of manual ... [5s/7s] OK
- checking HTML version of manual ... [3s/5s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 1 ERROR