Commit 730ac944 authored by Delaigue Olivier's avatar Delaigue Olivier
Browse files

build(DESCRIPTION): remove 'hydroPSO' from the 'Suggests' list

- add add installation information in 'V02.1_param_optim' vignette
2 merge requests!95docs(man): review text of the '$CemaNeigeLayers' element in the 'value'...,!91Resolve "Correct vignette due to 'hydroPSO' was removed from the CRAN repository"
Pipeline #50916 failed with stage
in 36 minutes and 35 seconds
Showing with 10 additions and 2 deletions
+10 -2
......@@ -28,7 +28,7 @@ Imports:
utils
Suggests:
knitr, markdown, rmarkdown,
caRamel, coda, DEoptim, FME, ggmcmc, hydroPSO, Rmalschains,
caRamel, coda, DEoptim, FME, ggmcmc, Rmalschains,
GGally, ggplot2,
testthat
Description: Hydrological modelling tools developed at INRAE-Antony (HYCAR Research Unit, France). The package includes several conceptual rainfall-runoff models (GR4H, GR5H, GR4J, GR5J, GR6J, GR2M, GR1A) that can be applied either on a lumped or semi-distributed way. A snow accumulation and melt model (CemaNeige) and the associated functions for the calibration and evaluation of models are also included. Use help(airGR) for package description and references.
......
......@@ -13,7 +13,7 @@ vignette: >
```{r, warning=FALSE, include=FALSE, fig.keep='none', results='hide'}
library(airGR)
library(DEoptim)
library(hydroPSO) # Needs R version >= 3.6 or latticeExtra <= 0.6-28 on R 3.5
# library(hydroPSO) # Needs R version >= 3.6 or latticeExtra <= 0.6-28 on R 3.5. Archived on 2023-10-16 as requires archived packages 'hydroTSM' and 'hydroGOF'.
library(Rmalschains)
library(caRamel)
library(ggplot2)
......@@ -163,6 +163,14 @@ optDE <- DEoptim::DEoptim(fn = OptimGR4J,
## Particle Swarm
```{r, warning=FALSE, results='hide', message=FALSE, eval=FALSE}
# to install the package temporary removde from CRAN
# Rtools needed (windows : https://cran.r-project.org/bin/windows/Rtools/)
install.packages("https://cran.r-project.org/src/contrib/Archive/hydroPSO/hydroPSO_0.5-1.tar.gz",
repos = NULL, type = "source", dependencies = TRUE)
```
```{r, warning=FALSE, results='hide', message=FALSE, eval=FALSE}
optPSO <- hydroPSO::hydroPSO(fn = OptimGR4J,
lower = lowerGR4J, upper = upperGR4J,
......
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