From bf370bdb989f9b1a4ba0c28286521050f35391cb Mon Sep 17 00:00:00 2001 From: Delaigue Olivier <olivier.delaigue@irstea.priv> Date: Wed, 6 Mar 2019 09:44:46 +0100 Subject: [PATCH] v1.2.8.3 CLEAN: minor revision of CreateRunOptions and print removed --- DESCRIPTION | 2 +- NEWS.rmd | 2 +- R/CreateRunOptions.R | 5 +---- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index 3bd5aff4..333421d6 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,7 +1,7 @@ Package: airGR Type: Package Title: Suite of GR Hydrological Models for Precipitation-Runoff Modelling -Version: 1.2.8.2 +Version: 1.2.8.3 Date: 2019-03-06 Authors@R: c( person("Laurent", "Coron", role = c("aut", "trl"), comment = c(ORCID = "0000-0002-1503-6204")), diff --git a/NEWS.rmd b/NEWS.rmd index 27919b27..1b2caa52 100644 --- a/NEWS.rmd +++ b/NEWS.rmd @@ -13,7 +13,7 @@ output: -### 1.2.8.2 Release Notes (2019-03-06) +### 1.2.8.3 Release Notes (2019-03-06) diff --git a/R/CreateRunOptions.R b/R/CreateRunOptions.R index dd9bfc97..753ed319 100644 --- a/R/CreateRunOptions.R +++ b/R/CreateRunOptions.R @@ -318,10 +318,7 @@ CreateRunOptions <- function(FUN_MOD, InputsModel, IndPeriod_WarmUp = NULL, IndP stop(paste0("'Outputs_Cal' is incorrectly defined: ", paste(Outputs_Cal[Test], collapse = ", "), " not found")) } - Outputs_Cal <- Outputs_Cal[!duplicated(Outputs_Cal)] - Outputs_Calxxx <- unique(Outputs_Cal) - print(Outputs_Cal) - print(Outputs_Calxxx) + Outputs_Cal <- unique(Outputs_Cal) ##check_MeanAnSolidPrecip -- GitLab