Skip to content

sparsegl

1.1.1Package record

Sparse Group Lasso

1packages depend
7.1Kdownloads / year
84.7%test coverage
13/13flavors OK

Overview

About

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.

Changes in 1.1.1
  • Add CITATION and links to JSS article

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 5.9 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-09-18
  • ERROR12 OK, 1 ERROR2026-09-12
  • OK13 OK2026-08-04
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 1.1.1
READMEYes · 181 wordsVignettesYes · 1 · dynamicNEWSYes · 100% structured · mentions 1.1.1Citation fileYes · cites a publicationWebsiteYes · pkgdown
Cites a JSS article
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

7.1K
CRAN downloads in the past year
Rank #6,421 · ~20/day · ~595/mo
Daily download trend is not available in this view yet.
49930 days
1.3K90 days
7.1K1 year
Compare downloads with other packages →
Also on347 r2u3 autocran

Repository

17Stars
8Forks
3Open issues
0Open PRs
5Releases
385Commits
6Commit identities
385 commits · Last activity 2026-01-10 · Default branch at 1.1.1.9002, ahead of CRAN 1.1.1 (checked 2026-10-18)
Responsiveness
How these are sampled
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

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

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.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Governance and community (1)
CODEOWNERS
Docs source (4)
README.Rmdpkgdown

GitHub Pages site last deployed 2026-01-10 · The repository has a site deploy workflow

pkgdown site last built 2026-01-10

Reproducibility and dev environment (1)
data-raw/
Show all practicesHide 1 practice
CRAN release process (2)
cran-comments.mdCRAN-SUBMISSION
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
14 external dependencies (excludes base and recommended)

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.

Depends (1)
R >= 3.5
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
1direct
0indirect
Depends 1
Depends, Imports or LinkingTo, most downloaded first

Datasets

People & History

People (14)
Author, Maintainer since 0.3.0 (2022)
Author · 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
Contributor · added in 1.0.0
Show 2 more contributorsHide 2 contributors
Contributor · added in 1.0.0
Contributor · added in 1.0.0
Releases (8)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • 1.1.1Latest
    record
    2024-08-25 · current release · diff ↗
  • 1.1.0
    record
    2024-06-26 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 1.0.2
    record
    2023-09-25 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 1.0.1
    record
    2023-01-27 · diff ↗
  • 1.0.0
    record
    2022-11-29 · diff ↗ ·
    added 1 export
    make_irls_warmup
  • 0.5.0
    record
    2022-09-22 · diff ↗
  • 0.4.0
    record
    2022-09-05 · diff ↗ ·
    added 2 exports
    grouped_zero_norm, zero_norm
  • R
    R 4.2.0 released · 2022-04-22
  • 0.3.0
    record
    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 · 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.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for sparsegl version 1.1.1 [Data set]. HJJB, LLC. Data release v2026-10-21. https://doi.org/10.5281/zenodo.21843040

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.

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