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


bibentry(
  bibtype = "Manual"
  , textVersion = paste0(
    "Aust, F. & Barth, M. ("
    , year
    , "). papaja: Prepare reproducible APA journal articles with R Markdown. "
    , note
    , ". Retrieved from "
    , meta$URL
  )
  , title = "{papaja}: {Prepare} reproducible {APA} journal articles with {R Markdown}"
  , author = c(
    person("Frederik", "Aust")
    , person("Marius", "Barth")
  )
  , year = year
  , note = note
  , url = meta$URL
  , doi = "10.32614/CRAN.package.papaja"
)
