Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/yihui/formatR

Format R Code Automatically
https://github.com/yihui/formatR

code-formatter r r-package

Last synced: 20 days ago
JSON representation

Format R Code Automatically

Awesome Lists containing this project

README

        

# formatR

[![R-CMD-check](https://github.com/yihui/formatR/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/yihui/formatR/actions/workflows/R-CMD-check.yaml)
[![CRAN release](https://www.r-pkg.org/badges/version/formatR)](https://cran.r-project.org/package=formatR)

Format R code automatically.

See the package homepage for more information. You can also try a live demo at . It can reformat your code from

[![R source code before
reformatting](https://db.yihui.org/imgur/lUgtEAb.png)](https://yihui.shinyapps.io/formatR/)

to

[![R source code after
reformatting](https://db.yihui.org/imgur/TBZm0B8.png)](https://yihui.shinyapps.io/formatR/)