R Observatory
Search
install.packages("glmnetr")
CRAN 30-day downloads, method
713+3.9% up on the 30 days before, the better direction

Cross validation informed Relaxed LASSO (or more generally elastic net), gradient boosting machine ('xgboost'), Random Forest ('RandomForestSRC'), Oblique Random Forest ('aorsf'), Artificial Neural Network (ANN), Recursive Partitioning ('RPART') or step wise regression models are fit.

Full description

Cross validation informed Relaxed LASSO (or more generally elastic net), gradient boosting machine ('xgboost'), Random Forest ('RandomForestSRC'), Oblique Random Forest ('aorsf'), Artificial Neural Network (ANN), Recursive Partitioning ('RPART') or step wise regression models are fit. Cross validation leave out samples (leading to nested cross validation) or bootstrap out-of-bag samples are used to evaluate and compare performances between these models with results presented in tabular or graphical means. Calibration plots can also be generated, again based upon (outer nested) cross validation or bootstrap leave out (out of bag) samples. Note, at the time of this writing, in order to fit gradient boosting machine models one must install the packages 'DiceKriging' and 'rgenoud' using the install.packages() function. For some datasets, for example when the design matrix is not of full rank, 'glmnet' may have very long run times when fitting the relaxed lasso model, from our experience when fitting Cox models on data with many predictors and many patients, making it difficult to get solutions from either glmnet() or cv.glmnet(). This may be remedied by using the 'path=TRUE' option when calling glmnet() and cv.glmnet(). Within the 'glmnetr' package the approach of path=TRUE is taken by default. other packages doing similar include 'nestedcv' <https://cran.r-project.org/package=nestedcv>, 'glmnetSE' <https://cran.r-project.org/package=glmnetSE> which may provide different functionality when performing a nested CV. Use of the 'glmnetr' has many similarities to the 'glmnet' package and it could be helpful for the user of 'glmnetr' also become familiar with the 'glmnet' package <https://cran.r-project.org/package=glmnet>, with the "An Introduction to 'glmnet'" and "The Relaxed Lasso" being especially useful in this regard.

Maintainer
Walter K Kremers
Licence
GPL-3
Latest release
16 Sep 2026
First release
14 Dec 2022

Compare with another package

More details
Releases
20
Needs compilation
No
Needs R
>= 3.4.0
Config/roxygen2/version
8.1.0
Date
2026-09-12
Subjects (1) Method, Subjects
Cite

Package

Run in R for the authors' preferred citation:

citation("glmnetr")
APA
Kremers, W. K., & Larson, N. B. (2026). glmnetr: Nested Cross Validation for the Relaxed Lasso and Other Machine
Learning Models (Version 0.6-4) [Computer software]. https://doi.org/10.32614/CRAN.package.glmnetr
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 glmnetr version 0.6-4 [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-4
    Time taken
    294 s
  • r-devel-linux-x86_64-debian-gcc

    The unreleased R on Linux, x86_64, debian-gcc

    OK

    Version checked
    0.6-4
    Time taken
    195 s
  • r-devel-linux-x86_64-fedora-clang

    The unreleased R on Linux, x86_64, fedora-clang

    OK

    Version checked
    0.6-4
    Time taken
    218 s
  • r-devel-linux-x86_64-fedora-gcc

    The unreleased R on Linux, x86_64, fedora-gcc

    OK

    Version checked
    0.6-4
    Time taken
    208 s
  • r-devel-windows-x86_64

    The unreleased R on Windows, x86_64

    OK

    Version checked
    0.6-4
    Time taken
    285 s
  • r-oldrel-macos-arm64

    The previous release of R on macOS, arm64

    OK

    Version checked
    0.6-4
    Time taken
    75 s
  • r-oldrel-macos-x86_64

    The previous release of R on macOS, x86_64

    OK

    Version checked
    0.6-4
    Time taken
    250 s
  • r-oldrel-windows-x86_64

    The previous release of R on Windows, x86_64

    OK

    Version checked
    0.6-4
    Time taken
    333 s
  • r-patched-linux-x86_64

    The patched release of R on Linux, x86_64

    OK

    Version checked
    0.6-4
    Time taken
    271 s
  • r-release-linux-x86_64

    The current release of R on Linux, x86_64

    OK

    Version checked
    0.6-4
    Time taken
    274 s
  • r-release-macos-arm64

    The current release of R on macOS, arm64

    OK

    Version checked
    0.6-4
    Time taken
    70 s
  • r-release-macos-x86_64

    The current release of R on macOS, x86_64

    OK

    Version checked
    0.6-4
    Time taken
    258 s
  • r-release-windows-x86_64

    The current release of R on Windows, x86_64

    OK

    Version checked
    0.6-4
    Time taken
    263 s
  • 13 OK

Over time

No change since 5 Aug 2026

As a list (5)
ChangedWorst statusOKNotesWarningsErrors
5 Aug 2026OK13000
1 Aug 2026Note12100
9 Jun 2026OK13000
8 Jun 2026Error12001
10 Mar 2026OK14000

Since March 2026

Check results on CRAN

Total downloads in the last 30 days
730+3.4% up on the 30 days before, the better directionIt is the sum of 3 channels: CRAN, r2u and autoCRAN.

CRAN rank

4,448 of 26,530

CRAN

713 downloads in the last 30 days

Rank
4,448 of 26,530
Change
+3.9% up on the 30 days before, the better direction

It is in the total. Take it out

r2u

12 downloads in the last 30 days

Rank
6,028 of 30,526
Change
+200% up on the 30 days before, the better direction

It is in the total. Take it out

autoCRAN

5 downloads in the last 30 days

Rank
10,893 of 29,212
Change
−68.8% down on the 30 days before, the worse direction

It is in the total. Take it out

Over time

Compare downloads

Needs
14
Dependent packages
0
Suggested by
0
Needs (14)
Installing it adds
110 packages, 89.4 MB of source
Of those, need compilation
58
Optional extras (1)
Functions
134
Public exports
35
Lines of R code
26,710
Median complexity
8.5
Functions (134)
Size and composition

Lines by kind (31,163)

KindLinesShare
R code26,71086%
Documentation3,04510%
Guides1,4085%

Lines by language

LanguageLinesShare
R26,71086%
Rd3,04510%
Vignettes1,3965%
Other120%

Languages are counted from file extensions.

Files
135
R functions
134
Object systems
S3: 17 methods
Complexity
Median
8.5
Mean
38.38
Highest
521
Median lines per function
37
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
134
Calls
174
Unconnected
18
Groups
7
Growth (20 releases)
Total lines by release
5,215 on 14 Dec 202231,163 on 16 Sep 2026
Release changes

The package was built and has no tests to run.

Lines of tests
0
Exports named in tests
0%
Test suite
Has tests
No
Test frameworks
No tests in this release
Test lines per line of code
0
Exports documented
100%
Arguments documented
100%
Return value documented
97.1%
Help pages with examples
28.8%
Examples run in checks
46.7%
Guides (12)
Other documentation
README
No
Release notes file
No
Help pages
52
Lines of documentation
3,045

No repository on record

R releases
  • On CRAN
  • Archived
  • Release
0.6-4Archived and back

Archived and back

ArchivedBackCRAN's reasonKind
28 May 20237 Jun 2023issues were not corrected in timeChecks not fixed
VersionReleasedR
0.6-4 current16 Sep 20264.6.1
0.6-316 Dec 20254.5.2
0.6-219 Aug 20254.5.1
0.6-110 May 20254.5.0
0.5-517 Jan 20254.4.2
0.5-424 Oct 20244.4.1
0.5-328 Aug 20244.4.1
0.5-212 Jul 20244.4.1
Earlier versions (12)
VersionReleasedREvents
0.5-112 May 20244.4.0
0.4-621 Apr 20244.3.3
0.4-520 Apr 20244.3.3
0.4-423 Mar 20244.3.3
0.4-34 Mar 20244.3.3
0.4-29 Feb 20244.3.2
0.4-19 Jan 20244.3.2
0.3-110 Aug 20234.3.1
0.2-17 Jun 20234.3.0Back on CRAN 7 Jun 2023
0.2-010 May 20234.3.0Archived 28 May 2023
“issues were not corrected in time”
0.1-218 Feb 20234.2.2
0.1-114 Dec 20224.2.2