Group Lasso and Elastic Net Solver for Generalized Linear Models
Overview
Extremely efficient procedures for fitting the entire group lasso and group elastic net regularization path for GLMs, multinomial, the Cox model and multi-task Gaussian models. Similar to the R package 'glmnet' in scope of models, and in computational speed. This package provides R bindings to the C++ code underlying the corresponding Python package 'adelie'. These bindings offer a general purpose group elastic net solver, a wide range of matrix classes that can exploit special structure to allow large-scale inputs, and an assortment of generalized linear model classes for fitting various types of data. The package is an implementation of Yang, J. and Hastie, T. (2024) doi:10.48550/arXiv.2405.08631.
- Fixed an issue with standardization. Variables with zero variance get turned into Inf. What we do instead is change the variance to Inf, and those variables become all 0 and are given zero coefficients. This problem can exhibit during CV.
- Fixed the dense-matrix
sp_tmulso that its serial path honorsn_threads. Itsn_threads = 1branch ran a raw Eigen product that ignored the requested thread count and fell back to Eigen's global default (all cores), inflating example CPU time touser/elapsed~10x with no wall-clock gain on a many-core machine (the source of CRAN's gcc-16 R-devel "CPU time > 2.5 times elapsed" NOTE). Theinst/adeliesubmodule points at the one-line fix on a forked branch (bnaras/adelie@zero-variance). Investigation notes and a Docker reprex live indebug/(excluded from the package tarball).
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-05-02
- NOTE11 OK, 3 NOTE2026-04-22
- ERROR10 OK, 3 NOTE, 1 ERROR2026-04-18
Show 1 earlier changeHide 1 earlier change
- NOTE11 OK, 3 NOTE2026-03-10
Documentation
- Help pages
- 38
- Examples that run
- 100%38 run in a plain check
- Exported functions with examples
- 100%
- Documented parameters
- 97%
- Return-value docs
- 94%
- Help pages citing references
- 32%
Downloads
Repository
- PRs merged (all time)
- 83%
- Median days to close, 50 most recently updated closed issues
- 1
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
3 development-tooling and community-health practices detected across 3 families in the upstream repository
Checks run against github.com/jamesyang007/adelie-r on 2026-10-21.
Dependencies
Code & Tests
People & History
Previously maintained by James Yang (1.0.0 to 1.0.1).
Pick two releases to compare their code metrics.
- 1.0.10Latest
- 1.0.92026-05-08 · diff ↗
- RR 4.6.0 released · 2026-04-24
- 1.0.82025-07-01 · diff ↗
- RR 4.5.0 released · 2025-04-11
- 1.0.7
- 1.0.62025-02-14 · diff ↗ ·
added 5 exports
coef.glintnet, cv.glintnet, glintnet, matrix.convex_relu, predict.glintnet - 1.0.22024-09-03 · diff ↗ ·
added 6 exports
coef.grpnet, cv.grpnet, matrix.eager_cov, plot.grpnet, predict.grpnet, print.cv.grpnet - 1.0.1
- 1.0.02024-06-17
- RR 4.4.0 released · 2024-04-24
Package metadata
- First published
- 2024-06-17
- Total releases
- 8 / 2 yrs
- License
- MIT + file LICENSE OSI
- Download size
- 1.4 MB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("adelie")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-24, which the citation names so these numbers can be found later. More on citing and the projects behind them.