CMD + K

r-formatr

Community

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()).

Installation

To install this package, run one of the following:

Installation commands are not available for this package.

Usage Tracking

latest
1 / 8 versions selected
Downloads (Last 6 months): 0

About

Summary

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()).

Last Updated

Sep 10, 2025 at 23:09

License

GPL-2.0-or-later