Skip to content

sparsegl

1.1.1

Sparse Group Lasso

1packages depend
8.7Kdownloads / year
84.7%test coverage
13/13checks pass

Overview

About
Maintained by Daniel J. McDonaldFirst published 2022-03-078 releasesCRAN page ↗GitHub ↗

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.

Install

Health

CRAN checks
13OK
Slowest check: 6.4 min · r-devel-windows-x86_64
Code health
Yes
Tests · ratio 0.34
84.7%
Coverage · measured lines
93%
Documentation · exports
9
Dependencies · direct
Check history
  • OK2026-08-04
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 181 wordsVignettesYes · dynamicpkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
91%
Documented parameters
96%
Return-value docs
100%
References docs
29%

Downloads

8.7K
CRAN downloads in the past year
Rank #9,522 · ~24/day · ~722/mo
Daily download trend is not available in this view yet.
20330 days
99090 days
8.7K1 year
Compare downloads with other packages →
Also on405 r2u15 autocran

Repository

Repository
17Stars
8Forks
3Open issues
0Open PRs
5Releases
385Commits
6Contributors
385 commits · Last activity 2026-01-10

Stars over time

2025-02-19 · 172026-07-07 · 17

Repository practices

Upstream repositoryBeta

6 development-tooling and community-health practices detected across 5 families in the upstream repository

Checks run against github.com/dajmcdon/sparsegl on 2026-08-16.

Continuous integration (1)
GitHub Actions
Reproducibility and dev environment (1)
data-raw/
CRAN release process (2)
cran-comments.mdCRAN-SUBMISSION
Docs source (1)
README.Rmd
Show all practices
Governance and community (1)
CODEOWNERS
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
14 external dependencies (excludes base and recommended)
Depends (1)
R >= 3.5
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
1direct
0indirect

Code & Tests

Datasets

People & History

People (14)
Maintainer (1)
Author, Maintainer
Authors (4)
Author, Maintainer
Author · added in 1.0.0
Contributors (10)
Contributor · added in 1.0.0
Contributor · added in 1.0.0
Contributor · added in 1.0.0
Contributor · added in 1.0.0
Contributor · added in 1.0.0
Contributor · added in 1.0.0
Contributor · added in 1.0.0
Contributor · added in 1.0.0
Show 2 more contributors
Contributor · added in 1.0.0
Contributor · added in 1.0.0
Package Timeline

8 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • 1.1.1Latest
    2024-08-25 · current release · diff ↗
  • 1.1.0
    2024-06-26 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 1.0.2
    2023-09-25 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 1.0.1
    2023-01-27 · diff ↗
  • 1.0.0
    2022-11-29 · diff ↗
  • 0.5.0
    2022-09-22 · diff ↗
  • 0.4.0
    2022-09-05 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 0.3.0
    2022-03-07
  • R
    R 4.1.0 released · 2021-05-18

Package metadata

First published
2022-03-07
Total releases
8 / 4 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 3.5
Bundled data
200 KB / 1 file
Download size
587 KB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("sparsegl")
McDonald, D. J., Cohen, A., Friedman, J., Hastie, T., Liang, X., Narasimhan, B., Qian, J., Simon, N., Solón Heinsfeld, A., Tay, K., Tibshirani, R., Yang, J., Yang, Y., & Zou, H. (2024). sparsegl: Sparse Group Lasso (Version 1.1.1) [Computer software]. https://doi.org/10.32614/CRAN.package.sparsegl

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

Cite the 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 sparsegl version 1.1.1 [Data set]. HJJB, LLC. Data release v2026-08-16. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-16, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy