From 8a47f4fa518722fb4a236b09af3c09bc70458e60 Mon Sep 17 00:00:00 2001 From: Delaigue Olivier <olivier.delaigue@irstea.fr> Date: Tue, 10 Dec 2019 14:53:37 +0100 Subject: [PATCH] v1.4.2.11 CLEAN: minor typo revision of an error message in CreateRunOptions #13 --- DESCRIPTION | 2 +- NEWS.md | 2 +- R/CreateRunOptions.R | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index 5edb7da7..edd2d802 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.4.2.10 +Version: 1.4.2.11 Date: 2019-12-10 Authors@R: c( person("Laurent", "Coron", role = c("aut", "trl"), comment = c(ORCID = "0000-0002-1503-6204")), diff --git a/NEWS.md b/NEWS.md index b5000280..a5dec150 100644 --- a/NEWS.md +++ b/NEWS.md @@ -2,7 +2,7 @@ -### 1.4.2.10 Release Notes (2019-12-10) +### 1.4.2.11 Release Notes (2019-12-10) #### New features diff --git a/R/CreateRunOptions.R b/R/CreateRunOptions.R index 878d5958..ef2c4823 100644 --- a/R/CreateRunOptions.R +++ b/R/CreateRunOptions.R @@ -69,7 +69,7 @@ CreateRunOptions <- function(FUN_MOD, InputsModel, IndPeriod_WarmUp = NULL, IndP } # if ((!(identical(FUN_MOD, RunModel_GR5H)) | !(identical(FUN_MOD, RunModel_CemaNeigeGR5H))) & "interception" %in% ObjectClass) { if (!(identical(FUN_MOD, RunModel_GR5H)) & "interception" %in% ObjectClass) { - stop("'IMax' cannot be ser for the chosen 'FUN_MOD'") + stop("'IMax' cannot be se for the chosen 'FUN_MOD'") } ##check_InputsModel -- GitLab