Skip to content

L0Learn

2.1.0Package record

Fast Algorithms for Best Subset Selection

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

Overview

About

Highly optimized toolkit for approximately solving L0-regularized learning problems (a.k.a. best subset selection). The algorithms are based on coordinate descent and local combinatorial search. For more details, check the paper by Hazimeh and Mazumder (2020) doi:10.1287/opre.2019.1919.

Install

Health

CRAN checks
13NOTE
Check messages
NOTERd filesr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64, r-patched-linux-x86_64, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-x86_64
checkRd: (-1) GenSyntheticLogistic.Rd:46: Lost braces; missing escapes or markup?
    46 | 3) Every coordinate yi of the outcome vector y exists in {-1, 1}^n is sampled 
       |                                                          ^
checkRd: (-1) L0Learn-package.Rd:20: Lost braces in \itemize; meant \describe ?
checkRd: (-1) L0Learn-package.Rd:21: Lost braces in \itemize; meant \describe ?
checkRd: (-1) L0Learn-package.Rd:22: Lost braces in \itemize; meant \describe ?
checkRd: (-1) L0Learn-package.Rd:23: Lost braces in \itemize; meant \describe ?
checkRd: (-1) L0Learn-package.Rd:24: Lost braces in \itemize; meant \describe ?
checkRd: (-1) L0Learn-package.Rd:25: Lost braces in \itemize; meant \describe ?

CRAN check page ↗

Slowest check: 8.2 min · r-oldrel-windows-x86_64
Status changes
  • NOTE13 NOTENow
  • NOTE14 NOTE2026-04-22
  • ERROR13 NOTE, 1 ERROR2026-04-18
  • NOTE14 NOTE2026-03-10
Advisories

none known

Documentation

In release 2.1.0
READMENoVignettesYes · 1 · dynamicNEWSNoCitation fileNoWebsiteYes
Help pages
11includes a package overview page
Examples that run
100%7 run in a plain check
Exported functions with examples
100%
Documented parameters
100%
Return-value docs
100%
Help pages citing references
9%

Downloads

16.9K
CRAN downloads in the past year
Rank #2,544 · ~46/day · ~1.4K/mo
Daily download trend is not available in this view yet.
2.3K30 days
6.3K90 days
16.9K1 year
Compare downloads with other packages →
Also on633 r2u3 autocran91 c2d4u

Repository

108Stars
33Forks
4Open issues
1Open PRs
0Releases
588Commits
5Commit identities
machine-learningsparse-regressioncompressed-sensingfeature-selectionregularizationsparse-modelingl0-regularizationl0learn
588 commits · Last activity 2023-09-14 · +0.9% stars, 30d · The default branch showed an older version (2.0.5) than CRAN on 2026-10-21
Responsiveness
How these are sampled
PRs merged (all time)
96%
Median days to close, 50 most recently updated closed issues
3
Median days to close, 50 most recently updated closed PRs
0

Stars over time

2026-07-14 · 1052026-10-18 · 108
PracticesBeta

1 development-tooling and community-health practice detected across 1 family in the upstream repository

Checks run against github.com/hazimehh/l0learn on 2026-10-21.

Continuous integration (1)
Travis CI (config file)
How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
11 external dependencies (excludes base and recommended)

Installing L0Learn adds 24 packages (13 with compiled code, 28 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, Rcpp 1.8 MB.

Depends (1)
R >= 3.3.0
Imports (6)
RcppMatrixmethodsggplot2reshape2MASS
LinkingTo (2)
Enhances (0)
none
Reverse dependencies
3direct
16indirect
Imports 3
Depends, Imports or LinkingTo, most downloaded first

People & History

People (3)
Author, Maintainer since 1.0.0 (2018)
Author · added in 2.0.0
Releases (9)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • unarchivedReturned to CRAN
    2023-03-07
  • 2.1.0Latest
    record
    2023-03-07 · current release · diff ↗ ·
    removed 1 export
    GenSyntheticHighCorr
  • archivedRemoved from CRAN
    2023-02-16
    issues were not corrected in time
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • unarchivedReturned to CRAN
    2021-04-03
  • 2.0.3
    record
    2021-04-03 · diff ↗
  • archivedRemoved from CRAN
    2021-03-19
    check problems were not corrected in time
  • 2.0.0
    record
    2021-03-04 · diff ↗ ·
    added 1 export
    GenSyntheticHighCorr
  • R
    R 4.0.0 released · 2020-04-24
  • 1.2.0
    record
    2019-08-30 · diff ↗
  • R
    R 3.6.0 released · 2019-04-26
Show 6 earlier eventsHide 6 earlier events

Package metadata

First published
2018-07-01
Total releases
9 / 8 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 3.3.0
Download size
1.0 MB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("L0Learn")
Hazimeh, H., Mazumder, R., & Nonet, T. (2023). L0Learn: Fast Algorithms for Best Subset Selection (Version 2.1.0) [Computer software]. https://doi.org/10.32614/CRAN.package.L0Learn

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

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