bibentry(
  header = "To cite the package use this application note",
  bibtype = "misc",
  title="UQSA -- An R-Package for Uncertainty Quantification and Sensitivity Analysis for Biochemical Reaction Network Models",
  author="Andrei Kramer and Federica Milinanni and Pierre Nyquist and Alexandra Jauhiainen and Olivia Eriksson",
  year=2023,
  eprint="2308.05527",
  archivePrefix="arXiv",
  primaryClass="q-bio.QM",
  doi="10.48550/arXiv.2308.05527"
)

year  <- format(Sys.Date(),"%Y")
note  <- sprintf("R package version %s", meta$Version)
authors <- eval(parse(text = meta$`Authors@R`))
text_authors <- authors |>
  format(include= c("family", "given"),
         collapse = list(family = ", ")) |>
  paste(collapse = ", ")


bibentry(
  header = "To cite this Manual use a standard R package citation",
  bibtype = "Manual",
  title = sprintf("{%s}: %s", meta$Package, meta$Title),
  author = authors,
  year = year,
  note = note,
  url = meta$URL,
  textVersion = sprintf(
    "%s, (%s). %s: %s. %s, %s",
    text_authors, year, meta$Package, meta$Title, note, meta$URL
  )
)
