To cite package ‘gps’ in publications use:

Li Z (2023). gps: General P-Splines. R package version 1.2, https://CRAN.R-project.org/package=gps.

Corresponding BibTeX entry:

  @Manual{,
    title = {gps: General P-Splines},
    author = {Zheyuan Li},
    year = {2023},
    note = {R package version 1.2},
    url = {https://CRAN.R-project.org/package=gps},
  }