diff --git a/DESCRIPTION b/DESCRIPTION index b07b949f9de91d7258efd30fae41f04de950f1d0..22fe42a274e562848c8a7b079352e124534b6374 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.1.2.29 +Version: 1.1.2.30 Date: 2019-01-18 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 8159e5f4f8dd751c3f4a4e041a89da0953ee5f57..860e476ae95d2dd968abf1d28b95ed1bb784f7cb 100644 --- a/NEWS.rmd +++ b/NEWS.rmd @@ -13,7 +13,7 @@ output: -### 1.1.2.29 Release Notes (2019-01-18) +### 1.1.2.30 Release Notes (2019-01-18) diff --git a/R/CreateRunOptions.R b/R/CreateRunOptions.R index 415faf36718b0fda0d7e1608651ef3730bfb3105..e04b399f3ad95227da8c47c4b0ef734d5caed67f 100644 --- a/R/CreateRunOptions.R +++ b/R/CreateRunOptions.R @@ -135,15 +135,15 @@ CreateRunOptions <- function(FUN_MOD, InputsModel, IndPeriod_WarmUp = NULL, IndP } if (!is.null(IndPeriod_WarmUp)) { if (!is.vector(IndPeriod_WarmUp)) { - stop("IndPeriod_Run must be a vector of numeric values \n") + stop("'IndPeriod_WarmUp' must be a vector of numeric values \n") return(NULL) } if (!is.numeric(IndPeriod_WarmUp)) { - stop("IndPeriod_Run must be a vector of numeric values \n") + stop("'IndPeriod_WarmUp' must be a vector of numeric values \n") return(NULL) } if (storage.mode(IndPeriod_WarmUp) != "integer") { - stop("IndPeriod_Run should be of type integer \n") + stop("'IndPeriod_WarmUp' should be of type integer \n") return(NULL) } if (identical(IndPeriod_WarmUp, as.integer(0)) & verbose) {