To cite package ‘castgen’ in publications use: Sandercock A (2025). _castgen: Estimate Sample Size for Population Genomic Studies_. R package version 1.0.2, . A BibTeX entry for LaTeX users is @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}, }