Open luisdavidj opened 4 months ago
When running running script.R (the default script created in the project folder structure) I get this:
scenarioResults <- defaultScenario(projectConfiguration = projectConfiguration) Error in .validateDataCombinedFromExcel(dfDataCombined, simulatedScenarios, : The following scenarios are not present in `simulatedScenarios`: PopulationScenario. Data can not be added to `DataCombined` object. 5. stop(messages$warningInvalidScenarioName(missingScenarios)) 4. .validateDataCombinedFromExcel(dfDataCombined, simulatedScenarios, observedData, stopIfNotFound) 3. createDataCombinedFromExcel(file = projectConfiguration$plotsFile, sheet = "DataCombined", dataCombinedNames = unique(dfPlotConfigurations$DataCombinedName), simulatedScenarios = simulatedScenarios, observedData = observedData, stopIfNotFound = stopIfNotFound) 2. createPlotsFromExcel(simulatedScenarios = simulatedScenariosResults, observedData = observedData, projectConfiguration = projectConfiguration, stopIfNotFound = TRUE) at defaultScenario.R#70 1. defaultScenario(projectConfiguration = projectConfiguration)
> utils::sessionInfo() R version 4.4.1 (2024-06-14 ucrt) Platform: x86_64-w64-mingw32/x64 Running under: Windows 11 x64 (build 22631) Matrix products: default locale: [1] LC_COLLATE=English_Germany.utf8 LC_CTYPE=English_Germany.utf8 LC_MONETARY=English_Germany.utf8 LC_NUMERIC=C [5] LC_TIME=English_Germany.utf8 time zone: Europe/Paris tzcode source: internal attached base packages: [1] stats graphics grDevices datasets utils methods base other attached packages: [1] ggplot2_3.5.1 pkgbuild_1.4.4 rstudioapi_0.16.0 remotes_2.5.0 cli_3.6.3 renv_1.0.7 esqlabsR_5.1.3 [8] ospsuite_12.0.0.9000 rClr_0.9.2 loaded via a namespace (and not attached): [1] bit_4.0.5 gtable_0.3.5 jsonlite_1.8.8 [4] crayon_1.5.3 dplyr_1.1.4 compiler_4.4.1 [7] ospsuite.utils_1.5.0 tidyselect_1.2.1 stringr_1.5.1 [10] xml2_1.3.6 parallel_4.4.1 tidyr_1.3.1 [13] scales_1.3.0 readxl_1.4.3 readr_2.1.5 [16] R6_2.5.1 ospsuite.parameteridentification_2.0.1.9000 tlf_1.5.0 [19] labeling_0.4.3 generics_0.1.3 tibble_3.2.1 [22] munsell_0.5.1 RColorBrewer_1.1-3 tzdb_0.4.0 [25] pillar_1.9.0 rlang_1.1.4 utf8_1.2.4 [28] stringi_1.8.4 fs_1.6.4 bit64_4.0.5 [31] withr_3.0.0 magrittr_2.0.3 grid_4.4.1 [34] vroom_1.6.5 hms_1.1.3 lifecycle_1.0.4 [37] vctrs_0.6.5 glue_1.7.0 data.table_1.15.4 [40] farver_2.1.2 cellranger_1.1.0 fansi_1.0.6 [43] colorspace_2.1-0 purrr_1.0.2 tools_4.4.1 [46] pkgconfig_2.0.3
When running running script.R (the default script created in the project folder structure) I get this: