Sparse Group Lasso
Overview
Efficient implementation of sparse group lasso with optional bound constraints on the coefficients; see doi:10.18637/jss.v110.i06. It supports the use of a sparse design matrix as well as returning coefficient estimates in a sparse matrix. Furthermore, it correctly calculates the degrees of freedom to allow for information criteria rather than cross-validation with very large data. Finally, the interface to compiled code avoids unnecessary copies and allows for the use of long integers.
- Add CITATION and links to JSS article
From NEWS.md in the release
Install
Health
- OK13 OK2026-09-18
- ERROR12 OK, 1 ERROR2026-09-12
- OK13 OK2026-08-04
- NOTE12 OK, 1 NOTE2026-08-01
- OK14 OK2026-03-10
Documentation
- Help pages
- 14 (2 internal)includes a package overview page
- Examples that run
- 91%10 run in a plain check · 1 never run
- Exported functions with examples
- 67%
- Documented parameters
- 96%
- Return-value docs
- 100%
- Help pages citing references
- 29%
Downloads
Repository
- PRs merged (all time)
- 85%
- Median days to close, 50 most recently updated closed issues
- 122
- 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
10 development-tooling and community-health practices detected across 5 families in the upstream repository
Checks run against github.com/dajmcdon/sparsegl on 2026-10-18.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2026-01-10 · The repository has a site deploy workflow
pkgdown site last built 2026-01-10
Show all practicesHide 1 practice
Dependencies
Installing sparsegl adds 33 packages (19 with compiled code, 32 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, Rcpp 1.8 MB.
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- 1.1.1Latest
- 1.1.02024-06-26 · diff ↗
- RR 4.4.0 released · 2024-04-24
- 1.0.22023-09-25 · diff ↗
- RR 4.3.0 released · 2023-04-21
- 1.0.12023-01-27 · diff ↗
- 1.0.0
- 0.5.02022-09-22 · diff ↗
- 0.4.0
- RR 4.2.0 released · 2022-04-22
- 0.3.02022-03-07
- RR 4.1.0 released · 2021-05-18
Package metadata
- First published
- 2022-03-07
- Total releases
- 8 / 4 yrs
- License
- MIT + file LICENSE OSI · relicensed from GPL (>= 2) in 1.1.0
- Minimum R
- ≥ 3.5
- Bundled data
- 200 KB / 1 file
- Download size
- 587 KB
Cite
Cite this package
Run in R for the authors' entry:
citation("sparsegl")The package provides a citation file, so citation() returns the authors' own entry.
It points to 10.18637/jss.v110.i06.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-21, which the citation names so these numbers can be found later. More on citing and the projects behind them.