Skip to content

grpreg

Regularization Paths for Regression Models with Grouped Covariates

v3.6.0 · Mar 26, 2026 · GPL-3

Description

Efficient algorithms for fitting the regularization path of linear regression, GLM, and Cox regression models with grouped penalties. This includes group selection methods such as group lasso, group MCP, and group SCAD as well as bi-level selection methods such as the group exponential lasso, the composite MCP, and the group bridge. For more information, see Breheny and Huang (2009) <doi:10.4310/sii.2009.v2.n3.a10>, Huang, Breheny, and Ma (2012) <doi:10.1214/12-sts392>, Breheny and Huang (2015) <doi:10.1007/s11222-013-9424-2>, and Breheny (2015) <doi:10.1111/biom.12300>, or visit the package homepage <https://pbreheny.github.io/grpreg/>.

Downloads

CRAN

6.6K

Last 30 days

1432nd

26.1K

Last 90 days

107.3K

Last year

Trend: -35.9% (30d vs prior 30d)

r2u CRAN

56

Last 30 days

306

Last 90 days

793

Last year

Trend: -57.9% (30d vs prior 30d)

autoCRAN

6

Last 7 days

20

Last 30 days

4

All-time

autoCRAN-only: this name is served only by autoCRAN, so the count is exact.

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Code

Structure

Lines of code

8,036

Files

111

Compiled share

28.8%

Has compiled src

Yes

Language breakdown

R 3,052 (38%)C/C++/src 2,316 (28.8%)Tests 5 (0.1%)Docs 1,804 (22.4%)Vignettes 859 (10.7%)

API

Exported functions

11

Internal functions

39

Recent export changes

v3.6.0+1 mfdr
v3.4.0+3 expand_spline, gen_nonlinear_data, plot_spline

Testing & CI

Has tests

Yes

Test-to-code ratio

0.00

testthat edition

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

70%

\dontrun example ratio

5%

Roxygen coverage

100%

Has pkgdown

No

NEWS present

Yes

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

Unsafe pattern score

0

Dep constraint coverage

0%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

3.1.0

System requirements

C++ standard

License

GPL-3

License flags

SPDX valid, OSI approved

History

Versions

34

First release

2008-11-11

Latest release

2026-03-26

Avg cadence

112 days

Cold removal rate

Dep drift

1

LOC over versions

v1.0: 1,166 LOCv1.1: 1,072 LOCv1.2-0: 1,164 LOCv1.2-1: 1,164 LOCv1.2-2: 1,164 LOCv2.0-0: 1,674 LOCv2.0-1: 1,678 LOCv2.1-0: 1,810 LOCv2.2-0: 1,804 LOCv2.2-1: 1,805 LOCv2.3-0: 1,821 LOCv2.4-0: 2,135 LOCv2.5-0: 2,241 LOCv2.6-0: 2,571 LOCv2.7-0: 3,321 LOCv2.7-1: 3,342 LOCv2.8-0: 3,447 LOCv2.8-1: 3,466 LOCv3.0-0: 6,020 LOCv3.0-1: 6,052 LOCv3.0-2: 6,044 LOCv3.1-0: 5,524 LOCv3.1-1: 5,527 LOCv3.1-2: 5,526 LOCv3.1-3: 5,533 LOCv3.1-4: 5,535 LOCv3.2-0: 5,923 LOCv3.2-1: 5,946 LOCv3.2.2: 5,989 LOCv3.3.0: 5,928 LOCv3.3.1: 5,930 LOCv3.4.0: 6,102 LOCv3.5.0: 7,396 LOCv3.6.0: 8,036 LOC

Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.

Reverse Dependencies (21)

depends

Dependency Network

Dependencies Reverse dependencies Matrix fsemipar DMRnet HMC MUGS NVCSSL PCLassoReg SSGL bestglm fetwfe geoGAM kko mixedLSR naivereg ppmSDR refund +6 more reverse deps grpreg

Version History

35 tracked
updated 3.6.0 ← 3.5.0 diff Mar 26, 2026
new 3.5.0 Mar 10, 2026
updated 3.5.0 ← 3.4.0 diff Sep 2, 2024
updated 3.4.0 ← 3.3.1 diff Jul 25, 2021
updated 3.3.1 ← 3.3.0 diff Mar 29, 2021
updated 3.3.0 ← 3.2.2 diff Jun 9, 2020
updated 3.2.2 ← 3.2-1 diff Feb 18, 2020
updated 3.2-1 ← 3.2-0 diff Feb 25, 2019
updated 3.2-0 ← 3.1-4 diff Sep 26, 2018
updated 3.1-4 ← 3.1-3 diff Jun 14, 2018
updated 3.1-3 ← 3.1-2 diff Apr 7, 2018
updated 3.1-2 ← 3.1-1 diff Jul 5, 2017
updated 3.1-1 ← 3.1-0 diff Jun 7, 2017
updated 3.1-0 ← 3.0-2 diff May 17, 2017
updated 3.0-2 ← 3.0-1 diff Jul 10, 2016