citHeader('To cite package "DirichletReg" in publications use:')
year <- gsub(".*(2[[:digit:]]{3})\\-.*", "\\1", meta$Date)
vers <- sprintf("R package version %s", meta$Version)
ttle <- sprintf("%s: %s", meta$Package, meta$Title)
urlg <- "https://github.com/maiermarco/DirichletReg"

citEntry(header = "Current Version",
  entry  = "MANUAL",
  title  = ttle,
  author = "Marco J. Maier",
  year   = year,
  note   = vers,
  url    = urlg,

  textVersion = sprintf("Maier, M. J. (%s). %s. %s. %s", year, ttle, vers, urlg)
)

citEntry(header = "Technical Report (2014)",
  entry       = "TECHREPORT",
  title       = "DirichletReg: Dirichlet Regression for Compositional Data in R",
  author      = "Marco J. Maier",
  year        = "2014",
  institution = "{WU Vienna University of Economics and Business}",
  address     = "{Vienna}",
  type        = "{Research Report Series{\\slash}Department of Statistics and Mathematics}",
  number      = "125",
  month       = "January",
  url         = "https://epub.wu.ac.at/4077/",

  textVersion = paste0(
    "Maier, M. J. (2014). ",
    "DirichletReg: Dirichlet Regression for Compositional Data in R. ",
    "Research Report Series / Department of Statistics and Mathematics, 125. WU Vienna University of Economics and Business, Vienna. ",
    "https://epub.wu.ac.at/4077/"
  ),
  
  footer = 'To get BibTeX citations, type:\ntoBibtex(citation("DirichletReg"))'
)
