diff --git a/DESCRIPTION b/DESCRIPTION index 6f087f4c539dd967164c9428aca49abced2af7fc..1b01bc66240f79e97e10224d58e17a3bb59f9379 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.12.2 +Version: 1.2.12.3 Date: 2019-03-29 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 c9769d35d8ae4195bc8e437b26beb866402b1d54..3847a50f2e7449596f3adcac7fd90996d3f4d778 100644 --- a/NEWS.rmd +++ b/NEWS.rmd @@ -13,7 +13,7 @@ output: -### 1.2.12.2 Release Notes (2019-03-28) +### 1.2.12.3 Release Notes (2019-03-28) diff --git a/R/ErrorCrit.R b/R/ErrorCrit.R index 5c997e27d57595e11251a7b1ec182cd7a761eed1..e4ae8c26c69c5d82a7901f9b1b5b32141c1171d8 100644 --- a/R/ErrorCrit.R +++ b/R/ErrorCrit.R @@ -59,9 +59,9 @@ ErrorCrit <- function(InputsCrit, OutputsModel, FUN_CRIT, warnings = TRUE, verbo message("Crit. Composite = ", sprintf("%.4f", CritValue)) msgForm <- paste(sprintf("%.2f", listweights), listNameCrit, sep = " * ", collapse = ", ") msgForm <- unlist(strsplit(msgForm, split = ",")) - msgFormSep <- rep(c(",", ",", ",\n\t\t "), times = ceiling(length(msgForm)/3))[1: length(msgForm)] + msgFormSep <- rep(c(",", ",", ",\n\t\t "), times = ceiling(length(msgForm)/3))[1: length(msgForm)] msgForm <- paste(msgForm, msgFormSep, sep = "", collapse = "") - msgForm <- gsub("\\,\\\n\\\t\\\t $|\\,$", "", msgForm) + msgForm <- gsub("\\,\\\n\\\t\\\t $|\\,$", "", msgForm) message("\tFormula: sum(", msgForm, ")\n") } } else {