To cite package ‘castgen’ in publications use:

Sandercock A (2025). castgen: Estimate Sample Size for Population Genomic Studies. R package version 1.0.2, https://github.com/alex-sandercock/castgen.

Corresponding BibTeX entry:

  @Manual{,
    title = {castgen: Estimate Sample Size for Population Genomic
      Studies},
    author = {Alexander M. Sandercock},
    year = {2025},
    note = {R package version 1.0.2},
    url = {https://github.com/alex-sandercock/castgen},
  }