Crandore Hub

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

Versions across snapshots

VersionRepositoryFileSize
1.14 rolling linux/jammy R-4.5 formatR_1.14.tar.gz 148.2 KiB
1.14 rolling linux/noble R-4.5 formatR_1.14.tar.gz 148.0 KiB
1.14 rolling source/ R- formatR_1.14.tar.gz 93.6 KiB
1.14 latest linux/jammy R-4.5 formatR_1.14.tar.gz 148.2 KiB
1.14 latest linux/noble R-4.5 formatR_1.14.tar.gz 148.0 KiB
1.14 latest source/ R- formatR_1.14.tar.gz 93.6 KiB
1.14 2026-04-26 source/ R- formatR_1.14.tar.gz 93.6 KiB
1.14 2026-04-23 source/ R- formatR_1.14.tar.gz 93.6 KiB
1.14 2026-04-09 windows/windows R-4.5 formatR_1.14.zip 152.6 KiB
1.14 2025-04-20 source/ R- formatR_1.14.tar.gz 93.6 KiB

Dependencies (latest)

Suggests