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 245 stars 13.34 score 0 dependencies 1411 dependents

Last updated 6 months agofrom:819562627bd9931b4e98fd762ebe5688f1b47da8

Exports:tidy_apptidy_dirtidy_evaltidy_filetidy_pipetidy_rstudiotidy_sourceusage

Dependencies:

An Introduction to formatR

Rendered fromformatR.Rmdusingknitr::rmarkdownon May 28 2024.

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