desc = packageDescription("ngspatial")
year = sub(".*(2[[:digit:]]{3})-.*", "\\1", desc$Date)
vers = paste("R package version", desc$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: Classes for Spatial Data",
         author = personList(as.person("John Hughes")),
#                             as.person("Xiaohui Cui"),
         year = year,
         address = "Minneapolis, MN",
         note = vers,
         textVersion =
         paste("John Hughes. (", #  "John Hughes and Xiaohui Cui. (",
               year,
               "). ngspatial: Classes for Spatial Data. ",
               vers, ". Minneapolis, MN.", sep = ""))
# citFooter("To cite other 'statnet' packages use citation(\"<name>\") ,where <name> is the package name.\n\nYou may also find the following paper to be of use in working with the network package:\n\n  Butts, Carter T.  (2008).  ``network: a Package for Managing Relational Data in R.''  Journal of Statistical Software, 24(2).\n\nFinally, some additional information regarding the C-level network API can be found in the README file within the network.api subdirectory under the package \"inst\" directory -- check your installed library tree.\n\n'network' and 'statnet' are volunteer efforts.  You can help the 'statnet' project by citing relevant packages in all papers where they are used.  Your support is greatly appreciated!")
