[Analogue-commits] r124 - pkg/inst
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Tue May 5 23:11:56 CEST 2009
Author: gsimpson
Date: 2009-05-05 23:11:55 +0200 (Tue, 05 May 2009)
New Revision: 124
Modified:
pkg/inst/CITATION
Log:
Updated CITATION file
Modified: pkg/inst/CITATION
===================================================================
--- pkg/inst/CITATION 2009-04-26 14:09:48 UTC (rev 123)
+++ pkg/inst/CITATION 2009-05-05 21:11:55 UTC (rev 124)
@@ -1,3 +1,5 @@
+if(!exists("meta") || is.null(meta)) meta <- packageDescription("analogue")
+
citHeader("To cite use of 'analogue' in publications use:")
citEntry(entry="Manual",
@@ -3,12 +5,12 @@
title ="analogue: Analogue and weighted averaging methods for palaeoecology",
author = personList(as.person("G. L. Simpson"), as.person("J. Oksanen")),
- year = "2009",
- note = paste("R package version", packageDescription("analogue")$Version),
+ year = sub(".*(2[[:digit:]]{3})-.*", "\\1", meta$Date),
+ note = paste("R package version", meta$Version),
url = "http://cran.r-project.org/package=analogue",
textVersion =
paste("Simpson, G.L. and Oksanen, J. (2009). ",
"analogue: Analogue matching and Modern Analogue Technique transfer function models. (R package version",
- packageDescription("analogue")$Version,").",
+ meta$Version,").",
"(http://cran.r-project.org/package=analogue).", sep=" ")
)
More information about the Analogue-commits
mailing list