Installation

From conda-forge

The recommended way to install evalhyd-r is to use a conda-like package manager and the conda-forge channel:

Install using mamba and the conda-forge channel
$ 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:

Create an environment and install the required libraries
$ mamba create -n my-r-env -c conda-forge r rstudio r-evalhyd
Activate the environment
$ mamba activate my-r-env
Fire up RStudio
$ rstudio

Warning

This method will not work for Windows users.

From source

To build evalhyd-r from source, use the following shell commands:

Clone GitLab repository
$ git clone --recursive "https://gitlab.irstea.fr/HYCAR-Hydro/evalhyd/evalhyd-r.git"
Install from cloned source
$ R CMD INSTALL evalhyd-r

Requirements

The following libraries are required to install evalhyd-r:

Rtools
Rcpp
git