To cite package ‘slam’ in publications use:

Hornik K, Meyer D, Buchta C (2024). slam: Sparse Lightweight Arrays and Matrices. R package version 0.1-55, https://CRAN.R-project.org/package=slam.

Corresponding BibTeX entry:

  @Manual{,
    title = {slam: Sparse Lightweight Arrays and Matrices},
    author = {Kurt Hornik and David Meyer and Christian Buchta},
    year = {2024},
    note = {R package version 0.1-55},
    url = {https://CRAN.R-project.org/package=slam},
  }