Installation
From R-universe
The recommended way to install evalhyd-r
is to use the R-universe platform:
> install.packages(
+ 'evalhyd',
+ repos = c('https://hydrogr.r-universe.dev',
+ 'https://cloud.r-project.org')
+ )
From conda-forge
evalhyd-r
is also available on conda-forge, so that it
can be installed with any conda
-like package manager:
$ mamba install -c conda-forge r-evalhyd
Tip
RStudio users can install evalhyd-r
, R, and RStudio in the same
environment, and then use this RStudio directly:
$ mamba create -n my-r-env -c conda-forge r rstudio r-evalhyd
$ mamba activate my-r-env
$ rstudio
Warning
This method will not work for Windows users.
From source
To build evalhyd-r
from source, use the following shell commands:
$ git clone --recursive "https://gitlab.irstea.fr/HYCAR-Hydro/evalhyd/evalhyd-r.git"
$ R CMD INSTALL evalhyd-r
Requirements
The following libraries are required to install evalhyd-r
:
Rtools
Rcpp
git