year <- sub("-.*", "", meta$Date)
if (!length(year)) year <- format(Sys.Date(), "%Y")
note <- sprintf("R package version %s", meta$Version)

bibentry(
  bibtype  = "Article",
  title    = "An integrated method for clustering and association network inference",
  author   = c(person("Jeanne", "Tous"), person("Julien", "Chiquet")),
  journal  = "Computational Statistics & Data Analysis",
  year     = "2026",
  volume   = "219",
  pages    = "108347",
  doi      = "10.1016/j.csda.2026.108347",
  textVersion = paste(
    "Tous, J., & Chiquet, J. (2026).",
    "An integrated method for clustering and association network inference.",
    "Computational Statistics & Data Analysis, 219, 108347.",
    "doi:10.1016/j.csda.2026.108347"
  )
)

bibentry(
  bibtype  = "Manual",
  title    = "{normalblockr}: Implementation of the Normal-Block Model",
  author   = c(person("Jeanne", "Tous"), person("Julien", "Chiquet")),
  year     = year,
  note     = note,
  url      = "https://github.com/jchiquet/normalblockr",
  textVersion = paste0(
    "Tous, J., & Chiquet, J. (", year, "). ",
    "normalblockr: Implementation of the Normal-Block Model. ",
    note, ". ",
    "https://github.com/jchiquet/normalblockr"
  )
)
