## R >= 2.8.0 passes package metadata to citation().
if(!exists("meta") || is.null(meta)) meta <- packageDescription("dccmidas")

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

bibentry(bibtype="Manual",
         title = "dccmidas: A package for estimating DCC-based models in {R}",
         author = c("Vincenzo Candila"),
         year         = year,
         note         = note,
         textVersion = 
         paste("Vincenzo Candila",
               sprintf("(%s).", year),
               "dccmidas: A package for estimating DCC-based models in {R}.",
	       note),
	 header = "To cite the dccmidas package, please use:"
)