citHeader("To cite rSPDE in publications use the first of the following references to cite the package, the second to cite the covariance-based 
method (for instance if you used rSPDE in R-INLA or inlabru) and the third to cite the operator-based
method:")

bibentry( bibtype = "Manual",
 title = "rSPDE: Rational Approximations of Fractional Stochastic Partial Differential Equations",
 author = c(person(given = "David",
                          family = "Bolin",
                          email = "davidbolin@gmail.com"),
                          person(given = "Alexandre B.",
                          family = "Simas",
                          email = "alexandre.simas@kaust.edu.sa")),
 year = "2023",
 note = "R package version 2.3.2",
 url = "https://CRAN.R-project.org/package=rSPDE",
)

bibentry(bibtype = "Article",
  title        = "Covariance-based rational approximations of fractional SPDEs for computationally efficient Bayesian inference",
  author       = c(person(given = "David",
                          family = "Bolin",
                          email = "davidbolin@gmail.com"),
                   person(given = "Alexandre B.",
                          family = "Simas",
                          email = "alexandre.simas@kaust.edu.sa"),
                   person(given = "Zhen",
                          family = "Xiong",
                          email = "zhen.xiong@kaust.edu.sa")),

  journal      = "Journal of Computational and Graphical Statistics",
  year         = "2023",
  doi          = "10.1080/10618600.2023.2231051",
  note ="(in press)",
  paste0("David Bolin, Alexandre B. Simas, Zhen Xiong (2023), ",
             "Covariance-based rational approximations of fractional SPDEs for computationally efficient Bayesian inference. ",
             "Journal of Computational and Graphical Statistics, ",
             "in press.")
)

bibentry(bibtype = "Article",
  title        = "The rational {SPDE} approach for {Gaussian} random fields with general smoothness",
  author       = c(person(given = "David",
                          family = "Bolin",
                          email = "davidbolin@gmail.com"),
                   person(given = "Kristin",
                          family = "Kirchner",
                          email = "k.kirchner@tudelft.nl")),
  journal      = "Journal of Computational and Graphical Statistics",
  year         = "2020",
  volume       = "29",
  number       = "2",
  pages        = "274--285",
  doi          = "10.1080/10618600.2019.1665537",
  textVersion  =
      paste0("David Bolin, Kristin Kirchner (2020), ",
             "The rational SPDE approach for Gaussian random fields with general smoothness. ",
             "Journal of Computational and Graphical Statistics, ",
             "29:2, 274-285.")
)