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:

Conda
$conda install rdonnellyr::r-formatr

Usage Tracking

1.5
1 / 8 versions selected
Total downloads: 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()).

Information Last Updated

Mar 25, 2025 at 16:21

License

GPL

Total Downloads

1.1K

Platforms

macOS 64 Version: 1.5