Skip to content

spareg

Sparse Projected Averaged Regression

v1.1.1 · Aug 19, 2025 · GPL-3

Description

A flexible framework combining variable screening and random projection techniques for fitting ensembles of predictive generalized linear models to high-dimensional data. Designed for extensibility, the package implements key techniques as S3 classes with user-friendly constructors, enabling easy integration and development of new procedures for high-dimensional applications. For more details see Parzer et al (2024a) <doi:10.48550/arXiv.2312.00130> and Parzer et al (2024b) <doi:10.48550/arXiv.2410.00971>.

Downloads

CRAN

270

Last 30 days

17938th

593

Last 90 days

2.3K

Last year

Trend: +88.8% (30d vs prior 30d)

r2u CRAN

0

Last 30 days

24

Last 90 days

104

Last year

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

autoCRAN

11

Last 7 days

21

Last 30 days

1

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 intelligence has not been computed for this package yet.

Code

Structure

Lines of code

8,031

Files

60

Compiled share

0%

Has compiled src

No

Language breakdown

R 3,010 (37.5%)Tests 448 (5.6%)Docs 1,743 (21.7%)Vignettes 2,830 (35.2%)

API

Exported functions

20

Internal functions

30

Recent export changes

v1.1.0+4 get_coef, get_intercept, get_measure +1 more
v1.0.0+16 constructor_randomprojection, constructor_screencoef, constructor_sparmodel +13 more

Testing & CI

Has tests

Yes

Test-to-code ratio

0.15

testthat edition

3

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

100%

\dontrun example ratio

14.3%

Roxygen coverage

100%

Has pkgdown

No

NEWS present

Yes

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

Unsafe pattern score

12

Dep constraint coverage

0%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

4.0.0

System requirements

C++ standard

License

GPL-3

License flags

SPDX valid, OSI approved

History

Versions

3

First release

2025-05-06

Latest release

2025-08-19

Avg cadence

53 days

Cold removal rate

Dep drift

1

LOC over versions

v1.0.0: 6,687 LOCv1.1.0: 7,752 LOCv1.1.1: 8,031 LOC

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

Dependency Network

Dependencies Reverse dependencies Matrix ROCR Rdpack ggplot2 rlang glmnet spareg

Version History

4 tracked
new 1.1.1 Mar 10, 2026
updated 1.1.1 ← 1.1.0 diff Aug 18, 2025
updated 1.1.0 ← 1.0.0 diff Jul 17, 2025
new 1.0.0 May 5, 2025