From 61bcbcb535c12c13f267f967c64f749190b25c91 Mon Sep 17 00:00:00 2001
From: unknown <olivier.delaigue@ANPI1430.antony.irstea.priv>
Date: Mon, 22 May 2017 10:57:54 +0200
Subject: [PATCH] v1.0.6.18 new reference to article

---
 DESCRIPTION   |  4 ++--
 inst/CITATION | 55 ++++++++++++++++++++++++++++-----------------------
 2 files changed, 32 insertions(+), 27 deletions(-)

diff --git a/DESCRIPTION b/DESCRIPTION
index 411cedd3..3ab488ad 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.6.17
-Date: 2017-04-11
+Version: 1.0.6.18
+Date: 2017-05-22
 Authors@R: c(
   person("Laurent", "Coron", role = c("aut", "trl")),
   person("Charles", "Perrin", role = c("aut", "ths")),
diff --git a/inst/CITATION b/inst/CITATION
index 38e7b294..c1a5d9c8 100644
--- a/inst/CITATION
+++ b/inst/CITATION
@@ -6,30 +6,35 @@ note    <- sprintf("R package version %s", version)
 citHeader("To cite airGR in publications use these two references:")
 
 bibentry(bibtype="Article",
-	title = "The Suite of Lumped GR 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",
-  	year = "submitted",       
-        textVersion = 
-        paste("Coron, L., Thirel, G., Delaigue, O., Perrin, C. and Andréassian, V.",
-	          "(submitted).", 
-              "The Suite of Lumped GR Hydrological Models in an R package.",
-              "Environmental Modelling and Software.",
-              sep = " ")
-         )
+         title = "The Suite of Lumped {GR} 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",
+         year = "2017",
+         pages = {166--171},
+         volume = {94},
+         doi = "10.1016/j.envsoft.2017.05.002",
+         textVersion = 
+           paste("Coron, L., Thirel, G., Delaigue, O., Perrin, C. and Andréassian, V.",
+                 "(2017).", 
+                 "The Suite of Lumped GR Hydrological Models in an R package.",
+                 "Environmental Modelling and Software,",
+                 "94, 432-440.",
+                 "DOI: 10.1016/j.envsoft.2017.05.002.",
+                 sep = " ")
+)
 
 bibentry(bibtype="Manual",
-	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 = year,
-    note = note,
-    url = "https://webgr.irstea.fr/airGR/?lang=en",
-        textVersion = 
-        paste("Coron, L., Perrin, C. and Michel, C.",
-			  year,
-              "airGR: Suite of GR Hydrological Models for Precipitation-Runoff Modelling.",
-              note,
-              "https://webgr.irstea.fr/airGR/?lang=en.",
-              sep = " ")
-         )
+         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 = year,
+         note = note,
+         url = "https://webgr.irstea.fr/airGR/?lang=en",
+         textVersion = 
+           paste0("Coron, L., Perrin, C. and Michel, C. (",
+                  year,
+                  "). airGR: Suite of GR Hydrological Models for Precipitation-Runoff Modelling. ",
+                  note,
+                  ". URL: https://webgr.irstea.fr/airGR/."
+                  )
+)
-- 
GitLab