diff --git a/DESCRIPTION b/DESCRIPTION index ec4d9af3cc20ff3f95bba005799f80a7a83e1f38..193e3ea3cf3f6d64574b8ff5935840a7c510b4ab 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.6.8.29 +Version: 1.6.8.30 Date: 2020-12-23 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 9d778a3640bb22dd6cea5b339621f1ff92140d3a..b60f2026ad46332969589ed989dece5141c69554 100644 --- a/NEWS.md +++ b/NEWS.md @@ -2,7 +2,7 @@ -### 1.6.8.29 Release Notes (2020-12-22) +### 1.6.8.30 Release Notes (2020-12-22) #### New features diff --git a/R/SeriesAggreg.data.frame.R b/R/SeriesAggreg.data.frame.R index ec34826f71d6e53fffd49726e4da6df05eb93853..7c99289e7fec306db0068bdc4843620b1958757d 100644 --- a/R/SeriesAggreg.data.frame.R +++ b/R/SeriesAggreg.data.frame.R @@ -52,8 +52,7 @@ SeriesAggreg.data.frame <- function(x, ## check ConvertFun listConvertFun <- list(sum = sum, mean = mean) - ConvertFun <- - names(listConvertFun)[match(ConvertFun, names(listConvertFun))] + ConvertFun <- names(listConvertFun)[match(ConvertFun, names(listConvertFun))] if (anyNA(ConvertFun)) { stop("'ConvertFun' should be a one of 'sum' or 'mean'") }