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,936,710

Last month

71,633

Last week

13,971

Average per day

2,388

Daily downloads

Total downloads

Description file content

Package
formatR
Type
Package
Title
Format R Code Automatically
Version
1.6
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.1.1
Encoding
UTF-8
NeedsCompilation
no
Packaged
2019-03-05 16:17:31 UTC; yihui
Author
Yihui Xie [aut, cre] (), Eugene Ha [ctb], Kohske Takahashi [ctb], Ed Lee [ctb]
Maintainer
Yihui Xie
Repository
CRAN
Date/Publication
2019-03-05 19:00:06 UTC

install.packages('formatR')

1.6

2 months ago

https://github.com/yihui/formatR

Yihui Xie

GPL

Depends on

R (>= 3.0.2)

Suggests

codetools, shiny, testit, rmarkdown, knitr

Discussions