citHeader("To cite the 'DATAstudio' package in publications use the reference below as well as those provided in the documentation:")

year <- sub(".*(2[[:digit:]]{3})-.*", "\\1", meta$Date, perl = TRUE)
vers <- paste("R package version", meta$Version)

bibentry(
  bibtype = "Manual",
  title = "DATAstudio: The Research Data Warehouse of Miguel de Carvalho",
  author = c(person("Miguel", "de Carvalho")),
  year = year,
  note = vers,
  textVersion = paste("Miguel de Carvalho (", year, "). DATAstudio: The Research Data Warehouse of Miguel de Carvalho. ", vers, ".", sep="")
)

## citEntry(entry="Manual",
##          title = "DATAstudio: The Research Data Warehouse of Miguel de Carvalho",
##          author = personList(as.person("M. de Carvalho")),
##          year = year,
##          note = vers,
##          textVersion =
##              paste("Miguel de Carvalho(",
##                    year,
##                    "). DATAstudio: The Research Data Warehouse of Miguel de Carvalho.",
##                    vers, ".", sep=""))
