To cite SSN2 in publications use:

Dumelle M, Peterson E, Ver Hoef J, Pearse A, Isaak D (2024). “SSN2: The next generation of spatial stream network modeling in R.” Journal of Open Source Software, 9(99), 6389. doi:10.21105/joss.06389, https://doi.org/10.21105/joss.06389.

Corresponding BibTeX entry:

  @Article{,
    title = {{SSN2}: The next generation of spatial stream network
      modeling in {R}},
    author = {Michael Dumelle and Erin E. Peterson and Jay M. {Ver
      Hoef} and Alan Pearse and Daniel J. Isaak},
    journal = {Journal of Open Source Software},
    year = {2024},
    volume = {9},
    number = {99},
    pages = {6389},
    doi = {10.21105/joss.06389},
    url = {https://doi.org/10.21105/joss.06389},
    publisher = {The Open Journal},
  }