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

if(!exists("meta") || is.null(meta)) meta <- packageDescription("countfitteR") 
year <- sub(".*(2[[:digit:]]{3})-.*", "\\1", meta$Date) 
vers <- paste("R package version", meta$Version)
title <- paste0(meta[["Package"]], ": ", tolower(meta[["Title"]]))
url <- paste0("https://cran.r-project.org/package=", meta[["Package"]])

citEntry(entry = "Manual",
  author = "Jaroslaw Chilimoniuk and Alicja Gosiewska and Jadwiga Słowik and Stefan Roediger and Michal Burdukiewicz",
  title = title,
  year = year, 
  note = vers,
  url = "https://CRAN.R-project.org/package=countfitteR",
  textVersion = paste0("Chilimoniuk J, Gosiewska A, Słowik J, Weiss R, Deckert PM, Roediger S and Burdukiewicz M (", 
           year, 
           "). ", 
           title,
           ". ",
           vers, 
           ". ", 
           url,
           ".")
)
