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

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

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