Skip to content

cleanr

1.4.0

Helps You to Code Cleaner

2packages depend
3.4Kdownloads / year
98.0%test coverage
13/13checks pass

Overview

About
Maintained by Andreas Dominik CullmannFirst published 2016-12-2110 releasesCRAN page ↗GitLab ↗

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

CRAN checks
13OK
Slowest check: 1.8 min · r-oldrel-windows-x86_64
Check history
  • OK2026-07-24
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-07-23
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-06-09
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-06-08
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-04-02
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Show 2 earlier snapshots
  • ERROR2026-04-01
    13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation signals are not tracked yet for this package.

Downloads

3.4K
CRAN downloads in the past year
Rank #12,973 · ~9/day · ~281/mo
cleanr
Daily download trend is not available in this view yet.
23630 days
80890 days
3.4K1 year
Compare downloads with other packages →
Also on163 r2u38 autocran516 conda_forge

Repository

Repository practices

Upstream repositoryBeta

Repository gitlab.com/fvafrcu/cleanr is linked, but repository-practices checks have not run for it yet. Checks are GitHub-only for now.

How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
10 external dependencies (excludes base and recommended)
Depends (1)
R >= 3.3.0
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
2direct
0indirect

Code & Tests

People & History

People (1)
Maintainer (1)
Author, Maintainer · added in 1.2.0
Authors (1)
Author, Maintainer · added in 1.2.0
Listed in earlier versions (1)
no longer listed · 1.1.2 to 1.1.3
Package Timeline

10 releases. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • 1.4.0Latest
    2023-06-16 · current release · diff ↗
  • unarchivedReturned to CRAN
    2023-06-16
  • R
    R 4.3.0 released · 2023-04-21
  • archivedRemoved from CRAN
    2022-09-04
    requires archived package 'fritools'
  • 1.3.5
    2022-08-11 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 1.3.4
    2021-11-14 · diff ↗
  • 1.3.3
    2021-08-03 · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • 1.3.2
    2021-05-11 · diff ↗
  • 1.3.1
    2020-11-20 · diff ↗
  • R
    R 4.0.0 released · 2020-04-24
  • 1.3.0
    2020-01-09 · diff ↗
Show 7 earlier events
  • R
    R 3.6.0 released · 2019-04-26
  • 1.2.0
    2019-03-22 · diff ↗
  • R
    R 3.5.0 released · 2018-04-23
  • R
    R 3.4.0 released · 2017-04-21
  • 1.1.3
    2017-01-18 · diff ↗
  • 1.1.2
    2016-12-21
  • R
    R 3.3.0 released · 2016-05-03

Package metadata

First published
2016-12-21
Total releases
10 / 10 yrs
License
BSD_2_clause + file LICENSE OSI
Download size
159 KB
Installed size
not tracked yet
With dependencies
not tracked yet
Report a problem with this page →