year <- sub("-.*", "", meta$Date)

note <- sprintf("R package version %s", meta$Version)

citHeader("To cite phenoCDM in publications, please cite both the method and science papers and also the R package in Zenodo:")

citEntry(entry = "Article",
         author = c("Bijan Seyednasrollah",
                    "Jennifer J. Swenson",
                    "Jean-Christophe Domec",
                    "James S. Clark"),
         title = "Leaf phenology paradox: Why warming matters most where it is already warm ",
         journal = "Remote Sensing of Environment ",
         volume = "209",
         number = "",
         pages = "446 - 455",
         year = "2018",
         note = "",
         issn = "0034-4257",
         doi = "10.1016/j.rse.2018.02.059",
         url = "https://www.sciencedirect.com/science/article/pii/S0034425718300713",
         textVersion = "Bijan Seyednasrollah, Jennifer J. Swenson, Jean-Christophe Domec, James S. Clark, Leaf phenology paradox: Why warming matters most where it is already warm, Remote Sensing of Environment, Volume 209, May 2018, Pages 446-455, ISSN 0034-4257, https://doi.org/10.1016/j.rse.2018.02.059.")

citEntry(entry = "Article",
         author = c("Bijan Seyednasrollah",
                    "Jennifer J. Swenson",
                    "Jean-Christophe Domec",
                    "James S. Clark"),
         title = "Continuous development model for incremental time-series analysis: applications on leaf phenology",
         publisher = "Elsevier",
         journal = "MethodsX",
         year = "2018",
         textVersion = "Bijan Seyednasrollah, Jennifer J. Swenson, Jean-Christophe Domec, James S. Clark, Continuous development model for incremental time-series analysis: applications on leaf phenology, MethodsX, 2018.")


citEntry(entry = "Manual",
         author = c("Bijan Seyednasrollah",
                    "Jennifer J. Swenson",
                    "Jean-Christophe Domec",
                    "James S. Clark"),
         title = "phenoCDM: Continuous Development Models for Incremental Time-Series Analysis",
         year = 2018,
         url = "http://doi.org/10.5281/zenodo.1204709",
         textVersion = "Bijan Seyednasrollah, Jennifer J. Swenson, Jean-Christophe Domec, James S. Clark, (2018). phenoCDM: Continuous Development Models for Incremental Time-Series Analysis DOI:10.5281/zenodo.1204709")
