citHeader("To cite dpcR in publications, please use:")

if(!exists("meta") || is.null(meta)) meta <- packageDescription("dpcR") 
year <- sub(".*(2[[:digit:]]{3})-.*", "\\1", meta$Date) 
vers <- paste("R package version", meta$Version)

citEntry(entry = "Manual",
  author = "Michal Burdukiewicz and Stefan Roediger and Bart Jacobs and Piotr Sobczyk",
  title = "dpcR: Digital PCR Analysis",
  year = year,
  note = vers,
  url = "http://CRAN.R-project.org/package=dpcR",
  textVersion = paste("Burdukiewicz M, Roediger S, Jacobs B and Sobczyk P (", 
           year, 
           "). dpcR: Digital PCR Analysis. ", 
           vers, 
           ", http://CRAN.R-project.org/package=dpcR",
           ".", sep=""))
