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

15.18 score 257 stars 1.2k packages 1.6k scripts 88k downloads 3 mentions 8 exports 0 dependencies

Last updated 11 months agofrom:819562627b. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 19 2024
R-4.5-winOKNov 19 2024
R-4.5-linuxOKNov 19 2024
R-4.4-winOKNov 19 2024
R-4.4-macOKNov 19 2024
R-4.3-winOKNov 19 2024
R-4.3-macOKNov 19 2024

Exports:tidy_apptidy_dirtidy_evaltidy_filetidy_pipetidy_rstudiotidy_sourceusage

Dependencies:

formatR

Rendered fromformatR.Rmdusingknitr::rmarkdownon Nov 19 2024.

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