From 174d5e2925dbc70bbcfab91f637b6f5d020c3d02 Mon Sep 17 00:00:00 2001
From: Delaigue Olivier <olivier.delaigue@irstea.priv>
Date: Thu, 2 May 2019 15:34:16 +0200
Subject: [PATCH] v1.2.14.18 CLEAN: add missing "..." argument in plot(0)

---
 DESCRIPTION           | 2 +-
 NEWS.rmd              | 2 +-
 R/plot.OutputsModel.R | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/DESCRIPTION b/DESCRIPTION
index 5e11a483..de84408c 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.14.17
+Version: 1.2.14.18
 Date: 2019-05-02
 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 46667a84..5891cfba 100644
--- a/NEWS.rmd
+++ b/NEWS.rmd
@@ -14,7 +14,7 @@ output:
 
 
 
-### 1.2.14.17 Release Notes (2019-05-02)
+### 1.2.14.18 Release Notes (2019-05-02)
 
 
 #### New features
diff --git a/R/plot.OutputsModel.R b/R/plot.OutputsModel.R
index 56f98a75..9efad723 100644
--- a/R/plot.OutputsModel.R
+++ b/R/plot.OutputsModel.R
@@ -491,7 +491,7 @@ plot.OutputsModel <- function(x, Qobs = NULL, IndPeriod_Plot = NULL, BasinArea =
         (NameTS == "day"   & length(IndPeriod_Plot) <  30) |
         (NameTS == "month" & length(IndPeriod_Plot) <   2) |
         (NameTS == "year"  & length(IndPeriod_Plot) <   2)) {
-      plot(0, 0, type = "n", xaxt = "n", yaxt = "n", xlab = "", ylab = "")
+      plot(0, 0, type = "n", xaxt = "n", yaxt = "n", xlab = "", ylab = "", ...)
       par(las = 0)
       mtext(side = 1, text = "", line = line, cex = cex.lab)
       par(las = 0)
-- 
GitLab