diff --git a/DESCRIPTION b/DESCRIPTION index 3f2866c15fd691bc6a9cbedea6e5bc002cebc007..42fc032d6b981b1a06a293314f7fa6dc45dd2b8f 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.15.6 +Version: 1.2.15.7 Date: 2019-05-03 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 ea556ae19724bd0a820400b2cfc211520be26ef5..7a0eb0ac57a29570e889222c53cb8c7c4d1c2f24 100644 --- a/NEWS.rmd +++ b/NEWS.rmd @@ -14,7 +14,7 @@ output: -### 1.2.15.6 Release Notes (2019-05-03) +### 1.2.15.7 Release Notes (2019-05-03) #### New features diff --git a/R/plot.OutputsModel.R b/R/plot.OutputsModel.R index ecb73e3a3b0a790c1260243fe644f0ef2e5b90d1..d97feb100ab4ecc4abd726d2bbb82eb0c4358a86 100644 --- a/R/plot.OutputsModel.R +++ b/R/plot.OutputsModel.R @@ -73,7 +73,7 @@ plot.OutputsModel <- function(x, Qobs = NULL, IndPeriod_Plot = NULL, BasinArea = stop("Incorrect element found in argument 'which':\nwithout CemaNeige it can only contain 'all', 'synth', 'ts', 'perf', 'Precip', 'PotEvap', 'Flows', 'Error', 'Regime', 'CumFreq' or 'CorQQ'") } if (length(unique(which %in% c("Temp", "SnowPack"))) == 2 & !inherits(OutputsModel, "CemaNeige")) { - warning("Incorrect element found in argument 'which':\nit can only contain 'all'synth', 'ts', 'perf', 'Precip', 'PotEvap', 'Flows', 'Error', 'Regime', 'CumFreq' or 'CorQQ'\nwithout CemaNeige 'Temp' and 'SnowPack' are not available") + warning("Incorrect element found in argument 'which':\nit can only contain 'all', 'synth', 'ts', 'perf', 'Precip', 'PotEvap', 'Flows', 'Error', 'Regime', 'CumFreq' or 'CorQQ'\nwithout CemaNeige 'Temp' and 'SnowPack' are not available") }