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

pkg <- meta$Package
pkg_title <- "Estimation of the Rasch Model for Multistage Tests"

citHeader( paste0( "To cite the '", pkg , "' package in publications use:") )

citEntry(entry="Manual",
         title = paste0( pkg , ": " , pkg_title ) ,
         author = personList(c(as.person("Jan Steinfeld"),as.person("Alexander Robitzsch"))),
         year = year,
         note = vers,
         url =  paste0( "https://CRAN.R-project.org/package=", pkg) ,
         textVersion =
         paste0("Steinfeld, J. and Robitzsch, A. (",
               year,
               "). " , pkg , ": " , pkg_title , ". ",
               vers, paste0( ". https://CRAN.R-project.org/package=", pkg) )
    )