From 794884214c4cb436298da8d5c3b435b9147bc2b1 Mon Sep 17 00:00:00 2001 From: Delaigue Olivier <olivier.delaigue@irstea.priv> Date: Mon, 18 Mar 2019 14:50:09 +0100 Subject: [PATCH] v1.2.9.19 CLEAN: plot_OutputsModel is defunct --- DESCRIPTION | 2 +- NAMESPACE | 1 - NEWS.rmd | 5 ++++- R/plot_OutputsModel.R | 12 ------------ 4 files changed, 5 insertions(+), 15 deletions(-) delete mode 100644 R/plot_OutputsModel.R diff --git a/DESCRIPTION b/DESCRIPTION index 9629a5e8..a177fc68 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.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")), diff --git a/NAMESPACE b/NAMESPACE index b33fec18..067845d6 100644 --- a/NAMESPACE +++ b/NAMESPACE @@ -51,7 +51,6 @@ export(TransfoParam_GR4J) export(TransfoParam_GR5J) export(TransfoParam_GR6J) export(plot.OutputsModel) -export(plot_OutputsModel) exportPattern(".FortranOutputs") diff --git a/NEWS.rmd b/NEWS.rmd index dac1b7f9..cb65eda8 100644 --- a/NEWS.rmd +++ b/NEWS.rmd @@ -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 diff --git a/R/plot_OutputsModel.R b/R/plot_OutputsModel.R deleted file mode 100644 index 33513f0e..00000000 --- a/R/plot_OutputsModel.R +++ /dev/null @@ -1,12 +0,0 @@ -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, ...) -} -- GitLab