To cite package ‘spaths’ in publications use:

Düben C (2025). spaths: Shortest Paths Between Points in Grids. R package version 1.2.0, https://CRAN.R-project.org/package=spaths.

Corresponding BibTeX entry:

  @Manual{,
    title = {spaths: Shortest Paths Between Points in Grids},
    author = {Christian Düben},
    year = {2025},
    note = {R package version 1.2.0},
    url = {https://CRAN.R-project.org/package=spaths},
  }