CRAN/E | formatR

formatR

Format R Code Automatically

Installation

About

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

github.com/yihui/formatR
Bug report File report

Key Metrics

Version 1.14
R ≥ 3.2.3
Published 2023-01-17 465 days ago
Needs compilation? no
License GPL-2
License GPL-3
CRAN checks formatR results

Downloads

Yesterday 2.677 0%
Last 7 days 12.530 -27%
Last 30 days 62.502 -19%
Last 90 days 204.704 -3%
Last 365 days 893.979 -30%

Maintainer

Maintainer

Yihui Xie

xie@yihui.name

Authors

Yihui Xie

aut / cre

Ed Lee

ctb

Eugene Ha

ctb

Kohske Takahashi

ctb

Pavel Krivitsky

ctb

Material

NEWS
Reference manual
Package source

In Views

ReproducibleResearch

Vignettes

An Introduction to formatR

macOS

r-release

arm64

r-oldrel

arm64

r-release

x86_64

r-oldrel

x86_64

Windows

r-devel

x86_64

r-release

x86_64

r-oldrel

x86_64

Old Sources

formatR archive

Depends

R ≥ 3.2.3

Suggests

rstudioapi
shiny
testit
rmarkdown
knitr

Reverse Imports

automagic
cohortBuilder
datacleanr
dbGaPCheckup
distreg.vis
explor
ggThemeAssist
glmtrans
HKRbook
jaggR
lambda.r
multiverse
mustashe
npcs
pbixr
RaSEn
Rd2roxygen
RFormatter
rscc
schtools
ScriptMapR
shidashi
shinyChakraUI
snahelper

Reverse Suggests

ASMap
asteRisk
autoharp
BASS
condTruncMVN
conText
CoreGx
coveffectsplot
cytometree
dce
DegNorm
dfadjust
DirichletReg
distantia
dynamichazard
elevatr
gen3sis
GenVisR
GlarmaVarSel
googleAnalyticsR
googleAuthR
GWAS.BAYES
hdf5r
hsrecombi
kitagawa
knitr
lifecontingencies
loon
lsasim
madness
manifestoR
matrixNormal
Mega2R
memoria
miWQS
MODIStsp
mosaic
MotifDb
motmot
MultiGlarmaVarSel
NMdata
nph
ohun
pareg
paxtoolsr
pez
PhenotypeSimulator
plinkQC
ProjectTemplate
prospectr
Load all 73 items
(warning: might lead to performance issues and take some time)