Skip to content

quadrupen

1.1-0Package record

Sparse and Group Sparse Linear Models

0packages depend
5Kdownloads / year
0.2%test coverage
13/13flavors OK

Overview

About

Fits the solution paths of classical sparse regression models with efficient active set algorithms by solving small sub-problems. Include LASSO, SCAD, MCP, (Sparse) Group-LASSO, Cooperative-LASSO, (Group) LAVA, (Generalized) Fused-Lasso and (Generalized) Elastic-Net. Also provides methods for model selection purpose (information criteria, cross-validation, stability selection).

Changes in 1.1-0
  • performance
  • active set: no reallocation of the Gram matrices when variables enter or leave the model, LAPACK triangular solves, in-place Cholesky downdates
  • several variables (or groups) activated at once in the working set algorithm (new control option maxadd, default 10 for sparse models and 5 for group models)
  • proximal solvers: adaptive restart of FISTA, safer Lipschitz constant (Lanczos), step-invariant stopping rule and safeguarded Anderson acceleration for PGD
  • exact block coordinate descent with Newton steps for the quadra method of group models
  • ridge and lava: no p x p algebra for a diagonal structuring matrix (the default)
  • faster information criteria; cross-validation folds built on demand (less memory)
  • typical speed-ups over 1.0-0 with default settings: x2 to x4 for lasso, MCP and SCAD, x5 to x15 for group models, x9 to x36 for elastic-net and sparse designs with large active sets, x8 for ridge and x30 for lava with p = 8000; all lambdas now converge on these cases
  • bug fixes (results may change)
  • robustness when the active set exceeds the rank of the design (no more failure of the Cholesky factorization or of the direct solve)
  • bounded_reg() with method = "quadra" (the default) stopped too early and could return suboptimal solutions; the optimality gap is now computed from the exact KKT conditions
Show all changes in 1.1-0Hide the rest of the changes in 1.1-0
  • l1/linf group penalty: wrong proximal operator when the group lies in the l1 ball (fista and pgd converged to wrong solutions)
  • quadra method for group models: exact solution of each block; sparse-group, coop and l1/linf variants now converge
  • proximal solvers could stop after one iteration on badly scaled data
  • convergence status now reflects the final optimality gap
  • the Lipschitz constant estimation no longer draws from R's random number generator
  • minor updates
  • objects are rebuilt when a C++ header changes; ARMA_NO_DEBUG also on Windows

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 15.8 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-06-09
  • ERROR12 OK, 1 ERROR2026-06-08
  • OK12 OK2026-04-25
Show 3 earlier changesHide 3 earlier changes
  • NOTE12 OK, 2 NOTE2026-04-22
  • ERROR11 OK, 2 NOTE, 1 ERROR2026-04-18
  • NOTE12 OK, 2 NOTE2026-03-10
Advisories

none known

Documentation

In release 1.1-0
READMEYes · 1,158 wordsVignettesYes · 4 · dynamicNEWSYes · 100% structured · mentions 1.1-0Citation fileYes · cites a publicationWebsiteYes · pkgdown
Help pages
31 (1 internal)includes a package overview page
Examples that run
58%7 run in a plain check · 5 never run
Exported functions with examples
52%
Documented parameters
67%
Return-value docs
48%
Help pages citing references
19%

Also includes 3 demo scripts (run with demo())

Downloads

5K
CRAN downloads in the past year
Rank #5,313 · ~14/day · ~416/mo
Daily download trend is not available in this view yet.
62830 days
1.5K90 days
5K1 year
Compare downloads with other packages →
Also on400 r2u1 autocran

Repository

1Stars
0Forks
0Open issues
0Open PRs
2Releases
311Commits
1Commit identities
License file reads as GPL-3.0 · 311 commits · Last activity 2026-09-17
Responsiveness
How these are sampled
PRs merged (all time)
100%
Median days to close, 50 most recently updated closed issues
112
Median days to close, 50 most recently updated closed PRs
0

Stars over time

2019-07-03 · 12026-07-07 · 1
PracticesBeta

9 development-tooling and community-health practices detected across 4 families in the upstream repository

Checks run against github.com/jchiquet/quadrupen 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

Docs source (4)
README.qmdpkgdown

GitHub Pages site last deployed 2026-09-17 · The repository has a site deploy workflow

pkgdown site last built 2026-09-17

CRAN release process (2)
cran-comments.mdCRAN-SUBMISSION
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v3 (2026-09-26)
AI coding toolsBeta

This repository shows signs of AI coding tools.

  • Claude Codefirst seen 2026-04-24
    Named in .Rbuildignore: .claude
    Pull request it wrote: opened by a project member
    Commits: at least 21 crediting it in the message
Models named in its commits
  • Claude Opus 514 commits · Sep 2026
  • Claude Sonnet 57 commits · Sep 2026
Counts are commits, not lines of code. Commits by a tool's accounts count once across all of its accounts. Commits crediting it are the largest count among its credit lines, a minimum.How this is detected·Detection ruleset v4 (updated 2026-09-27)

Dependencies

Declared dependencies
19 external dependencies (excludes base and recommended)

Installing quadrupen adds 31 packages (17 with compiled code, 31 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, Rcpp 1.8 MB.

Depends (1)
R >= 4.1.0
Imports (12)
LinkingTo (2)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

People & History

People (1)
Author, Maintainer since 0.1-0 (2012)
Releases (17)

Pick two releases to compare their code metrics.

  • 1.1-0Latest
    record
    2026-09-17 · current release · diff ↗
  • 1.0-0
    record
    2026-06-05 · diff ↗ ·
    removed 1 export
    crossval
    added 32 exports
    BoundedRegressionFit, CrossValidation, DataModel, FusedLassoFit, GroupLavaFit, InformationCriteria, LavaFit, QuadrupenFit, RidgeRegressionFit, SparseFit, SparseGroupFit, StabilityPath, bounded_reg, coop_lasso, criteria, cross_validate, elastic_net, fused_lasso, group_l1linf, group_lasso, group_lava, group_sparse_lm, lasso, lava, mcp, ridge, scad, selection, sparse_coop_lasso, sparse_group_l1linf and 2 more
  • R
    R 4.6.0 released · 2026-04-24
  • 0.2-13
    record
    2025-10-09 · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 0.2-12
    record
    2024-06-25 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 0.2-11
    record
    2023-12-18 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 0.2-10
    record
    2023-01-16 · diff ↗
  • 0.2-9
    record
    2022-08-25 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • unarchivedReturned to CRAN
    2020-11-18
  • 0.2-8
    record
    2020-11-18 · diff ↗
  • archivedRemoved from CRAN
    2020-11-03
    check problems were not corrected in time
Show 18 earlier eventsHide 18 earlier events
  • R
    R 4.0.0 released · 2020-04-24
  • 0.2-7
    record
    2019-08-28 · diff ↗
  • R
    R 3.6.0 released · 2019-04-26
  • 0.2-6
    record
    2018-04-30 · diff ↗
  • R
    R 3.5.0 released · 2018-04-23
  • R
    R 3.4.0 released · 2017-04-21
  • 0.2-5
    record
    2017-03-07 · diff ↗
  • R
    R 3.3.0 released · 2016-05-03
  • R
    R 3.2.0 released · 2015-04-16
  • R
    R 3.1.0 released · 2014-04-10
  • 0.2-4
    record
    2014-01-16 · diff ↗
  • 0.2-3
    record
    2013-09-30 · diff ↗
  • 0.2-2
    record
    2013-04-08 · diff ↗
  • R
    R 3.0.0 released · 2013-04-03
  • 0.2-1
    record
    2013-02-27 · diff ↗
  • 0.2-0
    record
    2013-02-26 · diff ↗ ·
    added 1 export
    bounded.reg
  • 0.1-0
    record
    2012-10-10
  • R
    R 2.15.0 released · 2012-03-30

Package metadata

First published
2012-10-10
Total releases
17 / 14 yrs
License
GPL (>= 3) OSI
Minimum R
≥ 4.1.0
Download size
7.9 MB

Cite

Cite this package

Run in R for the authors' entry:

citation("quadrupen")

The package provides a citation file, so citation() returns the authors' own entry.

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 quadrupen version 1.1-0 [Data set]. HJJB, LLC. Data release v2026-10-22. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-22, 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