diff --git a/DESCRIPTION b/DESCRIPTION index 4741ff14cc830fc269a54a57fc2c413a42c0ea0a..64d83527323ae16f9f9a1a8cf095a08ba297ba41 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,8 +1,8 @@ Package: airGR Type: Package Title: Suite of GR Hydrological Models for Precipitation-Runoff Modelling -Version: 1.0.5.10 -Date: 2017-01-20 +Version: 1.0.5.11 +Date: 2017-01-23 Authors@R: c( person("Laurent", "Coron", role = c("aut", "trl")), person("Charles", "Perrin", role = c("aut", "ths")), @@ -18,12 +18,6 @@ Authors@R: c( person("Guillaume", "Thirel", role = c("ctb")), person("Audrey", "Valéry", role = c("ctb")) ) -Author: Laurent Coron, Charles Perrin, with contributions - from Vazken Andréassian, Pierre Brigode, Olivier Delaigue, - Nicolas Le Moine, Thibaut Mathevet, Safouane Mouelhi, - Ludovic Oudin, Raji Pushpalatha, Guillaume Thirel, Audrey Valéry. - Based on earlier work by Claude Michel. -Maintainer: Olivier Delaigue <airGR@irstea.fr> Depends: R (>= 3.0.1) Description: Hydrological modelling tools developed at Irstea-Antony (HBAN Research Unit, France). The package includes several conceptual diff --git a/R/Utils.R b/R/Utils.R deleted file mode 100644 index 56cdd51a9df8ea2974c2fde781b32556dceec0a2..0000000000000000000000000000000000000000 --- a/R/Utils.R +++ /dev/null @@ -1,3 +0,0 @@ -.onLoad <- function(libname, pkgname){ - print(citation("airGR")) -} \ No newline at end of file diff --git a/inst/CITATION b/inst/CITATION index 7afdb5c9bb878e5ded6231faf6c32225d472964b..e581dd85201ad8a6974dfcee87643f246670cebd 100644 --- a/inst/CITATION +++ b/inst/CITATION @@ -1,30 +1,35 @@ +year <- sub("-.*", "", meta$Date) +version <- meta$Version +note <- sprintf("R package version %s", version) + + citHeader("To cite airGR in publications use these two references:") bibentry(bibtype="Article", - title = "airGR: A suite of lumped hydrological models in an R-package", + title = "airGR: A Suite of Lumped Hydrological Models in an R-Package", author = personList(as.person("L. Coron"), as.person("G. Thirel"), as.person("O. Delaigue"), as.person("C. Perrin"), as.person("V. Andréassian")), - journal = "Environmental Modelling and software", + journal = "Environmental Modelling and Software", year = "submitted", textVersion = paste("Coron, L., Thirel, G., Delaigue, O., Perrin, C. and Andréassian, V.", "(submitted).", - "airGR: A suite of lumped hydrological models in an R-package.", - "Environmental Modelling and software.", + "airGR: A Suite of Lumped Hydrological Models in an R-Package.", + "Environmental Modelling and Software.", sep = " ") ) bibentry(bibtype="Manual", - title = "airGR: Suite of GR hydrological models for precipitation-runoff modelling", + title = "airGR: Suite of GR Hydrological Models for Precipitation-Runoff Modelling", author = personList(as.person("L. Coron"), as.person("C. Perrin"), as.person("C. Michel")), journal = "R News", - year = substr(packageDescription("airGR", fields = "Date"), 1, 4), - note = sprintf("R package version %s", packageVersion("airGR")), + year = year, + note = note, url = "https://webgr.irstea.fr/airGR/?lang=en", textVersion = paste("Coron, L., Perrin, C. and Michel, C.", - substr(packageDescription("airGR", fields = "Date"), 1, 4), - "airGR: Suite of GR hydrological models for precipitation-runoff modelling.", - sprintf("R package version %s.", packageVersion("airGR")), + year, + "airGR: Suite of GR Hydrological Models for Precipitation-Runoff Modelling.", + note, "https://webgr.irstea.fr/airGR/?lang=en.", sep = " ") )