Check your R code for some of the most common layout flaws. Many tried to teach us how to write code less dreadful, be it implicitly as B. W. Kernighan and D. M. Ritchie (1988) in 'The C Programming Language' did, be it explicitly as R.C. Martin (2008) in 'Clean Code: A Handbook of Agile Software Craftsmanship' did. So we should check our code for files too long or wide, functions with too many lines, too wide lines, too many arguments or too many levels of nesting. Note: This is not a static code analyzer like pylint or the like. Checkout https://github.com/jimhester/lintr instead.

Documentation

Manual: cleanr.pdf
Vignette: An Introduction to cleanr

Maintainer: Andreas Dominik Cullmann <adc-r at arcor.de>

Author(s): Andreas Dominik Cullmann*

Install package and any missing dependencies by running this line in your R console:

install.packages("cleanr")

Depends R (>= 3.3.1)
Imports checkmate
Suggests RUnit, knitr, rmarkdown
Enhances
Linking to
Reverse
depends
Reverse
imports
Reverse
suggests
Reverse
enhances
Reverse
linking to

Package cleanr
Materials
URL https://github.com/fvafrCU/cleanr
Task Views
Version 1.1.3
Published 2017-01-18
License BSD_2_clause + file LICENSE
BugReports
SystemRequirements
NeedsCompilation no
Citation
CRAN checks cleanr check results
Package source cleanr_1.1.3.tar.gz