vers <- meta$Version

citHeader(paste0("When using the package, please acknowledge your use of ",
"TreeDist in the article text, and cite the papers ",
"describing the metrics that you employ. For example, 'Mutual Phylogenetic ",
"Information similarity metrics (Smith 2020a) were calculated using the R package",
" TreeDist v", vers, " (Smith 2020n)."))


citEntry(entry = "article",
      key = "Smith2020",
      doi = "10.1093/bioinformatics/btaa614",
      title = "Information theoretic Generalized Robinson-Foulds metrics
for comparing phylogenetic trees",
      author = personList(as.person("Martin R. Smith")),
      journal = "Bioinformatics",
      year = "2020",

      textVersion =
      paste0("Smith, M.R. (2020a).",
             " Information theoretic Generalized Robinson-Foulds metrics
for comparing phylogenetic trees. ", 
             " Bioinformatics.",
             " In production.",
             " doi: 10.1093/bioinformatics/btaa614"))

citEntry(entry = "manual",
      key = "TreeDist",
      title = paste0("TreeDist: Distances between Phylogenetic Trees.",
      " R package version ", vers),
      author = personList(as.person("Martin R. Smith")),
      doi = "10.5281/zenodo.3528124",
      journal = "Comprehensive R Archive Network",
      year = "2020",

      textVersion =
      paste0("Smith, M.R. (2020b).",
             " TreeDist: Distances between Phylogenetic Trees.", 
             " R package version ", vers, ".",
             " Comprehensive R Archive Network.",
             " doi:10.5281/zenodo.3528124"))

