CRAN Package Check Results for Package antaresEditObject

Last updated on 2025-12-19 17:49:38 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.9.3 16.18 293.55 309.73 OK
r-devel-linux-x86_64-debian-gcc 0.9.3 9.68 212.00 221.68 OK
r-devel-linux-x86_64-fedora-clang 0.9.3 25.00 367.01 392.01 ERROR
r-devel-linux-x86_64-fedora-gcc 0.9.3 24.00 334.23 358.23 ERROR
r-devel-windows-x86_64 0.9.3 22.00 340.00 362.00 OK
r-patched-linux-x86_64 0.9.3 14.84 252.86 267.70 OK
r-release-linux-x86_64 0.9.3 14.67 249.42 264.09 OK
r-release-macos-arm64 0.9.2 5.00 75.00 80.00 OK
r-release-macos-x86_64 0.9.3 7.00 141.00 148.00 OK
r-release-windows-x86_64 0.9.3 18.00 400.00 418.00 OK
r-oldrel-macos-arm64 0.9.3 3.00 80.00 83.00 OK
r-oldrel-macos-x86_64 0.9.3 7.00 152.00 159.00 OK
r-oldrel-windows-x86_64 0.9.3 27.00 404.00 431.00 OK

Check Details

Version: 0.9.3
Check: tests
Result: ERROR Running ‘testthat.R’ [191s/161s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > #Copyright © 2016 RTE Réseau de transport d’électricité > > # CRAN limite CPU usage > data.table::setDTthreads(2) > > library(testthat) > library(antaresEditObject) Loading required package: antaresRead > > test_check("antaresEditObject") Saving _problems/test-RES-78.R Study successfully deleted Study successfully deleted Study successfully deletedSaving _problems/test-ST-43.R Saving _problems/test-createArea-119.R Saving _problems/test-createArea-192.R Saving _problems/test-createArea-229.R Saving _problems/test-createArea-354.R Saving _problems/test-createArea-553.R Study successfully deleted Study successfully deletedSaving _problems/test-createBindingConstraint-193.R Saving _problems/test-createBindingConstraint-234.R Saving _problems/test-createBindingConstraint-262.R Saving _problems/test-createBindingConstraint-287.R Saving _problems/test-createBindingConstraint-327.R New/existing group : 'default' will be created/updated with dimension : [10] New/existing group : 'new_group' will be created/updated with dimension : [3] New/existing group : 'group_test' will be created/updated with dimension : [10] Saving _problems/test-createBindingConstraint-709.R Saving _problems/test-createBindingConstraint-745.R Saving _problems/test-createBindingConstraint-797.R Saving _problems/test-createBindingConstraint-814.R Saving _problems/test-createBindingConstraint-863.R Study successfully deletedSaving _problems/test-createBindingConstraint-1054.R Saving _problems/test-createBindingConstraint-1092.R Saving _problems/test-createBindingConstraint-1122.R Saving _problems/test-createCluster-18.R Saving _problems/test-createCluster-52.R Saving _problems/test-createCluster-61.R Saving _problems/test-createCluster-68.R Saving _problems/test-createCluster-143.R Study successfully deletedSaving _problems/test-createCluster-209.R Saving _problems/test-createCluster-248.R Study successfully deleted Study successfully deletedTime difference of 0.7423491 secs Saving _problems/test-createClusterBulk-116.R Time difference of 2.939609 secs Study successfully deleted Study successfully deleted Study successfully deleted Study successfully deletedSaving _problems/test-editBindingConstraint-45.R New/existing group : 'default' will be created/updated with dimension : [10] Saving _problems/test-editBindingConstraint-180.R New/existing group : 'group_test' will be created/updated with dimension : [10] Saving _problems/test-editBindingConstraint-359.R Study successfully deletedSaving _problems/test-editCluster-14.R Saving _problems/test-editCluster-95.R Study successfully deleted Study successfully deleted Study successfully deleted Study successfully deletedSaving _problems/test-removeBindingConstraint-68.R Saving _problems/test-removeBindingConstraint-122.R Saving _problems/test-removeBindingConstraint-167.R Saving _problems/test-removeBindingConstraint-207.R Study successfully deletedSaving _problems/test-scenarioBuilder-11.R Study successfully deleted Study successfully deletedImporting mingen | | | 0% | |======================================================================| 100% Importing hydroStorageMaxPower | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorage | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorage | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorage | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorage | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorage | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorage | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorage | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorage | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorageMaxPower | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorage | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorage | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorage | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorage | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorage | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorageMaxPower | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorage | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorage | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorage | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorage | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorageMaxPower | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorage | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorageMaxPower | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorage | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorageMaxPower | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorageMaxPower | | | 0% | |======================================================================| 100% Data does not respect the hourly condition. You must check input/hydro/series/zone51/mingen.txt and input/hydro/common/capacity/maxpower_zone51.txt Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorage | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorageMaxPower | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorage | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorageMaxPower | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorageMaxPower | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorage | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorage | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorage | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorageMaxPower | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorageMaxPower | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorageMaxPower | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorageMaxPower | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorageMaxPower | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorage | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorageMaxPower | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorage | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorageMaxPower | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorage | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorage | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorageMaxPower | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================= | 33% | |=============================================== | 67% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorage | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorageMaxPower | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================= | 33% | |=============================================== | 67% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorage | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorageMaxPower | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================= | 33% | |=============================================== | 67% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorage | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorage | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorageMaxPower | | | 0% | |======================================================================| 100% Data does not respect the monthly condition. You must check input/hydro/series/zone51/mingen.txt and input/hydro/series/zone51/mod.txt Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorageMaxPower | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorage | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorage | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorage | | | 0% | |======================================================================| 100% Data does not respect the annual condition. You must check input/hydro/series/zone51/mingen.txt and input/hydro/series/zone51/mod.txt Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorage | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorage | | | 0% | |======================================================================| 100% Data does not respect the annual condition. You must check input/hydro/series/zone51/mingen.txt and input/hydro/series/zone51/mod.txt Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorage | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorageMaxPower | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorage | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorage | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorageMaxPower | | | 0% | |======================================================================| 100% Data does not respect the monthly condition. You must check input/hydro/series/zone51/mingen.txt and input/hydro/series/zone51/mod.txt Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorage | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorageMaxPower | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorage | | | 0% | |======================================================================| 100% Data does not respect the monthly condition. You must check input/hydro/series/zone51/mingen.txt and input/hydro/series/zone51/mod.txt Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorage | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorageMaxPower | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorage | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorage | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorageMaxPower | | | 0% | |======================================================================| 100% Data does not respect the weekly condition. You must check input/hydro/series/zone51/mingen.txt and input/hydro/series/zone51/mod.txt Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorage | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorageMaxPower | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorage | | | 0% | |======================================================================| 100% Data does not respect the weekly condition. You must check input/hydro/series/zone51/mingen.txt and input/hydro/series/zone51/mod.txt Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorageMaxPower | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorage | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorage | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorage | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorage | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorage | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorage | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorageMaxPower | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorage | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorage | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorageMaxPower | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorage | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorageMaxPower | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorage | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorage | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorageMaxPower | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorage | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorage | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorageMaxPower | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorage | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorageMaxPower | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorage | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorageMaxPower | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorageMaxPower | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorageMaxPower | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorageMaxPower | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorageMaxPower | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorageMaxPower | | | 0% | |======================================================================| 100% [ FAIL 38 | WARN 127 | SKIP 4 | PASS 644 ] ══ Skipped tests (4) ═══════════════════════════════════════════════════════════ • Deprecated (1): 'test-compute_timeStamp_from_hourly.R:3:1' • Function requires study that spans on 2 years (TODO) (1): 'test-computeTimeStepFromHourly.R:3:1' • On CRAN (1): 'test-createArea.R:25:5' • empty test (1): 'test-createClusterBulk.R:152:1' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-RES.R:78:3'): removeClusterRES(): check if the expected files are deleted ── 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(opts = simOptions()) at test-RES.R:78: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-ST.R:43:3'): removeClusterST(): check if the expected files are deleted ── 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 = simOptions()) at test-ST.R:43: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-createArea.R:119:5'): Remove an area ─────────────────────────── 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. └─antaresEditObject::removeArea(name = area2remove) at test-createArea.R:119:5 2. └─antaresEditObject:::.check_area_in_binding_constraint(name, opts) 3. └─antaresRead::readClusterDesc(opts = opts) 4. └─antaresRead:::.readClusterDesc(...) 5. └─antaresRead:::get_input_cluster_properties(...) 6. ├─ref_filter_by_vers[, `:=`(count, .N), by = select_col, keyby = TRUE] 7. └─data.table:::`[.data.table`(...) ── Error ('test-createArea.R:192:5'): create area / st-storage in 8.6.0 / Remove an area in 8.6.0 ── 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. └─antaresEditObject::removeArea(name = area2remove) at test-createArea.R:192:5 2. └─antaresEditObject:::.check_area_in_binding_constraint(name, opts) 3. └─antaresRead::readClusterDesc(opts = opts) 4. └─antaresRead:::.readClusterDesc(...) 5. └─antaresRead:::get_input_cluster_properties(...) 6. ├─ref_filter_by_vers[, `:=`(count, .N), by = select_col, keyby = TRUE] 7. └─data.table:::`[.data.table`(...) ── Error ('test-createArea.R:229:3'): removeArea() in 8.2.0 : check that properties.ini are all there ── 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. └─antaresEditObject::removeArea(name = area, opts = opts) at test-createArea.R:229:3 2. └─antaresEditObject:::.check_area_in_binding_constraint(name, opts) 3. └─antaresRead::readClusterDesc(opts = opts) 4. └─antaresRead:::.readClusterDesc(...) 5. └─antaresRead:::get_input_cluster_properties(...) 6. ├─ref_filter_by_vers[, `:=`(count, .N), by = select_col, keyby = TRUE] 7. └─data.table:::`[.data.table`(...) ── Error ('test-createArea.R:349:5'): removeArea(): check that area is removed if it is not referenced in a binding constraint and not removed if the area is referenced in a binding constraint ── 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. └─antaresEditObject::createBindingConstraint(...) at test-createArea.R:349:5 2. ├─antaresEditObject:::createBindingConstraint_(...) 3. │ └─base::nrow(clusters) 4. └─antaresRead::readClusterDesc(opts = opts) 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-createArea.R:553:5'): New HYDRO default parameter / Remove area / check hydro params ── 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. └─antaresEditObject::removeArea(name = area_test) at test-createArea.R:553:5 2. └─antaresEditObject:::.check_area_in_binding_constraint(name, opts) 3. └─antaresRead::readClusterDesc(opts = opts) 4. └─antaresRead:::.readClusterDesc(...) 5. └─antaresRead:::get_input_cluster_properties(...) 6. ├─ref_filter_by_vers[, `:=`(count, .N), by = select_col, keyby = TRUE] 7. └─data.table:::`[.data.table`(...) ── Failure ('test-createBindingConstraint.R:186:5'): Create a new binding constraint with BAD coefficients ── `createBindingConstraint(...)` threw an error with unexpected message. Expected match: "not valid cluster" Actual message: "attempt access index 9/9 in VECTOR_ELT" Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-createBindingConstraint.R:186: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. └─antaresEditObject::createBindingConstraint(...) 7. ├─antaresEditObject:::createBindingConstraint_(...) 8. │ └─base::nrow(clusters) 9. └─antaresRead::readClusterDesc(opts = 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-createBindingConstraint.R:231:5'): Create a new binding constraint with BAD coefficients ── `createBindingConstraintBulk(constraints = lst_cstr, opts = simOptions())` threw an error with unexpected message. Expected match: "not valid cluster" Actual message: "attempt access index 9/9 in VECTOR_ELT" Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-createBindingConstraint.R:231: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. └─antaresEditObject::createBindingConstraintBulk(...) 7. ├─base::do.call(...) 8. └─antaresRead::readClusterDesc(opts = opts) 9. └─antaresRead:::.readClusterDesc(...) 10. └─antaresRead:::get_input_cluster_properties(...) 11. ├─ref_filter_by_vers[, `:=`(count, .N), by = select_col, keyby = TRUE] 12. └─data.table:::`[.data.table`(...) ── Failure ('test-createBindingConstraint.R:259:5'): Create a new binding constraint with BAD coefficients ── `createBindingConstraintBulk(constraints = lst_cstr, opts = simOptions())` threw an error with unexpected message. Expected match: "not valid link" Actual message: "attempt access index 9/9 in VECTOR_ELT" Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-createBindingConstraint.R:259: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. └─antaresEditObject::createBindingConstraintBulk(...) 7. ├─base::do.call(...) 8. └─antaresRead::readClusterDesc(opts = opts) 9. └─antaresRead:::.readClusterDesc(...) 10. └─antaresRead:::get_input_cluster_properties(...) 11. ├─ref_filter_by_vers[, `:=`(count, .N), by = select_col, keyby = TRUE] 12. └─data.table:::`[.data.table`(...) ── Error ('test-createBindingConstraint.R:282:5'): Create a new binding constraint with cluster coefficients (not with %) ── 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. └─antaresEditObject::createBindingConstraint(...) at test-createBindingConstraint.R:282:5 2. ├─antaresEditObject:::createBindingConstraint_(...) 3. │ └─base::nrow(clusters) 4. └─antaresRead::readClusterDesc(opts = opts) 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-createBindingConstraint.R:327:5'): createBindingConstraintBulk v710 ── 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. └─antaresEditObject::createBindingConstraintBulk(bindings_constraints) at test-createBindingConstraint.R:327:5 2. ├─base::do.call(...) 3. └─antaresRead::readClusterDesc(opts = opts) 4. └─antaresRead:::.readClusterDesc(...) 5. └─antaresRead:::get_input_cluster_properties(...) 6. ├─ref_filter_by_vers[, `:=`(count, .N), by = select_col, keyby = TRUE] 7. └─data.table:::`[.data.table`(...) ── Error ('test-createBindingConstraint.R:703:3'): bc with multi weight + offset properties ── 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. └─antaresEditObject::createBindingConstraint(...) at test-createBindingConstraint.R:703:3 2. ├─antaresEditObject:::createBindingConstraint_(...) 3. │ └─base::nrow(clusters) 4. └─antaresRead::readClusterDesc(opts = opts) 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-createBindingConstraint.R:745:3'): createBindingConstraintBulk v8.7 ── 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. └─antaresEditObject::createBindingConstraintBulk(bindings_constraints) at test-createBindingConstraint.R:745:3 2. ├─base::do.call(...) 3. └─antaresRead::readClusterDesc(opts = opts) 4. └─antaresRead:::.readClusterDesc(...) 5. └─antaresRead:::get_input_cluster_properties(...) 6. ├─ref_filter_by_vers[, `:=`(count, .N), by = select_col, keyby = TRUE] 7. └─data.table:::`[.data.table`(...) ── Failure ('test-createBindingConstraint.R:794:3'): test bad dimension object with existing object in study v8.7 ── `createBindingConstraintBulk(list(bad_object))` threw an error with unexpected message. Expected match: "Problem dimension with group" Actual message: "attempt access index 9/9 in VECTOR_ELT" Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-createBindingConstraint.R:794: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. └─antaresEditObject::createBindingConstraintBulk(list(bad_object)) 7. ├─base::do.call(...) 8. └─antaresRead::readClusterDesc(opts = opts) 9. └─antaresRead:::.readClusterDesc(...) 10. └─antaresRead:::get_input_cluster_properties(...) 11. ├─ref_filter_by_vers[, `:=`(count, .N), by = select_col, keyby = TRUE] 12. └─data.table:::`[.data.table`(...) ── Error ('test-createBindingConstraint.R:814:3'): test NULL VALUES in study v8.7 ── 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. └─antaresEditObject::createBindingConstraintBulk(list(BC_NULL_VALUES)) at test-createBindingConstraint.R:814:3 2. ├─base::do.call(...) 3. └─antaresRead::readClusterDesc(opts = opts) 4. └─antaresRead:::.readClusterDesc(...) 5. └─antaresRead:::get_input_cluster_properties(...) 6. ├─ref_filter_by_vers[, `:=`(count, .N), by = select_col, keyby = TRUE] 7. └─data.table:::`[.data.table`(...) ── Error ('test-createBindingConstraint.R:863:3'): test mixed VALUES in study v8.7 ── 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. └─antaresEditObject::createBindingConstraintBulk(BC_MIX_VALUES) at test-createBindingConstraint.R:863:3 2. ├─base::do.call(...) 3. └─antaresRead::readClusterDesc(opts = opts) 4. └─antaresRead:::.readClusterDesc(...) 5. └─antaresRead:::get_input_cluster_properties(...) 6. ├─ref_filter_by_vers[, `:=`(count, .N), by = select_col, keyby = TRUE] 7. └─data.table:::`[.data.table`(...) ── Failure ('test-createBindingConstraint.R:1045:3'): Control that you can not create a binding constraint link/cluster with no link/cluster in your study ── `createBindingConstraint(...)` threw an error with unexpected message. Expected match: "You are trying to create a binding constraint with a cluster coefficient but you have no cluster in your study." Actual message: "attempt access index 9/9 in VECTOR_ELT" Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-createBindingConstraint.R:1045: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. └─antaresEditObject::createBindingConstraint(...) 7. ├─antaresEditObject:::createBindingConstraint_(...) 8. │ └─base::nrow(clusters) 9. └─antaresRead::readClusterDesc(opts = 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-createBindingConstraint.R:1089:3'): Control that you can not create a binding constraint link/cluster with no link/cluster in your study ── `createBindingConstraintBulk(constraints = lst_cstr, opts = simOptions())` threw an error with unexpected message. Expected match: "You are trying to create a binding constraint with a link coefficient but you have no link in your study." Actual message: "attempt access index 9/9 in VECTOR_ELT" Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-createBindingConstraint.R:1089: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. └─antaresEditObject::createBindingConstraintBulk(...) 7. ├─base::do.call(...) 8. └─antaresRead::readClusterDesc(opts = opts) 9. └─antaresRead:::.readClusterDesc(...) 10. └─antaresRead:::get_input_cluster_properties(...) 11. ├─ref_filter_by_vers[, `:=`(count, .N), by = select_col, keyby = TRUE] 12. └─data.table:::`[.data.table`(...) ── Failure ('test-createBindingConstraint.R:1119:3'): Control that you can not create a binding constraint link/cluster with no link/cluster in your study ── `createBindingConstraintBulk(constraints = lst_cstr, opts = simOptions())` threw an error with unexpected message. Expected match: "You are trying to create a binding constraint with a cluster coefficient but you have no cluster in your study." Actual message: "attempt access index 9/9 in VECTOR_ELT" Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-createBindingConstraint.R:1119: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. └─antaresEditObject::createBindingConstraintBulk(...) 7. ├─base::do.call(...) 8. └─antaresRead::readClusterDesc(opts = opts) 9. └─antaresRead:::.readClusterDesc(...) 10. └─antaresRead:::get_input_cluster_properties(...) 11. ├─ref_filter_by_vers[, `:=`(count, .N), by = select_col, keyby = TRUE] 12. └─data.table:::`[.data.table`(...) ── Error ('test-createCluster.R:18:5'): Create a new 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. ├─testthat::expect_true(...) at test-createCluster.R:18:5 2. │ └─testthat::quasi_label(enquo(object), label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─paste(area, "mycluster", sep = "_") %in% ... 5. ├─base::levels(antaresRead::readClusterDesc()$cluster) 6. └─antaresRead::readClusterDesc() 7. └─antaresRead:::.readClusterDesc(...) 8. └─antaresRead:::get_input_cluster_properties(...) 9. ├─ref_filter_by_vers[, `:=`(count, .N), by = select_col, keyby = TRUE] 10. └─data.table:::`[.data.table`(...) ── Error ('test-createCluster.R:52:5'): Create a cluster with default properties ── 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_true(...) at test-createCluster.R:52:5 2. │ └─testthat::quasi_label(enquo(object), label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─paste(area2, "mycluster2", sep = "_") %in% ... 5. ├─base::levels(antaresRead::readClusterDesc()$cluster) 6. └─antaresRead::readClusterDesc() 7. └─antaresRead:::.readClusterDesc(...) 8. └─antaresRead:::get_input_cluster_properties(...) 9. ├─ref_filter_by_vers[, `:=`(count, .N), by = select_col, keyby = TRUE] 10. └─data.table:::`[.data.table`(...) ── Error ('test-createCluster.R:61:5'): Remove a 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. ├─testthat::expect_false(...) at test-createCluster.R:61:5 2. │ └─testthat::quasi_label(enquo(object), label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─paste(area2, "mycluster2", sep = "_") %in% ... 5. ├─base::levels(antaresRead::readClusterDesc()$cluster) 6. └─antaresRead::readClusterDesc() 7. └─antaresRead:::.readClusterDesc(...) 8. └─antaresRead:::get_input_cluster_properties(...) 9. ├─ref_filter_by_vers[, `:=`(count, .N), by = select_col, keyby = TRUE] 10. └─data.table:::`[.data.table`(...) ── Error ('test-createCluster.R:68:5'): Remove all clusters ──────────────────── 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-createCluster.R:68:5 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-createCluster.R:143:5'): Create cluster with pollutants params (new feature v8.6) / Create cluster with parameter pollutant ── 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-createCluster.R:143:5 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-createCluster.R:203:5'): removeCluster() : cluster is not removed if it is referenced in a binding constraint ── 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. └─antaresEditObject::createBindingConstraint(...) at test-createCluster.R:203:5 2. ├─antaresEditObject:::createBindingConstraint_(...) 3. │ └─base::nrow(clusters) 4. └─antaresRead::readClusterDesc(opts = opts) 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-createCluster.R:248:3'): removeCluster(): check if the expected files are deleted ── 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(opts = simOptions()) at test-createCluster.R:248: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-createClusterBulk.R:116:3'): Create cluster bulk v8, time performance ── 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-createClusterBulk.R:116: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`(...) ── Failure ('test-editBindingConstraint.R:33:3'): editBindingConstraint v710 ─── `editBindingConstraint(...)` threw an error with unexpected message. Expected match: "not valid cluster" Actual message: "attempt access index 9/9 in VECTOR_ELT" Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-editBindingConstraint.R:33: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. └─antaresEditObject::editBindingConstraint(...) 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-editBindingConstraint.R:173:3'): editBindingConstraint with 'default' group v8.7.0 ── 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. └─antaresEditObject::createBindingConstraint(...) at test-editBindingConstraint.R:173:3 2. ├─antaresEditObject:::createBindingConstraint_(...) 3. │ └─base::nrow(clusters) 4. └─antaresRead::readClusterDesc(opts = opts) 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-editBindingConstraint.R:351:3'): editBindingConstraint with existing group v8.7.0 ── 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. └─antaresEditObject::createBindingConstraint(...) at test-editBindingConstraint.R:351:3 2. ├─antaresEditObject:::createBindingConstraint_(...) 3. │ └─base::nrow(clusters) 4. └─antaresRead::readClusterDesc(opts = opts) 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-editCluster.R:14:5'): Edit nominal capacity ──────────────────── 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-editCluster.R:14:5 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-editCluster.R:95:3'): Edit cluster with pollutants params (new feature v8.6) ── 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(opts = opts_test) at test-editCluster.R:95: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-removeBindingConstraint.R:61:3'): removeBindingConstraint v8.7.0 by name ── 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. └─antaresEditObject::createBindingConstraint(...) at test-removeBindingConstraint.R:61:3 2. ├─antaresEditObject:::createBindingConstraint_(...) 3. │ └─base::nrow(clusters) 4. └─antaresRead::readClusterDesc(opts = opts) 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-removeBindingConstraint.R:115:3'): removeBindingConstraint v8.7.0 by names ── 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. └─antaresEditObject::createBindingConstraint(...) at test-removeBindingConstraint.R:115:3 2. ├─antaresEditObject:::createBindingConstraint_(...) 3. │ └─base::nrow(clusters) 4. └─antaresRead::readClusterDesc(opts = opts) 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-removeBindingConstraint.R:160:3'): removeBindingConstraint v8.7.0 by group ── 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. └─antaresEditObject::createBindingConstraint(...) at test-removeBindingConstraint.R:160:3 2. ├─antaresEditObject:::createBindingConstraint_(...) 3. │ └─base::nrow(clusters) 4. └─antaresRead::readClusterDesc(opts = opts) 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-removeBindingConstraint.R:200:3'): removeBindingConstraint v8.7.0 by group ── 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. └─antaresEditObject::createBindingConstraint(...) at test-removeBindingConstraint.R:200:3 2. ├─antaresEditObject:::createBindingConstraint_(...) 3. │ └─base::nrow(clusters) 4. └─antaresRead::readClusterDesc(opts = opts) 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-scenarioBuilder.R:11: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-scenarioBuilder.R:7:1 2. └─base::lapply(X = X, FUN = FUN, ...) 3. └─antaresEditObject (local) FUN(X[[i]], ...) 4. └─antaresEditObject::readScenarioBuilder(...) at test-scenarioBuilder.R:11:3 5. └─base::lapply(...) 6. └─antaresEditObject (local) FUN(X[[i]], ...) 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`(...) [ FAIL 38 | WARN 127 | SKIP 4 | PASS 644 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-fedora-clang

Version: 0.9.3
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: --- re-building ‘Antares_new_features_v860.Rmd’ using rmarkdown Quitting from Antares_new_features_v860.Rmd:92-95 [read st-storage param] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error in `[.data.table`: ! attempt access index 9/9 in VECTOR_ELT --- Backtrace: ▆ 1. └─antaresRead::readClusterSTDesc() 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: processing vignette 'Antares_new_features_v860.Rmd' failed with diagnostics: attempt access index 9/9 in VECTOR_ELT --- failed re-building ‘Antares_new_features_v860.Rmd’ --- re-building ‘Antares_new_features_v920.Rmd’ using rmarkdown Quitting from Antares_new_features_v920.Rmd:73-91 [st-storage/group] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error in `[.data.table`: ! attempt access index 9/9 in VECTOR_ELT --- Backtrace: ▆ 1. └─antaresRead::readClusterSTDesc() 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: processing vignette 'Antares_new_features_v920.Rmd' failed with diagnostics: attempt access index 9/9 in VECTOR_ELT --- failed re-building ‘Antares_new_features_v920.Rmd’ --- re-building ‘Antares_new_features_v930.Rmd’ using rmarkdown Quitting from Antares_new_features_v930.Rmd:83-103 [creation/properties] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error in `[.data.table`: ! attempt access index 9/9 in VECTOR_ELT --- Backtrace: ▆ 1. └─antaresRead::readClusterSTDesc() 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: processing vignette 'Antares_new_features_v930.Rmd' failed with diagnostics: attempt access index 9/9 in VECTOR_ELT --- failed re-building ‘Antares_new_features_v930.Rmd’ --- re-building ‘antaresEditObject.Rmd’ using rmarkdown [WARNING] Deprecated: --highlight-style. Use --syntax-highlighting instead. --- finished re-building ‘antaresEditObject.Rmd’ --- re-building ‘api-variant-management.Rmd’ using rmarkdown [WARNING] Deprecated: --highlight-style. Use --syntax-highlighting instead. --- finished re-building ‘api-variant-management.Rmd’ --- re-building ‘renewables-energy-sources.Rmd’ using rmarkdown [WARNING] Deprecated: --highlight-style. Use --syntax-highlighting instead. --- finished re-building ‘renewables-energy-sources.Rmd’ --- re-building ‘scenario-builder.Rmd’ using rmarkdown Quitting from scenario-builder.Rmd:27-57 [unnamed-chunk-2] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error in `[.data.table`: ! attempt access index 9/9 in VECTOR_ELT --- Backtrace: ▆ 1. └─antaresRead::readClusterDesc() 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: processing vignette 'scenario-builder.Rmd' failed with diagnostics: attempt access index 9/9 in VECTOR_ELT --- failed re-building ‘scenario-builder.Rmd’ SUMMARY: processing the following files failed: ‘Antares_new_features_v860.Rmd’ ‘Antares_new_features_v920.Rmd’ ‘Antares_new_features_v930.Rmd’ ‘scenario-builder.Rmd’ Error: Vignette re-building failed. Execution halted Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Version: 0.9.3
Check: tests
Result: ERROR Running ‘testthat.R’ [153s/184s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > #Copyright © 2016 RTE Réseau de transport d’électricité > > # CRAN limite CPU usage > data.table::setDTthreads(2) > > library(testthat) > library(antaresEditObject) Loading required package: antaresRead > > test_check("antaresEditObject") Saving _problems/test-RES-78.R Study successfully deleted Study successfully deleted Study successfully deletedSaving _problems/test-ST-43.R Saving _problems/test-createArea-119.R Saving _problems/test-createArea-192.R Saving _problems/test-createArea-229.R Saving _problems/test-createArea-354.R Saving _problems/test-createArea-553.R Study successfully deleted Study successfully deletedSaving _problems/test-createBindingConstraint-193.R Saving _problems/test-createBindingConstraint-234.R Saving _problems/test-createBindingConstraint-262.R Saving _problems/test-createBindingConstraint-287.R Saving _problems/test-createBindingConstraint-327.R New/existing group : 'default' will be created/updated with dimension : [10] New/existing group : 'new_group' will be created/updated with dimension : [3] New/existing group : 'group_test' will be created/updated with dimension : [10] Saving _problems/test-createBindingConstraint-709.R Saving _problems/test-createBindingConstraint-745.R Saving _problems/test-createBindingConstraint-797.R Saving _problems/test-createBindingConstraint-814.R Saving _problems/test-createBindingConstraint-863.R Study successfully deletedSaving _problems/test-createBindingConstraint-1054.R Saving _problems/test-createBindingConstraint-1092.R Saving _problems/test-createBindingConstraint-1122.R Saving _problems/test-createCluster-18.R Saving _problems/test-createCluster-52.R Saving _problems/test-createCluster-61.R Saving _problems/test-createCluster-68.R Saving _problems/test-createCluster-143.R Study successfully deletedSaving _problems/test-createCluster-209.R Saving _problems/test-createCluster-248.R Study successfully deleted Study successfully deletedTime difference of 0.6894495 secs Saving _problems/test-createClusterBulk-116.R Time difference of 2.102302 secs Study successfully deleted Study successfully deleted Study successfully deleted Study successfully deletedSaving _problems/test-editBindingConstraint-45.R New/existing group : 'default' will be created/updated with dimension : [10] Saving _problems/test-editBindingConstraint-180.R New/existing group : 'group_test' will be created/updated with dimension : [10] Saving _problems/test-editBindingConstraint-359.R Study successfully deletedSaving _problems/test-editCluster-14.R Saving _problems/test-editCluster-95.R Study successfully deleted Study successfully deleted Study successfully deleted Study successfully deletedSaving _problems/test-removeBindingConstraint-68.R Saving _problems/test-removeBindingConstraint-122.R Saving _problems/test-removeBindingConstraint-167.R Saving _problems/test-removeBindingConstraint-207.R Study successfully deletedSaving _problems/test-scenarioBuilder-11.R Study successfully deleted Study successfully deletedImporting mingen | | | 0% | |======================================================================| 100% Importing hydroStorageMaxPower | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorage | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorage | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorage | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorage | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorage | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorage | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorage | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorage | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorageMaxPower | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorage | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorage | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorage | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorage | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorage | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorageMaxPower | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorage | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorage | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorage | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorage | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorageMaxPower | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorage | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorageMaxPower | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorage | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorageMaxPower | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorageMaxPower | | | 0% | |======================================================================| 100% Data does not respect the hourly condition. You must check input/hydro/series/zone51/mingen.txt and input/hydro/common/capacity/maxpower_zone51.txt Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorage | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorageMaxPower | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorage | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorageMaxPower | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorageMaxPower | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorage | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorage | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorage | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorageMaxPower | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorageMaxPower | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorageMaxPower | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorageMaxPower | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorageMaxPower | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorage | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorageMaxPower | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorage | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorageMaxPower | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorage | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorage | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorageMaxPower | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================= | 33% | |=============================================== | 67% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorage | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorageMaxPower | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================= | 33% | |=============================================== | 67% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorage | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorageMaxPower | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================= | 33% | |=============================================== | 67% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorage | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorage | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorageMaxPower | | | 0% | |======================================================================| 100% Data does not respect the monthly condition. You must check input/hydro/series/zone51/mingen.txt and input/hydro/series/zone51/mod.txt Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorageMaxPower | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorage | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorage | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorage | | | 0% | |======================================================================| 100% Data does not respect the annual condition. You must check input/hydro/series/zone51/mingen.txt and input/hydro/series/zone51/mod.txt Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorage | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorage | | | 0% | |======================================================================| 100% Data does not respect the annual condition. You must check input/hydro/series/zone51/mingen.txt and input/hydro/series/zone51/mod.txt Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorage | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorageMaxPower | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorage | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorage | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorageMaxPower | | | 0% | |======================================================================| 100% Data does not respect the monthly condition. You must check input/hydro/series/zone51/mingen.txt and input/hydro/series/zone51/mod.txt Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorage | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorageMaxPower | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorage | | | 0% | |======================================================================| 100% Data does not respect the monthly condition. You must check input/hydro/series/zone51/mingen.txt and input/hydro/series/zone51/mod.txt Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorage | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorageMaxPower | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorage | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorage | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorageMaxPower | | | 0% | |======================================================================| 100% Data does not respect the weekly condition. You must check input/hydro/series/zone51/mingen.txt and input/hydro/series/zone51/mod.txt Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorage | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorageMaxPower | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorage | | | 0% | |======================================================================| 100% Data does not respect the weekly condition. You must check input/hydro/series/zone51/mingen.txt and input/hydro/series/zone51/mod.txt Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorageMaxPower | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorage | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorage | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorage | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorage | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorage | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorage | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorageMaxPower | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorage | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorage | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorageMaxPower | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorage | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorageMaxPower | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorage | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorage | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorageMaxPower | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorage | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorage | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorageMaxPower | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorage | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorageMaxPower | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorage | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorageMaxPower | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorageMaxPower | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorageMaxPower | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorageMaxPower | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorageMaxPower | | | 0% | |======================================================================| 100% Importing mingen | | | 0% | |======================================================================| 100% Importing hydroStorageMaxPower | | | 0% | |======================================================================| 100% [ FAIL 38 | WARN 127 | SKIP 4 | PASS 644 ] ══ Skipped tests (4) ═══════════════════════════════════════════════════════════ • Deprecated (1): 'test-compute_timeStamp_from_hourly.R:3:1' • Function requires study that spans on 2 years (TODO) (1): 'test-computeTimeStepFromHourly.R:3:1' • On CRAN (1): 'test-createArea.R:25:5' • empty test (1): 'test-createClusterBulk.R:152:1' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-RES.R:78:3'): removeClusterRES(): check if the expected files are deleted ── 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(opts = simOptions()) at test-RES.R:78: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-ST.R:43:3'): removeClusterST(): check if the expected files are deleted ── 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 = simOptions()) at test-ST.R:43: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-createArea.R:119:5'): Remove an area ─────────────────────────── 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. └─antaresEditObject::removeArea(name = area2remove) at test-createArea.R:119:5 2. └─antaresEditObject:::.check_area_in_binding_constraint(name, opts) 3. └─antaresRead::readClusterDesc(opts = opts) 4. └─antaresRead:::.readClusterDesc(...) 5. └─antaresRead:::get_input_cluster_properties(...) 6. ├─ref_filter_by_vers[, `:=`(count, .N), by = select_col, keyby = TRUE] 7. └─data.table:::`[.data.table`(...) ── Error ('test-createArea.R:192:5'): create area / st-storage in 8.6.0 / Remove an area in 8.6.0 ── 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. └─antaresEditObject::removeArea(name = area2remove) at test-createArea.R:192:5 2. └─antaresEditObject:::.check_area_in_binding_constraint(name, opts) 3. └─antaresRead::readClusterDesc(opts = opts) 4. └─antaresRead:::.readClusterDesc(...) 5. └─antaresRead:::get_input_cluster_properties(...) 6. ├─ref_filter_by_vers[, `:=`(count, .N), by = select_col, keyby = TRUE] 7. └─data.table:::`[.data.table`(...) ── Error ('test-createArea.R:229:3'): removeArea() in 8.2.0 : check that properties.ini are all there ── 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. └─antaresEditObject::removeArea(name = area, opts = opts) at test-createArea.R:229:3 2. └─antaresEditObject:::.check_area_in_binding_constraint(name, opts) 3. └─antaresRead::readClusterDesc(opts = opts) 4. └─antaresRead:::.readClusterDesc(...) 5. └─antaresRead:::get_input_cluster_properties(...) 6. ├─ref_filter_by_vers[, `:=`(count, .N), by = select_col, keyby = TRUE] 7. └─data.table:::`[.data.table`(...) ── Error ('test-createArea.R:349:5'): removeArea(): check that area is removed if it is not referenced in a binding constraint and not removed if the area is referenced in a binding constraint ── 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. └─antaresEditObject::createBindingConstraint(...) at test-createArea.R:349:5 2. ├─antaresEditObject:::createBindingConstraint_(...) 3. │ └─base::nrow(clusters) 4. └─antaresRead::readClusterDesc(opts = opts) 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-createArea.R:553:5'): New HYDRO default parameter / Remove area / check hydro params ── 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. └─antaresEditObject::removeArea(name = area_test) at test-createArea.R:553:5 2. └─antaresEditObject:::.check_area_in_binding_constraint(name, opts) 3. └─antaresRead::readClusterDesc(opts = opts) 4. └─antaresRead:::.readClusterDesc(...) 5. └─antaresRead:::get_input_cluster_properties(...) 6. ├─ref_filter_by_vers[, `:=`(count, .N), by = select_col, keyby = TRUE] 7. └─data.table:::`[.data.table`(...) ── Failure ('test-createBindingConstraint.R:186:5'): Create a new binding constraint with BAD coefficients ── `createBindingConstraint(...)` threw an error with unexpected message. Expected match: "not valid cluster" Actual message: "attempt access index 9/9 in VECTOR_ELT" Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-createBindingConstraint.R:186: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. └─antaresEditObject::createBindingConstraint(...) 7. ├─antaresEditObject:::createBindingConstraint_(...) 8. │ └─base::nrow(clusters) 9. └─antaresRead::readClusterDesc(opts = 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-createBindingConstraint.R:231:5'): Create a new binding constraint with BAD coefficients ── `createBindingConstraintBulk(constraints = lst_cstr, opts = simOptions())` threw an error with unexpected message. Expected match: "not valid cluster" Actual message: "attempt access index 9/9 in VECTOR_ELT" Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-createBindingConstraint.R:231: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. └─antaresEditObject::createBindingConstraintBulk(...) 7. ├─base::do.call(...) 8. └─antaresRead::readClusterDesc(opts = opts) 9. └─antaresRead:::.readClusterDesc(...) 10. └─antaresRead:::get_input_cluster_properties(...) 11. ├─ref_filter_by_vers[, `:=`(count, .N), by = select_col, keyby = TRUE] 12. └─data.table:::`[.data.table`(...) ── Failure ('test-createBindingConstraint.R:259:5'): Create a new binding constraint with BAD coefficients ── `createBindingConstraintBulk(constraints = lst_cstr, opts = simOptions())` threw an error with unexpected message. Expected match: "not valid link" Actual message: "attempt access index 9/9 in VECTOR_ELT" Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-createBindingConstraint.R:259: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. └─antaresEditObject::createBindingConstraintBulk(...) 7. ├─base::do.call(...) 8. └─antaresRead::readClusterDesc(opts = opts) 9. └─antaresRead:::.readClusterDesc(...) 10. └─antaresRead:::get_input_cluster_properties(...) 11. ├─ref_filter_by_vers[, `:=`(count, .N), by = select_col, keyby = TRUE] 12. └─data.table:::`[.data.table`(...) ── Error ('test-createBindingConstraint.R:282:5'): Create a new binding constraint with cluster coefficients (not with %) ── 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. └─antaresEditObject::createBindingConstraint(...) at test-createBindingConstraint.R:282:5 2. ├─antaresEditObject:::createBindingConstraint_(...) 3. │ └─base::nrow(clusters) 4. └─antaresRead::readClusterDesc(opts = opts) 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-createBindingConstraint.R:327:5'): createBindingConstraintBulk v710 ── 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. └─antaresEditObject::createBindingConstraintBulk(bindings_constraints) at test-createBindingConstraint.R:327:5 2. ├─base::do.call(...) 3. └─antaresRead::readClusterDesc(opts = opts) 4. └─antaresRead:::.readClusterDesc(...) 5. └─antaresRead:::get_input_cluster_properties(...) 6. ├─ref_filter_by_vers[, `:=`(count, .N), by = select_col, keyby = TRUE] 7. └─data.table:::`[.data.table`(...) ── Error ('test-createBindingConstraint.R:703:3'): bc with multi weight + offset properties ── 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. └─antaresEditObject::createBindingConstraint(...) at test-createBindingConstraint.R:703:3 2. ├─antaresEditObject:::createBindingConstraint_(...) 3. │ └─base::nrow(clusters) 4. └─antaresRead::readClusterDesc(opts = opts) 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-createBindingConstraint.R:745:3'): createBindingConstraintBulk v8.7 ── 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. └─antaresEditObject::createBindingConstraintBulk(bindings_constraints) at test-createBindingConstraint.R:745:3 2. ├─base::do.call(...) 3. └─antaresRead::readClusterDesc(opts = opts) 4. └─antaresRead:::.readClusterDesc(...) 5. └─antaresRead:::get_input_cluster_properties(...) 6. ├─ref_filter_by_vers[, `:=`(count, .N), by = select_col, keyby = TRUE] 7. └─data.table:::`[.data.table`(...) ── Failure ('test-createBindingConstraint.R:794:3'): test bad dimension object with existing object in study v8.7 ── `createBindingConstraintBulk(list(bad_object))` threw an error with unexpected message. Expected match: "Problem dimension with group" Actual message: "attempt access index 9/9 in VECTOR_ELT" Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-createBindingConstraint.R:794: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. └─antaresEditObject::createBindingConstraintBulk(list(bad_object)) 7. ├─base::do.call(...) 8. └─antaresRead::readClusterDesc(opts = opts) 9. └─antaresRead:::.readClusterDesc(...) 10. └─antaresRead:::get_input_cluster_properties(...) 11. ├─ref_filter_by_vers[, `:=`(count, .N), by = select_col, keyby = TRUE] 12. └─data.table:::`[.data.table`(...) ── Error ('test-createBindingConstraint.R:814:3'): test NULL VALUES in study v8.7 ── 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. └─antaresEditObject::createBindingConstraintBulk(list(BC_NULL_VALUES)) at test-createBindingConstraint.R:814:3 2. ├─base::do.call(...) 3. └─antaresRead::readClusterDesc(opts = opts) 4. └─antaresRead:::.readClusterDesc(...) 5. └─antaresRead:::get_input_cluster_properties(...) 6. ├─ref_filter_by_vers[, `:=`(count, .N), by = select_col, keyby = TRUE] 7. └─data.table:::`[.data.table`(...) ── Error ('test-createBindingConstraint.R:863:3'): test mixed VALUES in study v8.7 ── 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. └─antaresEditObject::createBindingConstraintBulk(BC_MIX_VALUES) at test-createBindingConstraint.R:863:3 2. ├─base::do.call(...) 3. └─antaresRead::readClusterDesc(opts = opts) 4. └─antaresRead:::.readClusterDesc(...) 5. └─antaresRead:::get_input_cluster_properties(...) 6. ├─ref_filter_by_vers[, `:=`(count, .N), by = select_col, keyby = TRUE] 7. └─data.table:::`[.data.table`(...) ── Failure ('test-createBindingConstraint.R:1045:3'): Control that you can not create a binding constraint link/cluster with no link/cluster in your study ── `createBindingConstraint(...)` threw an error with unexpected message. Expected match: "You are trying to create a binding constraint with a cluster coefficient but you have no cluster in your study." Actual message: "attempt access index 9/9 in VECTOR_ELT" Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-createBindingConstraint.R:1045: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. └─antaresEditObject::createBindingConstraint(...) 7. ├─antaresEditObject:::createBindingConstraint_(...) 8. │ └─base::nrow(clusters) 9. └─antaresRead::readClusterDesc(opts = 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-createBindingConstraint.R:1089:3'): Control that you can not create a binding constraint link/cluster with no link/cluster in your study ── `createBindingConstraintBulk(constraints = lst_cstr, opts = simOptions())` threw an error with unexpected message. Expected match: "You are trying to create a binding constraint with a link coefficient but you have no link in your study." Actual message: "attempt access index 9/9 in VECTOR_ELT" Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-createBindingConstraint.R:1089: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. └─antaresEditObject::createBindingConstraintBulk(...) 7. ├─base::do.call(...) 8. └─antaresRead::readClusterDesc(opts = opts) 9. └─antaresRead:::.readClusterDesc(...) 10. └─antaresRead:::get_input_cluster_properties(...) 11. ├─ref_filter_by_vers[, `:=`(count, .N), by = select_col, keyby = TRUE] 12. └─data.table:::`[.data.table`(...) ── Failure ('test-createBindingConstraint.R:1119:3'): Control that you can not create a binding constraint link/cluster with no link/cluster in your study ── `createBindingConstraintBulk(constraints = lst_cstr, opts = simOptions())` threw an error with unexpected message. Expected match: "You are trying to create a binding constraint with a cluster coefficient but you have no cluster in your study." Actual message: "attempt access index 9/9 in VECTOR_ELT" Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-createBindingConstraint.R:1119: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. └─antaresEditObject::createBindingConstraintBulk(...) 7. ├─base::do.call(...) 8. └─antaresRead::readClusterDesc(opts = opts) 9. └─antaresRead:::.readClusterDesc(...) 10. └─antaresRead:::get_input_cluster_properties(...) 11. ├─ref_filter_by_vers[, `:=`(count, .N), by = select_col, keyby = TRUE] 12. └─data.table:::`[.data.table`(...) ── Error ('test-createCluster.R:18:5'): Create a new 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. ├─testthat::expect_true(...) at test-createCluster.R:18:5 2. │ └─testthat::quasi_label(enquo(object), label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─paste(area, "mycluster", sep = "_") %in% ... 5. ├─base::levels(antaresRead::readClusterDesc()$cluster) 6. └─antaresRead::readClusterDesc() 7. └─antaresRead:::.readClusterDesc(...) 8. └─antaresRead:::get_input_cluster_properties(...) 9. ├─ref_filter_by_vers[, `:=`(count, .N), by = select_col, keyby = TRUE] 10. └─data.table:::`[.data.table`(...) ── Error ('test-createCluster.R:52:5'): Create a cluster with default properties ── 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_true(...) at test-createCluster.R:52:5 2. │ └─testthat::quasi_label(enquo(object), label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─paste(area2, "mycluster2", sep = "_") %in% ... 5. ├─base::levels(antaresRead::readClusterDesc()$cluster) 6. └─antaresRead::readClusterDesc() 7. └─antaresRead:::.readClusterDesc(...) 8. └─antaresRead:::get_input_cluster_properties(...) 9. ├─ref_filter_by_vers[, `:=`(count, .N), by = select_col, keyby = TRUE] 10. └─data.table:::`[.data.table`(...) ── Error ('test-createCluster.R:61:5'): Remove a 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. ├─testthat::expect_false(...) at test-createCluster.R:61:5 2. │ └─testthat::quasi_label(enquo(object), label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─paste(area2, "mycluster2", sep = "_") %in% ... 5. ├─base::levels(antaresRead::readClusterDesc()$cluster) 6. └─antaresRead::readClusterDesc() 7. └─antaresRead:::.readClusterDesc(...) 8. └─antaresRead:::get_input_cluster_properties(...) 9. ├─ref_filter_by_vers[, `:=`(count, .N), by = select_col, keyby = TRUE] 10. └─data.table:::`[.data.table`(...) ── Error ('test-createCluster.R:68:5'): Remove all clusters ──────────────────── 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-createCluster.R:68:5 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-createCluster.R:143:5'): Create cluster with pollutants params (new feature v8.6) / Create cluster with parameter pollutant ── 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-createCluster.R:143:5 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-createCluster.R:203:5'): removeCluster() : cluster is not removed if it is referenced in a binding constraint ── 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. └─antaresEditObject::createBindingConstraint(...) at test-createCluster.R:203:5 2. ├─antaresEditObject:::createBindingConstraint_(...) 3. │ └─base::nrow(clusters) 4. └─antaresRead::readClusterDesc(opts = opts) 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-createCluster.R:248:3'): removeCluster(): check if the expected files are deleted ── 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(opts = simOptions()) at test-createCluster.R:248: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-createClusterBulk.R:116:3'): Create cluster bulk v8, time performance ── 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-createClusterBulk.R:116: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`(...) ── Failure ('test-editBindingConstraint.R:33:3'): editBindingConstraint v710 ─── `editBindingConstraint(...)` threw an error with unexpected message. Expected match: "not valid cluster" Actual message: "attempt access index 9/9 in VECTOR_ELT" Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-editBindingConstraint.R:33: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. └─antaresEditObject::editBindingConstraint(...) 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-editBindingConstraint.R:173:3'): editBindingConstraint with 'default' group v8.7.0 ── 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. └─antaresEditObject::createBindingConstraint(...) at test-editBindingConstraint.R:173:3 2. ├─antaresEditObject:::createBindingConstraint_(...) 3. │ └─base::nrow(clusters) 4. └─antaresRead::readClusterDesc(opts = opts) 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-editBindingConstraint.R:351:3'): editBindingConstraint with existing group v8.7.0 ── 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. └─antaresEditObject::createBindingConstraint(...) at test-editBindingConstraint.R:351:3 2. ├─antaresEditObject:::createBindingConstraint_(...) 3. │ └─base::nrow(clusters) 4. └─antaresRead::readClusterDesc(opts = opts) 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-editCluster.R:14:5'): Edit nominal capacity ──────────────────── 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-editCluster.R:14:5 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-editCluster.R:95:3'): Edit cluster with pollutants params (new feature v8.6) ── 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(opts = opts_test) at test-editCluster.R:95: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-removeBindingConstraint.R:61:3'): removeBindingConstraint v8.7.0 by name ── 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. └─antaresEditObject::createBindingConstraint(...) at test-removeBindingConstraint.R:61:3 2. ├─antaresEditObject:::createBindingConstraint_(...) 3. │ └─base::nrow(clusters) 4. └─antaresRead::readClusterDesc(opts = opts) 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-removeBindingConstraint.R:115:3'): removeBindingConstraint v8.7.0 by names ── 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. └─antaresEditObject::createBindingConstraint(...) at test-removeBindingConstraint.R:115:3 2. ├─antaresEditObject:::createBindingConstraint_(...) 3. │ └─base::nrow(clusters) 4. └─antaresRead::readClusterDesc(opts = opts) 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-removeBindingConstraint.R:160:3'): removeBindingConstraint v8.7.0 by group ── 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. └─antaresEditObject::createBindingConstraint(...) at test-removeBindingConstraint.R:160:3 2. ├─antaresEditObject:::createBindingConstraint_(...) 3. │ └─base::nrow(clusters) 4. └─antaresRead::readClusterDesc(opts = opts) 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-removeBindingConstraint.R:200:3'): removeBindingConstraint v8.7.0 by group ── 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. └─antaresEditObject::createBindingConstraint(...) at test-removeBindingConstraint.R:200:3 2. ├─antaresEditObject:::createBindingConstraint_(...) 3. │ └─base::nrow(clusters) 4. └─antaresRead::readClusterDesc(opts = opts) 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-scenarioBuilder.R:11: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-scenarioBuilder.R:7:1 2. └─base::lapply(X = X, FUN = FUN, ...) 3. └─antaresEditObject (local) FUN(X[[i]], ...) 4. └─antaresEditObject::readScenarioBuilder(...) at test-scenarioBuilder.R:11:3 5. └─base::lapply(...) 6. └─antaresEditObject (local) FUN(X[[i]], ...) 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`(...) [ FAIL 38 | WARN 127 | SKIP 4 | PASS 644 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-fedora-gcc