File: CITATION

package info (click to toggle)
chron 2.3-24-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 216 kB
  • ctags: 8
  • sloc: ansic: 127; makefile: 1
file content (30 lines) | stat: -rw-r--r-- 1,068 bytes parent folder | download
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)
         })