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

bibentry(bibtype = "Manual",
   title = "sfadv: Advanced Methods for Stochastic Frontier Analysis",
   author = personList(as.person("Yann Desjeux"),
            as.person("Laure Latruffe")),
   year = year,
   note = vers,
   url = "https://CRAN.R-project.org/package=sfadv/",
   
   textVersion = paste0("Yann Desjeux and Laure Latruffe (", year, "). ",
            "sfadv: Advanced Methods for Stochastic Frontier Analysis. ",
            vers,
            ", https://CRAN.R-project.org/package=sfadv/."),
    
    mheader = "To cite the 'sfadv' package in publications please use:",
   
    mfooter = paste("See also", sQuote("citation()"), "for citing R.", sep = " ")
)
