citHeader("To cite package 'tubern' in publications use:")

year <- sub(".*(2[[:digit:]]{3})-.*", "\\1", meta$Date, perl = TRUE)
vers <- paste("R package version", meta$Version)

bibentry(
  bibtype = "Manual",
  title = "tubern: R Client for the Youtube Analytics and Reporting API",
  author = c(person("Gaurav", "Sood")),
  year = year,
  note = vers,
  textVersion = paste("Gaurav Sood (", year,
                     "). tubern: R Client for the Youtube Analytics and Reporting API. ",
                     vers, ".", sep="")
)
