[Qca-commits] r24 - pkg/R
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Thu Aug 7 10:24:59 CEST 2014
Author: alrikthiem
Date: 2014-08-07 10:24:59 +0200 (Thu, 07 Aug 2014)
New Revision: 24
Modified:
pkg/R/onAttach.R
Log:
Inserted "title" from DESCRIPTION after change of Title in DESCRIPTION
Modified: pkg/R/onAttach.R
===================================================================
--- pkg/R/onAttach.R 2014-07-23 20:18:35 UTC (rev 23)
+++ pkg/R/onAttach.R 2014-08-07 08:24:59 UTC (rev 24)
@@ -2,12 +2,14 @@
meta <- packageDescription("QCA")
year <- sub("-.*", "", meta$Date)
- note <- sprintf("R package version %s", meta$Version)
+ title <- meta$Title
+ note <- sprintf("R Package Version %s.", meta$Version)
msg <- paste("Dusa, Adrian and Alrik Thiem", sprintf("(%s).", year),
- "QCA: A Package for Qualitative Comparative Analysis.",
- paste(note, ".", sep = ""),
- "URL: http://cran.r-project.org/package=QCA")
- msg <- paste(strwrap(msg, indent=2, exdent=2), collapse="\n")
- packageStartupMessage("\nPlease cite the QCA package as:\n", msg, "\n\nA complete BibTeX reference is provided by:\n citation(\"QCA\")\n")
+ sprintf("%s.", title), note,
+ "URL: http://cran.r-project.org/package=QCA.")
+
+ msg <- paste(strwrap(msg, indent = 2, exdent = 2), collapse = "\n")
+
+ packageStartupMessage("\nPlease cite the QCA package as:\n\n", msg, "\n\nA BibTeX entry is provided by:\n citation(\"QCA\")\n")
}
More information about the Qca-commits
mailing list