# inst/CITATION

citHeader("To cite the BsplineQuantReg package in publications, please use:")

# 1. Main article
bibentry(
  bibtype = "Article",
  title = "Quantile Regression with Cubic Polynomial Splines under Shape Constraints with Applications",
  author = c(person(given = "Alexandre", family = "Abbes")),
  year = "2026",
  journal = "Zenodo",
  doi = "10.5281/zenodo.17427913",
  url = "https://doi.org/10.5281/zenodo.17427913",
  textVersion = paste(
    "Abbes, A. (2026).",
    "Quantile Regression with Cubic Polynomial Splines under Shape Constraints with Applications.",
    "Zenodo. doi:10.5281/zenodo.17427913"
  )
)

# 2. Python package
bibentry(
  bibtype = "Manual",
  title = "BsplineQuantRegpy: Python Implementation",
  author = c(person(given = "Alexandre", family = "Abbes")),
  year = "2026",
  note = "Python package with Tkinter interface, spline degrees 1 to 4, constraints of order 1 to 3",
  url = "https://pypi.org/project/BsplineQuantRegpy/",
  textVersion = paste(
    "Abbes, A. (2026).",
    "BsplineQuantRegpy: Python Implementation.",
    "https://pypi.org/project/BsplineQuantRegpy/"
  )
)

# 3. R package (CRAN)
bibentry(
  bibtype = "Manual",
  title = "BsplineQuantReg: Constrained Quantile Regression with B-Splines (Degrees 1 to 4)",
  author = c(person(given = "Alexandre", family = "Abbes")),
  year = "2026",
  note = "R package version 0.2.0",
  url = "https://cran.r-project.org/package=BsplineQuantReg",
  textVersion = paste(
    "Abbes, A. (2026).",
    "BsplineQuantReg: Constrained Quantile Regression with B-Splines",
    "(R package version 0.2.0).",
    "https://cran.r-project.org/package=BsplineQuantReg"
  )
)
