cleanr
1.4.0Helps You to Code Cleaner
Overview
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) <ISBN:0-13-110362-8> in 'The C Programming Language' did, be it explicitly as R.C. Martin (2008) <ISBN:0-13-235088-2> 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://cran.r-project.org/package=lintr instead.
Install
Health
- OK2026-08-0513 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- NOTE2026-08-0112 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- OK2026-07-2413 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- ERROR2026-07-2312 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
- OK2026-06-0913 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Show 4 earlier snapshots
- ERROR2026-06-0812 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
- OK2026-04-0214 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- ERROR2026-04-0113 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
- OK2026-03-1014 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Documentation
- Examples that run
- 100%
- Documented parameters
- 100%
- Return-value docs
- 100%
- References docs
- 0%
Downloads
Repository
Repository practices
Repository gitlab.com/fvafrcu/cleanr is linked, but repository-practices checks have not run for it yet. Checks are GitHub-only for now.
Dependencies
Code & Tests
People & History
10 releases. Pick two to compare their code metrics. R releases are shown for context.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- 1.4.0Latest
- unarchivedReturned to CRAN2023-06-16
- RR 4.3.0 released · 2023-04-21
- archivedRemoved from CRAN2022-09-04requires archived package 'fritools'
- 1.3.52022-08-11 · diff ↗
- RR 4.2.0 released · 2022-04-22
- 1.3.42021-11-14 · diff ↗
- 1.3.32021-08-03 · diff ↗
- RR 4.1.0 released · 2021-05-18
- 1.3.22021-05-11 · diff ↗
- 1.3.12020-11-20 · diff ↗
- RR 4.0.0 released · 2020-04-24
- 1.3.02020-01-09 · diff ↗
Package metadata
- First published
- 2016-12-21
- Total releases
- 10 / 10 yrs
- License
- BSD_2_clause + file LICENSE OSI
- Minimum R
- ≥ 3.3.0
- Download size
- 159 KB
- Installed size
- not tracked yet
- With dependencies
- not tracked yet
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("cleanr")This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-08-21, which the citation names so these numbers can be found later. More on citing and the projects behind them.