1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
|
citHeader("To cite in publications use:")
## R >= 2.8.0 passes package metadata to citation().
if(!exists("meta") || is.null(meta)) meta <- packageDescription("chron")
year <- sub("-.*", "", meta$Date)
note <- sprintf("R package version %s.", meta$Version)
citEntry(entry = "Manual",
title = {
paste("chron: Chronological Objects which Can Handle",
"Dates and Times")
},
author = personList(
person(first = "David", last = "James",
email = "dj@research.bell-labs.com"),
person(first = "Kurt", last = "Hornik",
email = "Kurt.Hornik@R-project.org")),
year = year,
note = {
paste(note,
"S original by David James, R port by Kurt Hornik.")
},
url = "http://CRAN.R-project.org/",
textVersion = {
paste("David James and Kurt Hornik",
sprintf("(%s).", year),
"chron: Chronological Objects which Can Handle",
"Dates and Times.",
note)
})
|