citHeader("Kindly cite the sweidnumbr R package as follows:")

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

bibentry(bibtype="misc",
         title = "sweidnumbr: R tools to handle of swedish identity numbers.",
         author = c(
	   person(given = "Mans", family= "Magnusson", email = "mons.magnusson@gmail.com"),
	   person(given = "Erik", family= "Bulow", email = "eriklgb@gmail.com")
         ),
	 journal = "",
	 URL = "https://github.com/rOpenGov/sweidnumbr", 
   year = year,
   note = vers,
         textVersion =
         paste("Magnusson, Mans and Bulow, Erik (",year,"). ",
               "sweidnumbr: R tools to handle of swedish identity numbers. ",
               vers,
	             " URL: https://github.com/rOpenGov/sweidnumbr",
               sep="")
                )
