To cite package ‘formatR’ in publications use: Xie Y (2024). _formatR: Format R Code Automatically_. R package version 1.14.1, . A BibTeX entry for LaTeX users is @Manual{, title = {formatR: Format R Code Automatically}, author = {Yihui Xie}, year = {2024}, note = {R package version 1.14.1}, url = {https://github.com/yihui/formatr}, }