From f2f8071c1593a3670fa6df31043d401d71ddb7e4 Mon Sep 17 00:00:00 2001
From: Delaigue Olivier <olivier.delaigue@irstea.priv>
Date: Tue, 19 Nov 2019 11:07:26 +0100
Subject: [PATCH] v1.3.2.56 CLEAN: minor typo correction of stop message in
 CreateInputsModel #8

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

diff --git a/DESCRIPTION b/DESCRIPTION
index 550c6289..72c6fdb4 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.3.2.55
+Version: 1.3.2.56
 Date: 2019-11-19
 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 abc7dad4..d10569c2 100644
--- a/NEWS.md
+++ b/NEWS.md
@@ -2,7 +2,7 @@
 
 
 
-### 1.3.2.55 Release Notes (2019-11-19)
+### 1.3.2.56 Release Notes (2019-11-19)
 
 
 #### New features
diff --git a/R/CreateInputsModel.R b/R/CreateInputsModel.R
index a4c30ea2..cb7e1e13 100644
--- a/R/CreateInputsModel.R
+++ b/R/CreateInputsModel.R
@@ -242,7 +242,7 @@ CreateInputsModel <- function(FUN_MOD,
       Select <- (max(which(BOOL_NA)) + 1):length(BOOL_NA)
       
       if (Select[1L] > Select[2L]) {
-        stop("time series could not be trunced since missing values were detected at the list time-step")
+        stop("time series could not be trunced since missing values were detected at the last time-step")
       }
       if ("GR" %in% ObjectClass) {
         Precip  <- Precip[Select]
-- 
GitLab