Commit 56adf6d3 authored by Delaigue Olivier's avatar Delaigue Olivier
Browse files

v1.0.13.17 CLEAN: coda::as.mcmc changed into coda::as.mcmc.list in mcmc...

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
parent fa1ed356
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")),
......
......@@ -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
____________________________________________________________________________________
......
......@@ -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
......
Markdown is supported
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