From 6ebfc0e5c3fb0cc56bcf82f10e9ccc994c2c3c8b Mon Sep 17 00:00:00 2001 From: Delaigue Olivier Date: Thu, 9 Apr 2020 17:17:10 +0200 Subject: [PATCH] v1.4.3.83 CLEAN: text revisions in error messages of SeriesAggreg function --- DESCRIPTION | 4 ++-- NEWS.md | 2 +- R/SeriesAggreg.R | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index 9029540..34402d6 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,8 +1,8 @@ Package: airGR Type: Package Title: Suite of GR Hydrological Models for Precipitation-Runoff Modelling -Version: 1.4.3.82 -Date: 2020-04-08 +Version: 1.4.3.83 +Date: 2020-04-09 Authors@R: c( person("Laurent", "Coron", role = c("aut", "trl"), comment = c(ORCID = "0000-0002-1503-6204")), person("Olivier", "Delaigue", role = c("aut", "cre"), comment = c(ORCID = "0000-0002-7668-8468"), email = "airGR@inrae.fr"), diff --git a/NEWS.md b/NEWS.md index f64e674..2e0dfa5 100644 --- a/NEWS.md +++ b/NEWS.md @@ -4,7 +4,7 @@ -### 1.4.3.82 Release Notes (2020-04-08) +### 1.4.3.83 Release Notes (2020-04-08) #### CRAN-compatibility updates diff --git a/R/SeriesAggreg.R b/R/SeriesAggreg.R index 96dfacc..209afb3 100644 --- a/R/SeriesAggreg.R +++ b/R/SeriesAggreg.R @@ -9,10 +9,10 @@ SeriesAggreg <- function(TabSeries, ##check_TabSeries if (!is.data.frame(TabSeries)) { - stop("'TabSeries' must be a data.frame containing the dates and data to be converted") + stop("'TabSeries' must be a data.frame containing the dates and data to be aggregated") } if (ncol(TabSeries) < 2) { - stop("'TabSeries' must contain at least two columns (including the coulmn of dates)") + stop("'TabSeries' must contain at least two columns (including the column of dates)") } ##check_TimeFormat if (!any(class(TabSeries[, 1]) %in% "POSIXt")) { -- GitLab