To cite package ‘gptr’ in publications use:

Gu W (2026). gptr: Language Model Agents in Live 'R' Sessions. R package version 1.0.0, https://CRAN.R-project.org/package=gptr.

Corresponding BibTeX entry:

  @Manual{,
    title = {gptr: Language Model Agents in Live 'R' Sessions},
    author = {Wanjun Gu},
    year = {2026},
    note = {R package version 1.0.0},
    url = {https://CRAN.R-project.org/package=gptr},
  }