year = sub(".*(2[[:digit:]]{3})-.*", "\\1", meta$Date)
vers = paste("R package version", meta$Version)
citHeader("'ngspatial' is a package that provides tools for analyzing spatial data, especially non-Gaussian areal data.\n\nThis version of 'ngspatial' is currently licensed under the GNU Public License, v2 or later.\n\nIf you are using 'ngspatial' for research that will be published, we request that you acknowledge this with the following citation:\n\n")
citEntry(entry = "Manual",
         title = "ngspatial: Fitting the Centered Autologistic and Sparse Spatial Generalized Linear Mixed Models for Areal Data",
         author = personList(as.person("John Hughes"),
                             as.person("Xiaohui Cui")),
         year = year,
         address = "Frederick, MD",
         note = vers,
         textVersion =
         paste("John Hughes and Xiaohui Cui. (",
               year,
               "). ngspatial: Fitting the Centered Autologistic and Sparse Spatial Generalized Linear Mixed Models for Areal Data. ",
               vers, ". Frederick, MD.", sep = ""))
