inst/python/README.md

rfmt

The file rfmt.py and its associated package, rfmt comprise a stand-alone code formatter for the R programming language, in the same mold as gofmt tool for Go, and clang-format for C/C++.

To use the formatter, you'll need Python 2.7 or later, and you'll need to ensure that David Beazley's ply package is accessible to Python (for your convenience, a copy of the ply package is enclosed). Help for command line usage is available by running python rfmt.py --help, or the equivalent.



google/rfmt documentation built on May 17, 2019, 7:59 a.m.