Skip to content

airGR

1.7.9Package record

Suite of GR Hydrological Models for Precipitation-Runoff Modelling

4packages dependsuggested by 2
26Kdownloads / year
45.2%test coverage
13/13flavors OK

Overview

About

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.

Changes in 1.7.9

Bug fixes

  • CreateRunOptions() no longer displays irrelevant warnings about unused initial states (e.g., CemaNeige or Interception states) when IniStates is not provided by the user. (#204)
  • CreateRunOptions() now correctly takes into account the IniStates argument when using the RunModel_GR2M() function. (#209)
  • RunModel_GR2M() now uses the fixed 60 mm capacity of the routing reservoir to calculate its initial state, instead of incorrectly using the groundwater exchange coefficient (X2). This fix only impacts results when no warm-up period is used (i.e., when the simulation starts at the first time step). (#206)
  • Fixed a crash in the internal .GetOutputsModelGR() function that occurred when WarmUpQsim was explicitly requested in the Outputs_Sim argument of CreateRunOptions(). (#208)

Minor user-visible changes

  • RunModel_GR2M() warning message for the X2 parameter threshold has been corrected to display the proper parameter name and unit ([-]). (#206)
  • RunModel_Lag() has been cleaned of experimental code related to leaks on routed flows that was unintentionally included in the previous release. (#207)

Version control and issue tracking

  • Updated project URLs to reflect the migration from the old IRSTEA GitLab to the new INRAE Forge. (#210)
  • Added several regression tests for CreateRunOptions() to ensure IniStates handling, correct output lists, and the absence of intempestive warnings. (#209, #204, #208)

____________________________________________________________________________________

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 4.7 min · r-devel-windows-x86_64
Status changes
  • OK13 OK2026-09-09
  • ERROR12 OK, 1 ERROR2026-09-04
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-06-09
Show 4 earlier changesHide 4 earlier changes
  • ERROR12 OK, 1 ERROR2026-06-08
  • OK14 OK2026-04-10
  • ERROR13 OK, 1 ERROR2026-04-09
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 1.7.9
READMEYes · 1,084 wordsVignettesYes · 6 · dynamicNEWSYes · 100% structured · mentions 1.7.9Citation fileYes · cites a publicationWebsiteYes
Help pages
39includes a package overview page
Examples that run
95%35 run in a plain check · 2 never run
Exported functions with examples
97%
Documented parameters
97%
Return-value docs
100%
Help pages citing references
64%

Downloads

26K
CRAN downloads in the past year
Rank #1,801 · ~71/day · ~2.2K/mo
Daily download trend is not available in this view yet.
8.1K30 days
11.2K90 days
26K1 year
Compare downloads with other packages →
Also on600 r2u35 autocran218 c2d4u

Repository

PracticesBeta

Repository forge.inrae.fr/hydrogr/airgrgalaxy is linked, but repository-practices checks have not run for it yet. Checks are GitHub-only for now.

How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
13 external dependencies (excludes base and recommended)

Installing airGR adds no packages beyond those that come with R.

Depends (1)
R >= 3.5.0
Imports (4)
graphicsgrDevicesstatsutils
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
4direct
0indirect
Depends 3 · Imports 1
Suggested by 2
Depends, Imports or LinkingTo, most downloaded first
Suggests, most downloaded first

Datasets

People & History

People (15)
Author, Maintainer since 1.0.5.12 (2017)
Author, Translator
Author · added in 1.6.9.27
Author, Thesis advisor
Author, Thesis advisor
Author, Thesis advisor
Contributor, Thesis advisor
Contributor · added in 1.0.9.64
Contributor
Contributor
Contributor
Contributor
Contributor
Contributor
Show 1 more contributorHide 1 contributor
Contributor
Releases (20)

Pick two releases to compare their code metrics.

  • 1.7.9Latest
    record
    2026-07-08 · current release · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • 1.7.8
    record
    2025-12-12 · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • 1.7.6
    record
    2023-10-26 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 1.7.4
    record
    2023-04-11 · diff ↗ ·
    removed 2 exports
    .ErrorCrit, .FeatModels
  • R
    R 4.2.0 released · 2022-04-22
  • 1.7.0
    record
    2022-02-22 · diff ↗ ·
    removed 1 export
    PEdaily_Oudin
    added 2 exports
    CreateErrorCrit_GAPX, CreateInputsCrit_Lavenne
  • R
    R 4.1.0 released · 2021-05-18
  • 1.6.12
    record
    2021-04-27 · diff ↗ ·
    added 1 export
    .FeatModels
  • 1.6.10.4
    record
    2021-01-29 · diff ↗
  • 1.6.9.27
    record
    2021-01-22 · diff ↗ ·
    removed 2 exports
    pattern:.FortranOutputs, pattern:.ErrorCrit
    added 3 exports
    RunModel_Lag, TransfoParam_Lag, .ErrorCrit
  • R
    R 4.0.0 released · 2020-04-24
  • 1.4.3.65
    record
    2020-02-28 · diff ↗
Show 15 earlier eventsHide 15 earlier events
  • 1.4.3.60
    record
    2020-01-29 · diff ↗
  • 1.4.3.52
    record
    2020-01-21 · diff ↗ ·
    added 4 exports
    Imax, RunModel_CemaNeigeGR5H, RunModel_GR5H, TransfoParam_GR5H
  • 1.3.2.42
    record
    2019-09-22 · diff ↗
  • 1.3.2.23
    record
    2019-06-21 · diff ↗ ·
    added 3 exports
    PE_Oudin, RunModel_CemaNeigeGR4H, pattern:.ErrorCrit
  • R
    R 3.6.0 released · 2019-04-26
  • 1.2.13.16
    record
    2019-04-03 · diff ↗ ·
    removed 1 export
    plot_OutputsModel
    added 2 exports
    TransfoParam_CemaNeigeHyst, pattern:.FortranOutputs
  • 1.0.15.2
    record
    2018-10-10 · diff ↗
  • 1.0.14.1
    record
    2018-09-28 · diff ↗
  • 1.0.13.19
    record
    2018-09-27 · diff ↗
  • 1.0.10.11
    record
    2018-06-29 · diff ↗
  • R
    R 3.5.0 released · 2018-04-23
  • 1.0.9.64
    record
    2017-11-10 · diff ↗ ·
    added 1 export
    CreateIniStates
  • R
    R 3.4.0 released · 2017-04-21
  • 1.0.5.12
    record
    2017-01-24
  • R
    R 3.3.0 released · 2016-05-03

Package metadata

First published
2017-01-24
Total releases
20 / 9 yrs
License
GPL-2 OSI
Minimum R
≥ 3.5.0
Bundled data
2.0 MB / 7 files
Download size
2.7 MB
Appears in task views

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("airGR")

The package provides a citation file that builds its entry when R runs it. Run citation() to see it.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for airGR version 1.7.9 [Data set]. HJJB, LLC. Data release v2026-10-18. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-18, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy