citHeader("To cite package texreg in publications use:")

if(!exists("meta") || is.null(meta)) meta <- packageDescription("texreg")
year <- sub(".*(2[[:digit:]]{3})-.*", "\\1", meta$Date)
vers <- paste("R package version", meta$Version)

citEntry(entry="Manual",
  title = paste0("texreg: Conversion of Statistical Model Output in {R}\n", 
    "     to {\\LaTeX} and {HTML} Tables"),
  author = as.person("Philip Leifeld"),
  year = year,
  note = vers,
  organization = paste("University of Konstanz"),
  textVersion = paste0("Leifeld, Philip (", year, "). texreg: Conversion of ", 
    "Statistical Model Output in R to LaTeX and HTML Tables. University ",
    "of Konstanz, Germany. ", vers, "."),
  url = "http://CRAN.R-project.org/package=texreg"
)
