formatR: Format R Code Automatically

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

AuthorYihui Xie
Date of publication2016-05-09 17:52:57
MaintainerYihui Xie <xie@yihui.name>
LicenseGPL
Version1.4
http://yihui.name/formatR

View on CRAN

Files

formatR
formatR/inst
formatR/inst/format
formatR/inst/format/messy.R
formatR/inst/shiny
formatR/inst/shiny/ui.R
formatR/inst/shiny/server.R
formatR/inst/shiny/www
formatR/inst/shiny/www/shiny-handler.js
formatR/inst/shiny/DESCRIPTION
formatR/inst/shiny/Readme.md
formatR/inst/doc
formatR/inst/doc/formatR.R
formatR/inst/doc/formatR.html
formatR/inst/doc/formatR.Rmd
formatR/tests
formatR/tests/testit
formatR/tests/testit/test-utils.R
formatR/tests/testit/test-tidy.R
formatR/tests/test-all.R
formatR/NAMESPACE
formatR/NEWS
formatR/R
formatR/R/utils.R formatR/R/eval.R formatR/R/usage.R formatR/R/tidy.R formatR/R/shiny.R
formatR/vignettes
formatR/vignettes/formatR.Rmd
formatR/README.md
formatR/MD5
formatR/build
formatR/build/vignette.rds
formatR/DESCRIPTION
formatR/man
formatR/man/tidy_app.Rd formatR/man/tidy_source.Rd formatR/man/tidy_dir.Rd formatR/man/usage.Rd formatR/man/tidy_eval.Rd

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.