yihui / formatR

Format R Code Automatically
https://yihui.org/formatr/
257 stars 51 forks source link
code-formatter r r-package

formatR

R-CMD-check CRAN release

Format R code automatically.

See the package homepage https://yihui.org/formatR/ for more information. You can also try a live demo at https://yihui.shinyapps.io/formatR/. It can reformat your code from

R source code before
reformatting

to

R source code after
reformatting