Package: formatR Type: Package Title: Format R Code Automatically Version: 1.14.1 Authors@R: c( person("Yihui", "Xie", role = c("aut", "cre"), email = "xie@yihui.name", comment = c(ORCID = "0000-0003-0645-5666")), person("Ed", "Lee", role = "ctb"), person("Eugene", "Ha", role = "ctb"), person("Kohske", "Takahashi", role = "ctb"), person("Pavel", "Krivitsky", role = "ctb"), person() ) 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.2.3) Suggests: rstudioapi, shiny, testit, rmarkdown, knitr License: GPL URL: https://github.com/yihui/formatR BugReports: https://github.com/yihui/formatR/issues VignetteBuilder: knitr RoxygenNote: 7.2.3 Encoding: UTF-8 Repository: https://yihui.r-universe.dev Date/Publication: 2026-01-17 06:11:38 UTC RemoteUrl: https://github.com/yihui/formatR RemoteRef: HEAD RemoteSha: 70e1dedd9e6eb835048011d0214f6a861a6e04c2 NeedsCompilation: no Packaged: 2026-06-17 11:44:10 UTC; root Author: Yihui Xie [aut, cre] (ORCID: ), Ed Lee [ctb], Eugene Ha [ctb], Kohske Takahashi [ctb], Pavel Krivitsky [ctb] Maintainer: Yihui Xie