citHeader("When using parma in publications, please cite:")

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

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

citEntry(entry="Manual",
         title = "parma: portfolio allocation and risk management applications.",
         author = personList(as.person("Alexios Ghalanos and Bernhard Pfaff")),
         year         = year,
         note         = note,
         textVersion = 
         paste("Alexios Ghalanos and Bernhard Pfaff",
               sprintf("(%s).", year),
               "parma: portfolio allocation and risk management applications.",
	       note),
	 header = "To cite the parma package, please use:"
)

