citHeader(paste0("If you are using ideas from the 'Relative Distribution Methods' book for research that will be published, ",
   "we request that you acknowledge this by citing the book as shown below.\n\n","If you are using the package ", sQuote("reldist"), "for research that will be published, we request that you acknowledge this by citing the following.\n",
    "For BibTeX format, use toBibtex(citation(\"", "reldist", "\"))."))

bibentry(bibtype="Manual",
  title = paste(meta$Package,": ", meta$Title, sep=""),
  author = structure(list(
   list(given = "Mark S.", family = "Handcock", role = c("aut", "cre"), email = "handcock@stat.ucla.edu",
        comment = c(ORCID = "0000-0002-9985-2785"))
       ), class="person"),
         year         = substr(meta$Date,1,4),
         note         = paste("R package version ", meta$Version, sep=""),
         address      = "Los Angeles, CA",
         url          = "https://CRAN.R-project.org/package=reldist",
         
         textVersion = 
         paste("Mark S. Handcock (2023) ", 
               paste(meta$Package,": ", meta$Title, sep=""),
               ", Version ", meta$Version, ". Project home page at http://faculty.stat.ucla.edu/handcock/RelDist/",
               ",", " URL https://CRAN.R-project.org/package=reldist.",
               sep="")
         )

citFooter("We have invested a lot of time and effort in creating the",
          "'reldist' package for use by other researchers.",
          "Please cite it in all papers where it is used.")

bibentry(bibtype="Book",
         title = "Relative Distribution Methods in the Social Sciences",
         author = structure(list(
          list(given = "Mark S.", family = "Handcock", role = c("aut", "cre"), email = "handcock@stat.ucla.edu",
               comment = c(ORCID = "0000-0002-9985-2785")),
          list(given = "Martina", family = "Morris", role = "aut", email = "morrism@uw.edu", comment = NULL)
              ), class="person"),
         publisher = "Springer",
         address      = "New York",
         year         = 1999,
         note         = "ISBN 0-387-98778-9",
         url          = "http://faculty.stat.ucla.edu/handcock/RelDist/",
         
         textVersion = 
         paste("Mark S. Handcock and Martina Morris (1999)", 
               "Relative Distribution Methods in the Social Sciences.",
               "Springer, New York, ISBN 0-387-98778-9.",
               "URL http://faculty.stat.ucla.edu/handcock/RelDist/"
               )
         )
