To cite scan in publications use:

Wilbert J, Lüke T (2023). “Scan: Single-Case Data Analyses for Single and Multiple Baseline Designs.” https://CRAN.R-project.org/package=scan.

Corresponding BibTeX entry:

  @Misc{,
    title = {Scan: Single-Case Data Analyses for Single and Multiple
      Baseline Designs},
    shorttitle = {scan},
    publisher = {CRAN},
    author = {Jürgen Wilbert and Timo Lüke},
    year = {2023},
    url = {https://CRAN.R-project.org/package=scan},
  }