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 conda-forge::r-formatr

Usage Tracking

1.14
1.13
1.12
1.11
1.10
5 / 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

Jan 22, 2023 at 12:08

License

GPL-2.0-or-later

Supported Platforms

noarch

Unsupported Platforms

linux-64 Last supported version: 1.5
macOS-64 Last supported version: 1.5
win-64 Last supported version: 1.5