From 4ffb487e14892bf21df2334ea1523e4d439bf2ba Mon Sep 17 00:00:00 2001
From: Delaigue Olivier <olivier.delaigue@irstea.priv>
Date: Fri, 22 Mar 2019 13:31:38 +0100
Subject: [PATCH] v1.2.11.3 CLEAN: minror warning message revision

---
 DESCRIPTION          | 2 +-
 NEWS.rmd             | 2 +-
 R/CreateInputsCrit.R | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/DESCRIPTION b/DESCRIPTION
index 8210df87..019599fc 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.11.2
+Version: 1.2.11.3
 Date: 2019-03-22
 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 6db66a7f..565439a0 100644
--- a/NEWS.rmd
+++ b/NEWS.rmd
@@ -13,7 +13,7 @@ output:
 
 
 
-### 1.2.11.2 Release Notes (2019-03-22) 
+### 1.2.11.3 Release Notes (2019-03-22) 
 
 
 
diff --git a/R/CreateInputsCrit.R b/R/CreateInputsCrit.R
index 6a349dde..aa73a2a1 100644
--- a/R/CreateInputsCrit.R
+++ b/R/CreateInputsCrit.R
@@ -275,7 +275,7 @@ CreateInputsCrit <- function(FUN_CRIT,
     for (iInCnVarObs in inCnVarObs) {
       if (any(listVarObs %in% iInCnVarObs)) {
         if (tabGroupLayer[tabGroupLayer$varObs %in% iInCnVarObs, "freq"] != nLayers) {
-          stop(sprintf("'obs' must contains %i vector(s) about %s", nLayers, iInCnVarObs))
+          stop(sprintf("'obs' must contain %i vector(s) about %s", nLayers, iInCnVarObs))
         }
       }
     }
-- 
GitLab