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

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

citEntry(entry="Manual",
         title = "ROptEst: Optimally robust estimation",
         author = personList(as.person("M. Kohl"),
                             as.person("P. Ruckdeschel")),
         language = "English",
         year = year,
         note = note,
         type = "R package",
         url = "http://robast.r-forge.r-project.org/",
         textVersion = paste("Kohl, M., and Ruckdeschel, P.",
                             sprintf("(%s).", year),
                             "ROptEst: Optimally robust estimation.",
                             paste(note, ".", sep = ""),
                             "URL http://robast.r-forge.r-project.org/"))
