formatR
Format R Code Automatically
Provides a function tidy_source() to format R source code. Spaces and indent will be added to the code automatically, and comments will be preserved under certain conditions, so that R code will be more human-readable and tidy. There is also a Shiny app as a user interface in this package (see tidy_app()).
Versions across snapshots
| Version | Repository | File | Size |
|---|---|---|---|
1.14 |
2026-04-09 windows/windows R-4.5 | formatR_1.14.zip |
152.6 KiB |