Skip to content

grasps

0.1.2Package record

Groupwise Regularized Adaptive Sparse Precision Solution

0packages depend
3.9Kdownloads / year
–test coverage
13/13flavors OK

Overview

About

Provides a unified framework for sparse-group regularization and precision matrix estimation in Gaussian graphical models. It implements multiple sparse-group penalties, including sparse-group lasso, sparse-group adaptive lasso, sparse-group SCAD, and sparse-group MCP, and solves them efficiently using ADMM-based optimization. The package is designed for high-dimensional network inference where both sparsity and group structure are present.

Changes in 0.1.2
  • Fixed the tuning-parameter grid so that all combinations of user-supplied alpha and lambda values are evaluated.
  • Fixed automatic tuning-parameter generation so that a separate lambda sequence is constructed for each value of alpha using its corresponding lambda.max.
  • Validation of nlambda and lambda.min.ratio is now performed only when lambda = NULL.
  • Added a check for a non-positive or non-finite lambda.max to prevent the generation of invalid lambda sequences.
  • Fixed within-group weight generation in gen_prec_sbm() so that each edge weight is sampled once and assigned symmetrically to the corresponding entries of the precision matrix.
  • Added input validation for cond.target and support for empty graphs in gen_prec_sbm().
Show all changes in 0.1.2Hide the rest of the changes in 0.1.2
  • Clarified the roles of lambda.safe and lambda.max in the documentation of the automatic lambda-grid construction.
  • Expanded the documentation of the positive-definiteness and condition-number adjustment in gen_prec_sbm() and added relevant references.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 6.7 min · r-devel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK12 OK2026-04-25
  • NOTE12 OK, 2 NOTE2026-04-22
  • ERROR11 OK, 2 NOTE, 1 ERROR2026-04-18
Show 1 earlier changeHide 1 earlier change
  • NOTE12 OK, 2 NOTE2026-03-10
Advisories

none known

Documentation

In release 0.1.2
READMEYes · 587 wordsVignettesYes · 2 · dynamicNEWSYes · 100% structured · mentions 0.1.2Citation fileNoWebsiteYes · pkgdown
Help pages
10
Examples that run
100%10 run in a plain check
Exported functions with examples
100%
Documented parameters
95%
Return-value docs
100%
Help pages citing references
40% with a bibliography file
Vignettes (2)

Downloads

3.9K
CRAN downloads in the past year
Rank #7,857 · ~11/day · ~322/mo
Daily download trend is not available in this view yet.
47830 days
1.1K90 days
3.9K1 year
Compare downloads with other packages →
Also on322 r2u1 autocran

Repository

1Stars
0Forks
0Open issues
0Open PRs
3Releases
105Commits
1Commit identities
precision-matrix-estimationsparse-matrixadmm-algorithmgaussian-graphical-modelgroup-information
License file reads as GPL-3.0 · 105 commits · Last activity 2026-10-18 · 0% stars, 30d · Default branch at 0.1.3, ahead of CRAN 0.1.2 (checked 2026-10-18)
Responsiveness
not measured

Stars over time

2026-05-20 · 12026-07-07 · 1
PracticesBeta

7 development-tooling and community-health practices detected across 3 families in the upstream repository

Checks run against github.com/carol-seven/grasps 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.Rmdpkgdown

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

pkgdown site last built 2026-10-18

Reproducibility and dev environment (1)
Makefile
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
11 external dependencies (excludes base and recommended)

Installing grasps adds 31 packages (19 with compiled code, 26 MB of source tarballs). Heaviest: ggplot2 6.0 MB, igraph 4.8 MB, Rcpp 1.8 MB.

Depends (0)
none
LinkingTo (2)
Suggests (4)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

People & History

People (3)
Author, Maintainer since 0.1.0 (2025)
Author · added in 0.1.1
Author · added in 0.1.1
Releases (3)

Pick two releases to compare their code metrics.

  • 0.1.2Latest
    record
    2026-09-12 · current release · diff ↗
  • 0.1.1
    record
    2026-05-02 · diff ↗ ·
    added 1 export
    prec_to_adj
  • R
    R 4.6.0 released · 2026-04-24
  • 0.1.0
    record
    2025-11-27
  • R
    R 4.5.0 released · 2025-04-11

Package metadata

First published
2025-11-27
Total releases
3 / 1 yrs
License
GPL (>= 3) OSI
Download size
1.4 MB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("grasps")
Xiao, S., Yan, J., & Zhang, P. (2026). grasps: Groupwise Regularized Adaptive Sparse Precision Solution (Version 0.1.2) [Computer software]. https://doi.org/10.32614/CRAN.package.grasps

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.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for grasps version 0.1.2 [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