if(!exists("meta") || is.null(meta)) meta <- packageDescription("RobExtremes")
year <- sub("-.*", "", meta$Date)
note <- sprintf("R package version %s", meta$Version)

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

citEntry(entry="Manual",
         title = "RobExtremes: Optimally robust estimation for extreme value distributions",
         author = personList(as.person("P. Ruckdeschel"),
		                     as.person("M. Kohl"),                           
							 as.person("N. Horbenko")),
         language = "English",
         year = year,
         note = paste("Contributions by", "S. Desmettre, G. Kroisandt, E. Massini, D. Pupashenko and B. Spangl;", 
					   note),
         type = "R package",
         url = "http://robast.r-forge.r-project.org/",
         textVersion = paste("Ruckdeschel, P., Kohl, M., and Horbenko, N.",
                             sprintf("(%s).", year),
                             "RobExtremes: Optimally robust estimation for extreme value distributions.",
                             paste("Contributions by", "S. Desmettre, G. Kroisandt, E. Massini, D. Pupashenko and B. Spangl;"),
							 paste(note, ".", sep = ""),
                             "URL http://robast.r-forge.r-project.org/"))
