yihui/formatR: Format R Code Automatically
Version 1.5

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

Getting started

Package details

MaintainerYihui Xie <[email protected]>
LicenseGPL
Version1.5
URL https://yihui.name/formatR
Package repositoryView on GitHub
Installation Install the latest version of this package by entering the following in R:
install.packages("devtools")
library(devtools)
install_github("yihui/formatR")
yihui/formatR documentation built on Dec. 8, 2017, 5:37 a.m.