Skip to content
This repository has been archived by the owner on Oct 11, 2024. It is now read-only.

add date field to description to fix call to citation #35

Open
nuest opened this issue Apr 10, 2015 · 1 comment
Open

add date field to description to fix call to citation #35

nuest opened this issue Apr 10, 2015 · 1 comment
Labels

Comments

@nuest
Copy link
Contributor

nuest commented Apr 10, 2015

citation("sensorweb4R")

returns the warning

Warning message:
In citation("sensorweb4R") :
  kein Datumsfeld in der Datei DESCRIPTION des Paketes ‘sensorweby’
@nuest nuest added the bug label Apr 10, 2015
@autermann
Copy link
Member

There is more missing than just a date (see Writing R Extensions). Apperently a inst/CITATION file is needed, that produces a BibTeX entry like this:

year <- sub("-.*", "", meta$Date)
note <- sprintf("R package version %s", meta$Version)

bibentry(bibtype = "Manual",
         title = "{nlme}: Linear and Nonlinear Mixed Effects Models",
         author = c(person("Jose", "Pinheiro"),
                    person("Douglas", "Bates"),
                    person("Saikat", "DebRoy"),
                    person("Deepayan", "Sarkar"),
                    person("R Core Team")),
         year = year,
         note = note,
         url = "http://CRAN.R-project.org/package=nlme")

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants