From 56adf6d34adf912b9f3f47b0fa325fc3ab4dbf60 Mon Sep 17 00:00:00 2001
From: Delaigue Olivier <olivier.delaigue@irstea.priv>
Date: Wed, 26 Sep 2018 16:51:01 +0200
Subject: [PATCH] v1.0.13.17 CLEAN: coda::as.mcmc changed into
 coda::as.mcmc.list in mcmc vignette to avoid error during CRAN check on
 debian os

---
 DESCRIPTION                    |  4 ++--
 NEWS.rmd                       | 14 ++++++++++++--
 vignettes/V02.2_param_mcmc.Rmd |  2 +-
 3 files changed, 15 insertions(+), 5 deletions(-)

diff --git a/DESCRIPTION b/DESCRIPTION
index 6906eda5..595da116 100644
--- a/DESCRIPTION
+++ b/DESCRIPTION
@@ -1,8 +1,8 @@
 Package: airGR
 Type: Package
 Title: Suite of GR Hydrological Models for Precipitation-Runoff Modelling
-Version: 1.0.13.16
-Date: 2018-09-24
+Version: 1.0.13.17
+Date: 2018-09-26
 Authors@R: c(
   person("Laurent", "Coron", role = c("aut", "trl"), comment = c(ORCID = "0000-0002-1503-6204")),
   person("Charles", "Perrin", role = c("aut", "ths"), comment = c(ORCID = "0000-0001-8552-1881")),
diff --git a/NEWS.rmd b/NEWS.rmd
index 4e849daf..9585eaad 100644
--- a/NEWS.rmd
+++ b/NEWS.rmd
@@ -14,7 +14,7 @@ output:
 
 
 
-### 1.0.13.16 Release Notes (2018-09-24) 
+### 1.0.13.17 Release Notes (2018-09-26) 
 
 
 #### Deprectated and defunct
@@ -24,10 +24,13 @@ output:
 - The unused <code>Ind_zeroes</code> argument of the <code>CreateInputsCrit()</code> function is now deprecated.
 
 
-#### Major user-visible changes
+#### New features
 
 - <code>PEdaily_Oudin()</code> now presents a <code>LatUnit</code> argument which allows to chose the unit of the latitude between radians and degrees.
 
+
+#### Major user-visible changes
+
 - <code>Calibration_Michel()</code> is now faster during the grid-screening step when a parameter is set using <code>FixedParam</code> in <code>CreateCalibOptions()</code>.
 
 - <code>CreateCalibOptions()</code> now returns an error when all the parameters are set and a warning message when all the parameters are not set <code>FixedParam</code> in the <code>FixedParam</code> argument.
@@ -45,6 +48,13 @@ output:
 
 - Suspects Qls and Qmm set to NA values between 1997-01-05 and 1997-01-21 in the L0123001 dataset.
 
+- ORCID numbers are now joined to the authors names of the package.
+
+
+#### CRAN-compatibility updates
+
+- Function name changed in a vignettes to avoid error during the check on Debian distribution
+
 ____________________________________________________________________________________
 
 
diff --git a/vignettes/V02.2_param_mcmc.Rmd b/vignettes/V02.2_param_mcmc.Rmd
index 768b388c..dc249b3e 100644
--- a/vignettes/V02.2_param_mcmc.Rmd
+++ b/vignettes/V02.2_param_mcmc.Rmd
@@ -127,7 +127,7 @@ The result will be better with more iterations than 2000. As we kept the iterati
 Note that we rescale model parameter sets of the GR4J model from the transformed space to the real space.
 
 ```{r, results='hide'}
-MultDRAM <- coda::as.mcmc(lapply(mcmcDRAM, function(x) {
+MultDRAM <- coda::as.mcmc.list(lapply(mcmcDRAM, function(x) {
   coda::as.mcmc(airGR::TransfoParam_GR4J(as.matrix(x$pars), Direction = "TR"))
   }))
 GelRub <- coda::gelman.diag(MultDRAM, autoburnin = TRUE)$mpsrf
-- 
GitLab