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

Total

3,013,509

Last month

96,592

Last week

17,381

Average per day

3,220

Daily downloads

Total downloads

Description file content

Package
formatR
Type
Package
Title
Format R Code Automatically
Version
1.5
Date
2017-04-26
Maintainer
Yihui Xie
Description
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()).
Depends
R (>= 3.0.2)
Suggests
codetools, shiny, testit, rmarkdown, knitr
License
GPL
URL
BugReports
https://github.com/yihui/formatR/issues
VignetteBuilder
knitr
RoxygenNote
6.0.1
NeedsCompilation
no
Packaged
2017-04-25 16:06:05 UTC; yihui
Author
Yihui Xie [aut, cre], Eugene Ha [ctb], Kohske Takahashi [ctb], Ed Lee [ctb]
Repository
CRAN
Date/Publication
2017-04-25 23:31:46 UTC

install.packages('formatR')

1.5

5 months ago

https://yihui.name/formatR

Yihui Xie

GPL

Depends on

R (>= 3.0.2)

Suggests

codetools, shiny, testit, rmarkdown, knitr

Discussions