Format R code automatically.

See the package homepage https://yihui.name/formatR for more information.