citHeader(paste0("When using the package, please acknowledge your use of ",
"TreeSearch and (if you use it) MorphyLib in the article text, and cite ",
"Brazeau et al. (2019). For example, 'Phylogenetic search was performed ",
"using the R package TreeSearch v", meta$Version, " (Smith 2018), which ",
"uses MorphyLib (Brazeau et al. 2017) to handle inapplicable data ",
"(Brazeau et al. 2019)'."))

citEntry(entry = "Manual",
         key = "Brazeau2017",
         title = "MorphyLib: a library for phylogenetic analysis of categorical trait data with inapplicability",
         author = personList(as.person("Martin D. Brazeau"), 
                             as.person("Martin R. Smith"),
                             as.person("Thomas Guillerme")),
         year = 2017,
         note = "Version 0.0.1-alpha",
     
         textVersion =
              paste0("Brazeau, M.D., Smith, M.R. & Guillerme, T. (2017). ",
              "MorphyLib: a library for phylogenetic analysis of categorical ",
              "trait data with inapplicability. doi: 10.5281/zenodo.815371"))
              
citEntry(entry = "Article",
         key = "Brazeau2019",
         title = "An algorithm for morphological phylogenetic analysis with inapplicable data",
         author = personList(as.person("Martin D. Brazeau"),
                             as.person("Thomas Guillerme"),
                             as.person("Martin R. Smith")),
         journal = "Systematic Biology",
         volume = "64",
         issue = "4",
         pages = "619-631",
         year = "2019",
     
         textVersion = paste0("Brazeau, M.D., Guillerme, T. & Smith, M.R. (2019). ",
                     "An algorithm for morphological phylogenetic analysis with",
                     " inapplicable data.", 
                     " Systematic Biology 68(4): 619-631.",
                     " doi: 10.1093/sysbio/syy083"))
              
citEntry(entry = "Manual",
         key = "Smith2018",
         title = "TreeSearch: phylogenetic tree search using custom optimality criteria",
         author = personList(as.person("Martin R. Smith")),
         note = paste("R package version", meta$Version),
         year = 2018,
         doi = "10.5281/zenodo.1042590",
     
         textVersion =
              paste0("Smith (2018). TreeSearch: phylogenetic tree search using custom optimality criteria. doi: 10.5281/zenodo.1042590"))
