Commit 6ebfc0e5 authored by Delaigue Olivier's avatar Delaigue Olivier
Browse files

v1.4.3.83 CLEAN: text revisions in error messages of SeriesAggreg function

Showing with 5 additions and 5 deletions
+5 -5
Package: airGR Package: airGR
Type: Package Type: Package
Title: Suite of GR Hydrological Models for Precipitation-Runoff Modelling Title: Suite of GR Hydrological Models for Precipitation-Runoff Modelling
Version: 1.4.3.82 Version: 1.4.3.83
Date: 2020-04-08 Date: 2020-04-09
Authors@R: c( Authors@R: c(
person("Laurent", "Coron", role = c("aut", "trl"), comment = c(ORCID = "0000-0002-1503-6204")), 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"), person("Olivier", "Delaigue", role = c("aut", "cre"), comment = c(ORCID = "0000-0002-7668-8468"), email = "airGR@inrae.fr"),
......
...@@ -4,7 +4,7 @@ ...@@ -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 #### CRAN-compatibility updates
......
...@@ -9,10 +9,10 @@ SeriesAggreg <- function(TabSeries, ...@@ -9,10 +9,10 @@ SeriesAggreg <- function(TabSeries,
##check_TabSeries ##check_TabSeries
if (!is.data.frame(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) { 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 ##check_TimeFormat
if (!any(class(TabSeries[, 1]) %in% "POSIXt")) { if (!any(class(TabSeries[, 1]) %in% "POSIXt")) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment