To cite package ‘spaths’ in publications use:

Düben C (2025). spaths: Shortest Paths Between Points in Grids. R package version 1.1.5, https://github.com/cdueben/spaths.

Corresponding BibTeX entry:

  @Manual{,
    title = {spaths: Shortest Paths Between Points in Grids},
    author = {Christian Düben},
    year = {2025},
    note = {R package version 1.1.5},
    url = {https://github.com/cdueben/spaths},
  }