From f28fc6e306f722fe62c7dfb1a45f5b7487bfe9e4 Mon Sep 17 00:00:00 2001
From: Delaigue Olivier <olivier.delaigue@irstea.priv>
Date: Mon, 18 Mar 2019 11:56:53 +0100
Subject: [PATCH] v1.2.9.11 UPDATE: warning message in ErrorCrit

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

diff --git a/DESCRIPTION b/DESCRIPTION
index d35f5740..99e9edd2 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.9.10
+Version: 1.2.9.11
 Date: 2019-03-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 0bc189eb..1eb486b2 100644
--- a/NEWS.rmd
+++ b/NEWS.rmd
@@ -13,7 +13,7 @@ output:
 
 
 
-### 1.2.9.10 Release Notes (2019-03-18) 
+### 1.2.9.11 Release Notes (2019-03-18) 
 
 
 
diff --git a/R/ErrorCrit.R b/R/ErrorCrit.R
index 7037b11f..7f0d362d 100644
--- a/R/ErrorCrit.R
+++ b/R/ErrorCrit.R
@@ -10,7 +10,7 @@ ErrorCrit <- function(InputsCrit, OutputsModel, FUN_CRIT, warnings = TRUE, verbo
     stop("OutputsModel must be of class 'OutputsModel'")
   }  
   if (!missing(FUN_CRIT)) {
-    warning("argument 'FUN_CRIT' is deprecated. The error criterion function is now automatically get from the 'InputsCrit' object", call. = FALSE)
+    warning("deprecated 'FUN_CRIT' argument. The error criterion function is now automatically get from the 'InputsCrit' object", call. = FALSE)
   }
   
   
-- 
GitLab