R Observatory
Search
install.packages("comprehenr")
CRAN 30-day downloads, method
524−34.8% down on the 30 days before, the worse direction
Test coverage, method
100%of lines run by tests

Provides 'Python'-style list comprehensions. List comprehension expressions use usual loops (for(), while() and repeat()) and usual if() as list producers. In many cases it gives more concise notation than standard "*apply + filter" strategy.

Maintainer
Gregory Demin
Licence
GPL-2
Latest release
31 Jan 2021
First release
8 Mar 2019

Compare with another package

More details
Releases
8
Needs compilation
No
Needs R
>= 3.3.0
LazyData
true
RoxygenNote
7.1.1
Cite

Package

Run in R for the authors' preferred citation:

citation("comprehenr")
APA
Demin, G. (2021). comprehenr: List Comprehensions (Version 0.6.10) [Computer software]. https://doi.org/10.32614/CRAN.package.comprehenr
About

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA
Balamuta, J. J. (2026). R Observatory: Metrics for comprehenr version 0.6.10 [Data set]. HJJB, LLC. Data release v2026-10-28. https://doi.org/10.5281/zenodo.21843040
About

From data release v2026-10-28, which the citation names so these numbers can be found later.

All 13 check platforms pass.

  • r-devel-linux-x86_64-debian-clang

    The unreleased R on Linux, x86_64, debian-clang

    OK

    Version checked
    0.6.10
    Time taken
    30 s
  • r-devel-linux-x86_64-debian-gcc

    The unreleased R on Linux, x86_64, debian-gcc

    OK

    Version checked
    0.6.10
    Time taken
    25 s
  • r-devel-linux-x86_64-fedora-clang

    The unreleased R on Linux, x86_64, fedora-clang

    OK

    Version checked
    0.6.10
    Time taken
    21 s
  • r-devel-linux-x86_64-fedora-gcc

    The unreleased R on Linux, x86_64, fedora-gcc

    OK

    Version checked
    0.6.10
    Time taken
    26 s
  • r-devel-windows-x86_64

    The unreleased R on Windows, x86_64

    OK

    Version checked
    0.6.10
    Time taken
    54 s
  • r-oldrel-macos-arm64

    The previous release of R on macOS, arm64

    OK

    Version checked
    0.6.10
  • r-oldrel-macos-x86_64

    The previous release of R on macOS, x86_64

    OK

    Version checked
    0.6.10
    Time taken
    40 s
  • r-oldrel-windows-x86_64

    The previous release of R on Windows, x86_64

    OK

    Version checked
    0.6.10
    Time taken
    54 s
  • r-patched-linux-x86_64

    The patched release of R on Linux, x86_64

    OK

    Version checked
    0.6.10
    Time taken
    26 s
  • r-release-linux-x86_64

    The current release of R on Linux, x86_64

    OK

    Version checked
    0.6.10
    Time taken
    26 s
  • r-release-macos-arm64

    The current release of R on macOS, arm64

    OK

    Version checked
    0.6.10
    Time taken
    15 s
  • r-release-macos-x86_64

    The current release of R on macOS, x86_64

    OK

    Version checked
    0.6.10
    Time taken
    46 s
  • r-release-windows-x86_64

    The current release of R on Windows, x86_64

    OK

    Version checked
    0.6.10
    Time taken
    52 s
  • 13 OK

Over time

No change since 5 Aug 2026

As a list (4)
ChangedWorst statusOKNotesWarningsErrors
5 Aug 2026OK13000
1 Aug 2026Note12100
25 Apr 2026OK12000
10 Mar 2026Note11300

Since March 2026

Check results on CRAN

Total downloads in the last 30 days
601It is the sum of 5 channels: CRAN, r2u, autoCRAN, conda-forge and c2d4u.

CRAN rank

5,870 of 26,530

CRAN

524 downloads in the last 30 days

Rank
5,870 of 26,530
Change
−34.8% down on the 30 days before, the worse direction

It is in the total. Take it out

r2u

26 downloads in the last 30 days

Rank
4,203 of 30,526
Change
+117% up on the 30 days before, the better direction

It is in the total. Take it out

autoCRAN

2 downloads in the last 30 days

Rank
22,452 of 29,212
Change
−77.8% down on the 30 days before, the worse direction

It is in the total. Take it out

conda-forge

49 downloads in the last 30 days

Rank
3,706 of 3,828
Change
+308% up on the 30 days before, the better direction

It is in the total. Take it out

c2d4u, no longer updated

0 downloads in the last 30 days

Rank
6,270 of 7,575
Change
−100% down on the 30 days before, the worse direction

It is in the total. Take it out

Over time

Compare downloads

Needs
0
Dependent packages
3
Suggested by
0
Optional extras (3)
Dependent packages (3)
PackageTitleDownloads in 30 days
flowTraceRTracing Information Flow for Inter-Software Comparisons in Mass Spectrometry-Based Bottom-Up Proteomics338
RevticulateInteraction with "RevBayes" in R298
mpwRStandardized Comparison of Workflows in Mass Spectrometry-Based Bottom-Up Proteomics277
Functions
20
Public exports
13
Lines of R code
416
Median complexity
2
Functions (20)
Size and composition

Lines by kind (684)

KindLinesShare
R code41661%
Tests40.6%
Documentation17526%
Guides8913%

Lines by language

LanguageLinesShare
R42061%
Rd17526%
Vignettes8913%

Languages are counted from file extensions.

Files
16
R functions
20
Complexity
Median
2
Mean
2.75
Highest
7
Median lines per function
6.5
About complexity

Cyclomatic complexity counts the independent paths through a function: 1 is a straight line, higher is harder to test. R functions only.

Call graph figures
R functions
20
Calls
21
Unconnected
2
Groups
2
Growth (8 releases)
Total lines by release
568 on 8 Mar 2019684 on 31 Jan 2021
Release changes

The tests ran and coverage was measured.

Lines run by tests
100%
Expressions run by tests
100%
Test cases
60
Exports named in tests
0%
Coverage by file (2)
Coverage run
Lines counted
146
Lines the tests ran
146
Tests passed
Yes
Measured with
covr 3.6.5 on R 4.6.1
Test suite
Has tests
Yes
Test frameworks
tinytest
Test cases
60
Lines of tests
4
Test lines per line of code
0.01
Exports documented
100%
Arguments documented
100%
Return value documented
100%
Help pages with examples
100%
Examples run in checks
100%
Guides (1)
Other documentation
README
No
Release notes file
Yes
Help pages
2
Lines of documentation
175

gdemin / comprehenr on github.com

Stars
20
Forks
1
Open issues
1
Last commit
6 May 2023
Activity
Commits
30
Open pull requests
0
Tagged releases
6
Latest tagged release
v0.6.10, 31 Jan 2021
In development
Default branch at 0.6.11, ahead of CRAN 0.6.10 (checked 2026-10-25)
Issues closed in
4 days (median)
Pull requests closed in
–
Pull requests merged
–
Created
17 Feb 2019
Licence file reads as
–
Development practices (1)
KindFound
Lint, format, editorRStudio project

Method, repository practices

Across gdemin

R releases
  • On CRAN
  • Release
VersionReleasedR
0.6.10 current31 Jan 20214.0.3
0.6.918 Jan 20214.0.3
0.6.822 Jul 20204.0.2
0.6.717 Jun 20193.6.0
0.6.67 Jun 20193.6.0
0.6.59 Apr 20193.5.3
0.6.017 Mar 20193.5.3
0.5.48 Mar 20193.5.2
Release notes (0.6.10)
  • add new function 'to_df' which combine result of list comprehension to data.frame (issue #2)