Commit 79488421 authored by Delaigue Olivier's avatar Delaigue Olivier
Browse files

v1.2.9.19 CLEAN: plot_OutputsModel is defunct

Showing with 5 additions and 15 deletions
+5 -15
Package: airGR
Type: Package
Title: Suite of GR Hydrological Models for Precipitation-Runoff Modelling
Version: 1.2.9.18
Version: 1.2.9.19
Date: 2019-03-18
Authors@R: c(
person("Laurent", "Coron", role = c("aut", "trl"), comment = c(ORCID = "0000-0002-1503-6204")),
......
......@@ -51,7 +51,6 @@ export(TransfoParam_GR4J)
export(TransfoParam_GR5J)
export(TransfoParam_GR6J)
export(plot.OutputsModel)
export(plot_OutputsModel)
exportPattern(".FortranOutputs")
......
......@@ -13,7 +13,7 @@ output:
### 1.2.9.18 Release Notes (2019-03-18)
### 1.2.9.19 Release Notes (2019-03-18)
......@@ -25,6 +25,9 @@ output:
- The <code>FUN_CRIT</code> argument is now deprecated in <code>Calibration_Michel()</code>. This function now get this information from the <code>InputsCrit</code> argument.
- The <code>plot_OutputsModel()</code> had been deprecated in airGR 1.0.4 (it has been replaced by the use of <code>plot.OutputsModel()</code> or <code>plot()</code>) and is defunct now.
#### New features
......
plot_OutputsModel <- function(OutputsModel, PlotChoice = "all", ...) {
.Deprecated(new = "plot_OutputsModel", package = NULL,
msg = "Deprecated function. Please, use plot.OutputsModel() or plot() on an object of class OutputsModel.",
old = as.character(sys.call(sys.parent()))[1L])
if (!missing(OutputsModel)) {
warning("Deprecated \"OutputsModel\" argument. Please, use \"x\" instead.")
}
if (!missing(PlotChoice)) {
warning("Deprecated \"PlotChoice\" argument. Please, use \"which\" instead.")
}
plot.OutputsModel(x = OutputsModel, which = PlotChoice, ...)
}
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