citHeader("To cite ggchangepoint in publications, cite the package. Please also cite the changepoint method you used: cpt_cite(fit) prints its reference.")

bibentry(
  bibtype  = "Manual",
  title    = "{ggchangepoint}: Combines Changepoint Analysis with {ggplot2}",
  author   = person(given = "Youzhi", family = "Yu"),
  year     = "2026",
  note     = paste("R package version", meta$Version),
  url      = "https://pursuitofdatascience.github.io/ggchangepoint/",
  textVersion = paste0(
    "Yu, Y. (2026). ggchangepoint: Combines Changepoint Analysis with ",
    "ggplot2. R package version ", meta$Version, ". ",
    "https://pursuitofdatascience.github.io/ggchangepoint/"
  )
)
