
is anadd-on package to theairGR package. It simplifiesits use and is more specifically oriented towards teaching thanairGR. It provides access tothe GR rainfall-runoff models (GR4H, GR5H, GR4J, GR5J, GR6J, GR2M, GR1A)and a snow melt and accumulation model (CemaNeige) with limitedprogramming skills. This package also provides a graphical interface tohelp students exploring data and model results.
Thepackage has been designed to fulfil a major requirement: facilitatingthe use of theairGRfunctionalities by students. The names of the functions and theirarguments were chosen to this end.
The package is mostly based on three new families of functions:
You can install the package with the following command:
If you use RStudio, you can use thePackages interface :

All the dependencie will ba automatically download and installed with:
You cannot run withoutairGR. You cannot performdynamic graphics to visualize your inputs or your results time-serieswhithout the xts and the dygraphs packages, but you can produce staticcharts. All the other packages are needed to run the Shiny GUI.
You can download the source,Windows binaries or macOS binaries on theCRAN.
To cite the package inyour scientific document, please use the references returned by thecitation() function:
To cite airGRteaching in publications use these two references: Delaigue, O., Brigode, P., Thirel, G. and Coron, L. (2023). airGRteaching: an open-source tool for teaching hydrological modeling with R. Hydrology and Earth System Sciences 27, 3293–3327, doi: 10.5194/hess-27-3293-2023. Delaigue, O., Coron, L., Brigode, P. and Thirel, G. (2025). airGRteaching: Teaching Hydrological Modelling with GR (Shiny Interface Included). R package version 0.3.5, doi: 10.32614/CRAN.package.airGRteaching.To see these entries in BibTeX format, use 'print(<citation>, bibtex=TRUE)', 'toBibtex(.)', or set'options(citation.bibtex.max=999)'.To retrieve a “.bib” format forLaTeX documents, youcan use the following command:
@Article{, author = {O. Delaigue and P. Brigode and G. Thirel and L. Coron}, title = {{airGRteaching}: an open-source tool for teaching hydrological modeling with {R}}, booktitle = {HIC 2018. 13th International Conference on Hydroinformatics}, journal = {Hydrology and Earth System Sciences}, volume = {27}, number = {17}, pages = {3293-3327}, year = {2023}, url = {https://hess.copernicus.org/articles/27/3293/2023/}, doi = {10.5194/hess-27-3293-2023},}@Manual{, title = {{airGRteaching}: Teaching Hydrological Modelling with {GR} ({Shiny} Interface Included)}, author = {O. Delaigue and L. Coron and P. Brigode and G. Thirel}, journal = {R News}, year = {2025}, note = {R package version 0.3.5}, url = {https://CRAN.R-project.org/package=airGRteaching}, doi = {10.32614/CRAN.package.airGRteaching},}