citHeader("To cite package 'vdi' in publications use:")
     
desc <- packageDescription("vdi")
year <- sub(".*(2[[:digit:]]{3})-.*", "\\1", desc$Date)
vers <- paste("R package version", desc$Version)
titl <- paste("vdi:",desc$Title)
auth <- desc$Author
auth <- gsub("(.*)<(.*)>,\\s(.*)\\s<(.*)>\\.$","\\1\\3",auth)
auth <- gsub(",","",auth)
url <- desc$URL

citEntry(entry="Manual",
  title = titl,
  author = auth,
  year = year,
  note = vers,
  url = url,
  textVersion =paste(auth," (",year,"). ",titl,". ",vers, ".\n",url,sep="")
)
