Skip to content

sparsestep

SparseStep Regression

v1.0.1 · Jan 10, 2021 · GPL (>= 2)

Description

Implements the SparseStep model for solving regression problems with a sparsity constraint on the parameters. The SparseStep regression model was proposed in Van den Burg, Groenen, and Alfons (2017) <arXiv:1701.06967>. In the model, a regularization term is added to the regression problem which approximates the counting norm of the parameters. By iteratively improving the approximation a sparse solution to the regression problem can be obtained. In this package both the standard SparseStep algorithm is implemented as well as a path algorithm which uses golden section search to determine solutions with different values for the regularization parameter.

Downloads

CRAN

236

Last 30 days

21056th

616

Last 90 days

2.4K

Last year

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

r2u CRAN

0

Last 30 days

24

Last 90 days

95

Last year

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

autoCRAN

3

Last 7 days

9

Last 30 days

1

All-time

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

CRAN Check Status

2 NOTE
11 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang NOTE
r-devel-linux-x86_64-debian-gcc NOTE
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 details (2 non-OK)
NOTE r-devel-linux-x86_64-debian-clang

CRAN incoming feasibility

Maintainer: ‘Gertjan van den Burg <gertjanvandenburg@gmail.com>’

Package CITATION file contains call(s) to old-style personList() or
as.personList().  Please use c() on person objects instead.

The Description field contains
  <arXiv:1701.06967>. In the model, a regularization term is added to the
Please refer to arXiv e-prints via their arXiv DOI <doi:10.48550/arXiv.YYMM.NNNNN>.

The BugReports field in DESCRIPTION has
  https://github.com/GjjvdBurg/SparseStep
which should likely be
  https://github.com/GjjvdBurg/SparseStep/issues
instead.
NOTE r-devel-linux-x86_64-debian-gcc

CRAN incoming feasibility

Maintainer: ‘Gertjan van den Burg <gertjanvandenburg@gmail.com>’

Package CITATION file contains call(s) to old-style personList() or
as.personList().  Please use c() on person objects instead.

The Description field contains
  <arXiv:1701.06967>. In the model, a regularization term is added to the
Please refer to arXiv e-prints via their arXiv DOI <doi:10.48550/arXiv.YYMM.NNNNN>.

The BugReports field in DESCRIPTION has
  https://github.com/GjjvdBurg/SparseStep
which should likely be
  https://github.com/GjjvdBurg/SparseStep/issues
instead.

Check History

NOTE 12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
NOTE r-devel-linux-x86_64-debian-clang

CRAN incoming feasibility

Maintainer: ‘Gertjan van den Burg <gertjanvandenburg@gmail.com>’

Package CITATION file contains call(s) to old-style personList() or
as.personList().  Please use c() on person objects instead.

The Description field contains
  <arXiv:1701.06967>. In
...[truncated]...
he
Please refer to arXiv e-prints via their arXiv DOI <doi:10.48550/arXiv.YYMM.NNNNN>.

The BugReports field in DESCRIPTION has
  https://github.com/GjjvdBurg/SparseStep
which should likely be
  https://github.com/GjjvdBurg/SparseStep/issues
instead.
NOTE r-devel-linux-x86_64-debian-gcc

CRAN incoming feasibility

Maintainer: ‘Gertjan van den Burg <gertjanvandenburg@gmail.com>’

Package CITATION file contains call(s) to old-style personList() or
as.personList().  Please use c() on person objects instead.

The Description field contains
  <arXiv:1701.06967>. In
...[truncated]...
he
Please refer to arXiv e-prints via their arXiv DOI <doi:10.48550/arXiv.YYMM.NNNNN>.

The BugReports field in DESCRIPTION has
  https://github.com/GjjvdBurg/SparseStep
which should likely be
  https://github.com/GjjvdBurg/SparseStep/issues
instead.

Code

Structure

Lines of code

1,088

Files

22

Compiled share

0%

Has compiled src

No

Language breakdown

R 654 (60.1%)Docs 434 (39.9%)

API

Exported functions

2

Internal functions

9

Recent export changes

v1.0.0+2 path.sparsestep, sparsestep

Testing & CI

Has tests

No

Test-to-code ratio

0.00

testthat edition

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

100%

\dontrun example ratio

0%

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

50%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

3.0.0

System requirements

C++ standard

License

GPL (>= 2)

License flags

SPDX valid, OSI approved

History

Versions

2

First release

2017-01-27

Latest release

2021-01-10

Avg cadence

1444 days

Cold removal rate

Dep drift

0

LOC over versions

v1.0.0: 1,059 LOCv1.0.1: 1,088 LOC

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

Dependency Network

Dependencies Reverse dependencies Matrix sparsestep

Version History

3 tracked
new 1.0.1 Mar 10, 2026
updated 1.0.1 ← 1.0.0 diff Jan 9, 2021
new 1.0.0 Jan 26, 2017