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()).
Version: | 1.5 |
Depends: | R (≥ 3.0.2) |
Suggests: | codetools, shiny, testit, rmarkdown, knitr |
Published: | 2017-04-25 |
Author: | Yihui Xie [aut, cre], Eugene Ha [ctb], Kohske Takahashi [ctb], Ed Lee [ctb] |
Maintainer: | Yihui Xie <xie at yihui.name> |
BugReports: | https://github.com/yihui/formatR/issues |
License: | GPL-2 | GPL-3 [expanded from: GPL] |
URL: | https://yihui.name/formatR |
NeedsCompilation: | no |
Materials: | README NEWS |
In views: | ReproducibleResearch |
CRAN checks: | formatR results |
Reference manual: | formatR.pdf |
Vignettes: |
An Introduction to formatR |
Package source: | formatR_1.5.tar.gz |
Windows binaries: | r-devel: formatR_1.5.zip, r-release: formatR_1.5.zip, r-oldrel: formatR_1.5.zip |
OS X binaries: | r-release: formatR_1.5.tgz, r-oldrel: formatR_1.5.tgz |
Old sources: | formatR archive |
Reverse imports: | automagic, drake, ggThemeAssist, lambda.r, Rclean, Rd2roxygen, RFormatter, splashr |
Reverse suggests: | compareGroups, dynamichazard, elevatr, googleAuthR, knitr, manifestoR, Mega2R, pinbasic, ProjectTemplate, rEDM, simstudy, socialmixr, tikzDevice |
Please use the canonical form https://CRAN.R-project.org/package=formatR to link to this page.