Build Status Coverage Status CRAN_Status_Badge # cleanr Check your R code for some of the most common layout flaws.

Introduction

Please read the vignette or, after installation, the help page:

options(pager = "/bin/cat")
help("cleanr-package", package = "cleanr")

Installation

You can install cleanr from github with:

if (! require("devtools")) install.packages("devtools")
devtools::install_github("fvafrCU/cleanr")

cleanr is a fork

of coldr, which was a set of shell scripts I used to check the file layout (number of lines, width of lines and the like) of code files and somehow turned out to be an R package.