year <- sub("-.*", "", meta$Date)
note <- sprintf("R package version %s", meta$Version)

bibentry(bibtype = "Manual",
         title = {"HH: Statistical Analysis and Data Display: Heiberger and Holland."},
         author = {"Richard M. Heiberger"},
         year = year,
         note = note,
         url="https://CRAN.R-project.org/package=HH",
         header="To cite package 'HH' in publications use:",
         textVersion  =
         paste("Richard M. Heiberger", sprintf("(%s).", year),
               "HH: Statistical Analysis and Data Display: Heiberger and Holland.",
               paste(note, ".", sep=""),
               "URL https://CRAN.R-project.org/package=HH")
)

bibentry(bibtype = "Book",
         title = {"Statistical Analysis and Data Display:
               An Intermediate Course with Examples in {R}"},
         author = {"Richard M. Heiberger and Burt Holland"},
         year = {"2015"},
         publisher = 	 {"Springer-Verlag, New York"},
         edition = 	 {"Second"},
         header="To cite the HH book (second edition) in publications use:",
         url={"https://link.springer.com/book/10.1007/978-1-4939-2122-5"},
         textVersion  =
         paste("Richard M. Heiberger and Burt Holland (2015).",
               "Statistical Analysis and Data Display: An Intermediate Course with Examples in R.",
               "Springer-Verlag, New York.",
               "URL https://link.springer.com/book/10.1007/978-1-4939-2122-5")
)

bibentry(bibtype = "Book",
         title = {"Statistical Analysis and Data Display:
               An Intermediate Course with Examples in {S-Plus}, {R}, and {SAS}"},
         author = {"Richard M. Heiberger and Burt Holland"},
         year = {"2004"},
         publisher = 	 {"Springer-Verlag, New York"},
         edition = 	 {"First"},
         header="To cite the HH book (first edition) in publications use:",
         url={"https://link.springer.com/book/10.1007/978-1-4757-4284-8"},
         textVersion  =
         paste("Richard M. Heiberger and Burt Holland (2004).",
               "Statistical Analysis and Data Display: An Intermediate Course with Examples in S-Plus, R, and SAS.",
               "Springer-Verlag, New York.",
               "URL https://link.springer.com/book/10.1007/978-1-4757-4284-8")
)



bibentry(bibtype = "Article",
         title        = "Design of Diverging Stacked Bar Charts for Likert Scales and Other Applications",
         author       = c(as.person("Richard M. Heiberger"),
           as.person("Naomi B. Robbins")),
         journal      = "Journal of Statistical Software",
         year         = "2014",
         volume       = "57",
         number       = "5",
         pages        = "1--32",
         ## url       = "https://www.jstatsoft.org/v57/i05/",
         doi     = "10.18637/jss.v057.i05",
         header="To cite likert from HH in publications use:",

         textVersion  =
         paste("Richard M. Heiberger, Naomi B. Robbins (2014).",
               "Design of Diverging Stacked Bar Charts for Likert Scales and Other Applications.",
               "Journal of Statistical Software, 57(5), 1-32.",
               "URL https://www.jstatsoft.org/v57/i05/.")
)

