citHeader("To cite dynlm in publications use")

## R >= 2.8.0 passes package metadata to citation().
if(!exists("meta") || is.null(meta)) meta <- packageDescription("dynlm")
year <- sub("-.*", "", meta$Date)
note <- sprintf("R package version %s", meta$Version)

citEntry(entry = "Manual",
         title = "{dynlm}: Dynamic Linear Regression",
         author = personList(as.person("Achim Zeileis")),
         year = year,
         note = note,
         url = "http://CRAN.R-project.org/package=dynlm",

         textVersion =
         paste("Achim Zeileis",
   	       sprintf("(%s).", year),	 
               "dynlm: Dynamic Linear Regression.",
	       paste(note, ".", sep = ""),
               "URL http://CRAN.R-project.org/package=dynlm")
)
