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

if(!exists("meta") || is.null(meta)) meta <- packageDescription("AmyloGram")
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 = "Michal Burdukiewicz and Piotr Sobczyk and Stefan Roediger",
  title = title,
  year = year,
  note = vers,
  url = "https://cran.r-project.org/package=AmyloGram",
  textVersion = paste0("Burdukiewicz M, Sobczyk P and Roediger S (",
           year,
           "). ",
           title,
           ". ",
           vers,
           ". ",
           url,
           ".")
)
