meta <- packageDescription("QCAGUI")
year <- sub("-.*", "", unlist(meta["Date"]))
note <- paste("R Package Version", unlist(meta["Version"]))
title <- unlist(meta["Title"])

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

citEntry(entry = "Article",
    author      = personList(as.person("Adrian Dusa")),
    year        = "2007",
    journal     = "Journal of Business Research",
    volume      = "60",
    number      = "5",
    pages       = "576--586",
    title       = "User manual for the QCA(GUI) package in R",
    textVersion = paste("Dusa, Adrian (2007).",
                        "User manual for the QCA(GUI) package in R,",
                        "Journal of Business Research 60(5), 576-586.")
)

citEntry(entry = "Manual",
    author      = personList(as.person("Adrian Dusa")),
    year        = "2016",
    title       = "Modern Functions for Qualitative Comparative Analysis",
    note        = "R Package version 2.3",
    url         = "http://cran.r-project.org/package=QCAGUI",
    textVersion = paste("Dusa, Adrian (2016) Modern Functions for Qualitative Comparative Analysis",
                      "R package 2.3", "URL: http://cran.r-project.org/package=QCAGUI", sep = ". "),
    header      = "For the package itself:"
)

citEntry(entry = "Article",
    author      = personList(as.person("Adrian Dusa")),
    year        = "2010",
    journal     = "Quality & Quantity",
    volume      = "44",
    number      = "1",
    pages       = "99--113",
    title       = "A mathematical approach to the boolean minimization problem",
    textVersion = paste("Dusa, Adrian (2010).",
                     "A mathematical approach to the boolean minimization problem, ",
                     "Quality & Quantity 44(1), pp.99-113."),
    header      = "Users might also be interested in:"
)

citEntry(entry = "Article",
    author      = personList(as.person("Adrian Dusa"), as.person("Alrik Thiem")),
    year        = "2015",
    journal     = "Journal of Mathematical Sociology",
    volume      = "39",
    pages       = "92--108",
    title       = "Enhancing the Minimization of Boolean and Multivalue Output Functions With eQMC",
    textVersion = paste("Dusa, Adrian and Alrik Thiem (2015).",
                     "Enhancing the Minimization of Boolean and Multivalue Output Functions With eQMC, ",
                     "Journal of Mathematical Sociology vol.39, pp.92-108"),
    header      = "The current minimization algorithm has been described in:"
)
