To cite anomaly in publications use:

Fisch A, Grose D, Eckley IA, Fearnhead P, Bardwell L (2024). “anomaly: Detection of Anomalous Structure in Time Series Data.” Journal of Statistical Software, 110(1), 1–24. doi:10.18637/jss.v110.i01.

Corresponding BibTeX entry:

  @Article{,
    title = {{anomaly}: Detection of Anomalous Structure in Time Series
      Data},
    author = {Alex Fisch and Daniel Grose and Idris A. Eckley and Paul
      Fearnhead and Lawrence Bardwell},
    journal = {Journal of Statistical Software},
    year = {2024},
    volume = {110},
    number = {1},
    pages = {1--24},
    doi = {10.18637/jss.v110.i01},
  }