glmnetr
‹0.6-4
- 0.6-416 Sep 2026, current
- 0.6-316 Dec 2025
- 0.6-219 Aug 2025
- 0.6-110 May 2025
- 0.5-517 Jan 2025
- 0.5-424 Oct 2024
- 0.5-328 Aug 2024
- 0.5-212 Jul 2024
- 0.5-112 May 2024
- 0.4-621 Apr 2024
- 0.4-520 Apr 2024
- 0.4-423 Mar 2024
- 0.4-34 Mar 2024
- 0.4-29 Feb 2024
- 0.4-19 Jan 2024
- 0.3-110 Aug 2023
- 0.2-17 Jun 2023
- 0.2-010 May 2023
- 0.1-218 Feb 2023
- 0.1-114 Dec 2022
Nested Cross Validation for the Relaxed Lasso and Other Machine Learning Models
- CRAN checks, method
Method
Checks and health
CRAN runs every current package through
R CMD checkon a set of machines and publishes a result for each one. The health shown on a package page comes from these results alone.- Problems
- Notes alone never count against a package, but a warning, an error or a failure on any platform is a problem. Open CRAN deadlines are a fact of their own, shown as a clock after the mark, so the mark always says what the checks found.
- Checks only
- Health reflects CRAN's check results and nothing else. Even a package with no tests, no coverage or no recent release can have every platform OK.
- Once a day
- Results are collected once a day from files CRAN publishes. Each platform is one machine set-up, named by its R version, operating system, architecture and compiler, such as r-devel-linux-x86_64-fedora-clang.
- Platforms counted
- The 13 in 3 of 13 is the number of platform rows CRAN published for that package on the day of collection. The set of machines changes over time, so the number is not fixed, and a package missing from a platform counts as neither passing nor failing there.
- All OK13 platforms
- CRAN 30-day downloads, method
- 713+3.9% up on the 30 days before, the better direction
- Dependent packages, method
Method
Reverse dependencies
Dependent packages are other packages that list this one under
Depends,ImportsorLinkingToin theirDESCRIPTIONfile. Those fields list the packages a package needs to install, so dependents break if this one is archived or broken.- As declared
- The counts follow the declarations as written, not whether a package uses the other one when it runs.
- Suggests apart
- Packages that list this one only under
Suggestsinstall and run without it, and use it for tests, examples or an optional feature. They are counted as Suggested by, never among the dependents, and a package that also lists it under one of the three fields is a dependent and is not counted again. - Zero
- Zero dependents means no current CRAN package declares a need for this one, though some may suggest it. On 28 Oct 2026, 19,572 of the 25,581 current CRAN packages had no dependent package.
- 0none suggest it
- Test coverage, method
Method
Test coverage
Test coverage is measured by downloading each CRAN package's current source file, installing its dependencies, building it and running its tests under covr.
- Almost half of CRAN has no tests to run
- Only CRAN packages are measured. Many have no percentage, most often because the package has no tests, and that blank is a recorded outcome, not missing data.
- NOT_CRAN
- Tests run with NOT_CRAN=true, so tests that skip themselves on CRAN run here, and the figure can differ from what CRAN's own checks see.
- Current version only
- Only the current version is measured, and a new version on CRAN is measured again. Older rows are kept but never filled in later. This is one package's run.
- Never 0%
- On a package page three states stay apart: measured, no tests, and not measured. Neither of the last two is ever shown as 0%.
- No testsnothing to run
- Advisories, method
Method
Security advisories
Advisories come from the R Consortium advisory database, a community record of security problems in R packages, as OSV publishes it.
- The copy
- The record is read once a day. The data is published under the Apache License 2.0 and is credited on the advisories list.
- Box under the name
- Under the package's name, a box names any advisory that affects the current release, with its fix or that there is none.
- Ranges
- Advisories state ranges, such as from 0.9.12 up to but not including 1.8.8. Each range is checked against every version CRAN has published, using the version rules R itself uses, so a release that came out after the advisory was written is still caught by its range.
- Not the package
- The rating is for the library flaw itself, not for how exposed the R package is, and it is never added up into a figure for the package.
- None known
About
Method, About Method Licence figures come from the Licences
License field of each package's DESCRIPTION file, read the way R itself reads it. No licence file is opened.tools::analyze_license() and R's own licence database, as CRAN's checks read it.| is read, so one string can offer two families.
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
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, SubjectsMethod
Subjects and collections
Subjects are the site's own grouping of CRAN packages, found by clustering. Collections are sets of packages that communities declare, such as the tidyverse.
- Subjects
- Subjects are found by clustering the words of current CRAN packages and the packages they use. No one edits them by hand.
- Collections
- Collections are sets that communities declare, through a package that installs the set or an organization on GitHub. The site finds them by rules.
- Who made each
- Subjects are marked Site and collections Community. Subjects, collections and task views are never mixed in one list.
- The day of the data
- Subjects and collections were last worked out on 22 Oct 2026.
Cite
Package
Run in R for the authors' preferred citation:
citation("glmnetr")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.
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.
Health
All 13 check platforms pass.
r-devel-linux-x86_64-debian-clangThe unreleased R on Linux, x86_64, debian-clang
OK
- Version checked
- 0.6-4
- Time taken
- 294 s
r-devel-linux-x86_64-debian-gccThe unreleased R on Linux, x86_64, debian-gcc
OK
- Version checked
- 0.6-4
- Time taken
- 195 s
r-devel-linux-x86_64-fedora-clangThe unreleased R on Linux, x86_64, fedora-clang
OK
- Version checked
- 0.6-4
- Time taken
- 218 s
r-devel-linux-x86_64-fedora-gccThe unreleased R on Linux, x86_64, fedora-gcc
OK
- Version checked
- 0.6-4
- Time taken
- 208 s
r-devel-windows-x86_64The unreleased R on Windows, x86_64
OK
- Version checked
- 0.6-4
- Time taken
- 285 s
r-oldrel-macos-arm64The previous release of R on macOS, arm64
OK
- Version checked
- 0.6-4
- Time taken
- 75 s
r-oldrel-macos-x86_64The previous release of R on macOS, x86_64
OK
- Version checked
- 0.6-4
- Time taken
- 250 s
r-oldrel-windows-x86_64The previous release of R on Windows, x86_64
OK
- Version checked
- 0.6-4
- Time taken
- 333 s
r-patched-linux-x86_64The patched release of R on Linux, x86_64
OK
- Version checked
- 0.6-4
- Time taken
- 271 s
r-release-linux-x86_64The current release of R on Linux, x86_64
OK
- Version checked
- 0.6-4
- Time taken
- 274 s
r-release-macos-arm64The current release of R on macOS, arm64
OK
- Version checked
- 0.6-4
- Time taken
- 70 s
r-release-macos-x86_64The current release of R on macOS, x86_64
OK
- Version checked
- 0.6-4
- Time taken
- 258 s
r-release-windows-x86_64The 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)
| Changed | Worst status | OK | Notes | Warnings | Errors |
|---|---|---|---|---|---|
| 5 Aug 2026 | OK | 13 | 0 | 0 | 0 |
| 1 Aug 2026 | Note | 12 | 1 | 0 | 0 |
| 9 Jun 2026 | OK | 13 | 0 | 0 | 0 |
| 8 Jun 2026 | Error | 12 | 0 | 0 | 1 |
| 10 Mar 2026 | OK | 14 | 0 | 0 | 0 |
Since March 2026
Downloads
Method, Downloads Method Download figures count requests logged by each distribution channel. They are not counts of installs or of users, because each channel publishes its own totals and this site reads them.Downloads
- 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
The total is 730 downloads in the last 30 days. It is the sum of 3 channels: CRAN, r2u and autoCRAN.
Over time
Dependencies
Code
Method, Code Method Code metrics come from reading the released source of each package version. The package is never installed, loaded or run.Code metrics
README, vignettes, a NEWS file and the shares read from its help pages. Files kept only in the repository, such as a pkgdown configuration or CI files, are read by the repository scan instead.
- 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)
| Kind | Lines | Share |
|---|---|---|
| R code | 26,710 | 86% |
| Documentation | 3,045 | 10% |
| Guides | 1,408 | 5% |
Lines by language
| Language | Lines | Share |
|---|---|---|
| R | 26,710 | 86% |
| Rd | 3,045 | 10% |
| Vignettes | 1,396 | 5% |
| Other | 12 | 0% |
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)
Release changes
Tests
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
Documentation
- 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
People
Method, People Method People on the site are the names packages give them in their Author and maintainer identity
DESCRIPTION files: authors from the author list, and the maintainer from the Maintainer field. Spellings of one name become one person only where the rules below allow it, and when in doubt the rules keep people apart.
Repository
Method, figures by host Method Repository signals are the figures read from the source repository a package links to: stars, forks, issues, commits, releases and the time issues take to close. They are read from GitHub, GitLab, Codeberg and Bitbucket.Repository signals
URL and BugReports fields of its DESCRIPTION file. Read-only mirrors, the cran and bioc accounts on GitHub and git.bioconductor.org, are left out.
No repository on record
History
Method, History Method Archived is built from CRAN's archive records, its list of check deadlines and Bioconductor's package records. Every figure is counted to 28 Oct 2026, the day the data was read.Packages leaving
- On CRAN
- Archived
- Release
Archived and back
| Archived | Back | CRAN's reason | Kind |
|---|---|---|---|
| 28 May 2023 | 7 Jun 2023 | issues were not corrected in time | Checks not fixed |
| Version | Released | R |
|---|---|---|
| 0.6-4 current | 16 Sep 2026 | 4.6.1 |
| 0.6-3 | 16 Dec 2025 | 4.5.2 |
| 0.6-2 | 19 Aug 2025 | 4.5.1 |
| 0.6-1 | 10 May 2025 | 4.5.0 |
| 0.5-5 | 17 Jan 2025 | 4.4.2 |
| 0.5-4 | 24 Oct 2024 | 4.4.1 |
| 0.5-3 | 28 Aug 2024 | 4.4.1 |
| 0.5-2 | 12 Jul 2024 | 4.4.1 |
Earlier versions (12)
| Version | Released | R | Events |
|---|---|---|---|
| 0.5-1 | 12 May 2024 | 4.4.0 | |
| 0.4-6 | 21 Apr 2024 | 4.3.3 | |
| 0.4-5 | 20 Apr 2024 | 4.3.3 | |
| 0.4-4 | 23 Mar 2024 | 4.3.3 | |
| 0.4-3 | 4 Mar 2024 | 4.3.3 | |
| 0.4-2 | 9 Feb 2024 | 4.3.2 | |
| 0.4-1 | 9 Jan 2024 | 4.3.2 | |
| 0.3-1 | 10 Aug 2023 | 4.3.1 | |
| 0.2-1 | 7 Jun 2023 | 4.3.0 | Back on CRAN 7 Jun 2023 |
| 0.2-0 | 10 May 2023 | 4.3.0 | Archived 28 May 2023 “issues were not corrected in time” |
| 0.1-2 | 18 Feb 2023 | 4.2.2 | |
| 0.1-1 | 14 Dec 2022 | 4.2.2 |