Package: formatR 1.14.1

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

Authors:Yihui Xie [aut, cre], Ed Lee [ctb], Eugene Ha [ctb], Kohske Takahashi [ctb], Pavel Krivitsky [ctb]

formatR_1.14.1.tar.gz
formatR_1.14.1.zip(r-4.5)formatR_1.14.1.zip(r-4.4)formatR_1.14.1.zip(r-4.3)
formatR_1.14.1.tgz(r-4.4-any)formatR_1.14.1.tgz(r-4.3-any)
formatR_1.14.1.tar.gz(r-4.5-noble)formatR_1.14.1.tar.gz(r-4.4-noble)
formatR_1.14.1.tgz(r-4.4-emscripten)formatR_1.14.1.tgz(r-4.3-emscripten)
formatR.pdf |formatR.html
formatR/json (API)
NEWS

# Install 'formatR' in R:
install.packages('formatR', repos = c('https://yihui.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/yihui/formatr/issues

On CRAN:

code-formatter

8 exports 251 stars 12.89 score 0 dependencies 1182 dependents 3 mentions 66.9k downloads

Last updated 7 months agofrom:819562627b

Exports:tidy_apptidy_dirtidy_evaltidy_filetidy_pipetidy_rstudiotidy_sourceusage

Dependencies:

formatR

Rendered fromformatR.Rmdusingknitr::rmarkdownon Jul 24 2024.

Last update: 2022-03-31
Started: 2013-08-01