diff --git a/DESCRIPTION b/DESCRIPTION index c64d38451f8eaee913002aa7ce5f96311a05cbf9..10222c29b8add6d7798efa29378e7a55a5708098 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.16.24 +Version: 1.2.16.25 Date: 2019-06-07 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 de29c7322d8da42d8405cc1c3297468fc56b4a39..cdbc93b0978025a6e6a828662c5e115b917abf37 100644 --- a/NEWS.rmd +++ b/NEWS.rmd @@ -14,7 +14,7 @@ output: -### 1.2.16.24 Release Notes (2019-06-07) +### 1.2.16.25 Release Notes (2019-06-07) #### New features diff --git a/R/plot.OutputsModel.R b/R/plot.OutputsModel.R index 6c0355f609dfbe06c1eb0cd15f01b5d272035878..04dad71eb5b1bb29934ef6a3a3845c5f6ca5626b 100644 --- a/R/plot.OutputsModel.R +++ b/R/plot.OutputsModel.R @@ -117,12 +117,12 @@ plot.OutputsModel <- function(x, Qobs = NULL, IndPeriod_Plot = NULL, BasinArea = } if (is.null(Qobs)) { if (length(which) == 1 & any(which %in% c("CorQQ", "Error"))) { - stop(sprintf("the %s time series cannot be drawn if there is no 'Qobs'", shQuote(which))) + stop(sprintf("the %s plot(s) cannot be drawn if there is no 'Qobs'", shQuote(which))) } if (length(which) != 1 & any(which %in% c("CorQQ", "Error"))) { BOOL_CorQQ <- FALSE BOOL_Error <- FALSE - warning(sprintf("the %s time series cannot be drawn if there is no 'Qobs'", + warning(sprintf("the %s plot(s) cannot be drawn if there is no 'Qobs'", paste0(shQuote(c("CorQQ", "Error")), collapse = " and "))) } }