Skip to content

l0ara

Sparse Generalized Linear Model with L0 Approximation for Feature Selection

v0.1.7 · Apr 27, 2026 · GPL-2

Description

Fits sparse generalized linear models using an adaptive ridge approximation to an L0 penalty. Supported model families include Gaussian, logistic, Poisson, gamma, and inverse Gaussian regression. The package also provides cross-validation for selecting the penalty parameter.

Downloads

CRAN

492

Last 30 days

8226th

1.3K

Last 90 days

3K

Last year

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

r2u CRAN

24

Last 30 days

125

Last 90 days

404

Last year

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

autoCRAN

2

Last 7 days

22

Last 30 days

0

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 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 9, 2026
WARNING 12 OK · 0 NOTE · 1 WARNING · 0 ERROR · 0 FAILURE Jun 8, 2026
WARNING r-devel-linux-x86_64-debian-gcc

for code/documentation mismatches

Fatal error: cannot create 'R_TempDir'
OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 29, 2026
NOTE 9 OK · 5 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 22, 2026
NOTE r-devel-linux-x86_64-debian-clang

CRAN incoming feasibility

Maintainer: ‘Wenchuan Guo <wguo007@ucr.edu>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: c(person(given = "Wenchuan",
                      family = "Guo",
                      role = c("aut", "cre"),
                 
...[truncated]...
edu"),
               person(given = "Shujie",
                      family = "Ma",
                      role = "aut"),
               person(given = "Zhenqiu",
                      family = "Liu",
                      role = "aut"))
as necessary.
NOTE r-devel-linux-x86_64-debian-gcc

CRAN incoming feasibility

Maintainer: ‘Wenchuan Guo <wguo007@ucr.edu>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: c(person(given = "Wenchuan",
                      family = "Guo",
                      role = c("aut", "cre"),
                 
...[truncated]...
edu"),
               person(given = "Shujie",
                      family = "Ma",
                      role = "aut"),
               person(given = "Zhenqiu",
                      family = "Liu",
                      role = "aut"))
as necessary.
NOTE r-oldrel-macos-arm64

LazyData

'LazyData' is specified without a 'data' directory
NOTE r-oldrel-macos-x86_64

LazyData

'LazyData' is specified without a 'data' directory
NOTE r-oldrel-windows-x86_64

LazyData

'LazyData' is specified without a 'data' directory
ERROR 8 OK · 5 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Apr 18, 2026
NOTE r-devel-linux-x86_64-debian-clang

CRAN incoming feasibility

Maintainer: ‘Wenchuan Guo <wguo007@ucr.edu>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: c(person(given = "Wenchuan",
                      family = "Guo",
                      role = c("aut", "cre"),
                 
...[truncated]...
edu"),
               person(given = "Shujie",
                      family = "Ma",
                      role = "aut"),
               person(given = "Zhenqiu",
                      family = "Liu",
                      role = "aut"))
as necessary.
NOTE r-devel-linux-x86_64-debian-gcc

CRAN incoming feasibility

Maintainer: ‘Wenchuan Guo <wguo007@ucr.edu>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: c(person(given = "Wenchuan",
                      family = "Guo",
                      role = c("aut", "cre"),
                 
...[truncated]...
edu"),
               person(given = "Shujie",
                      family = "Ma",
                      role = "aut"),
               person(given = "Zhenqiu",
                      family = "Liu",
                      role = "aut"))
as necessary.
ERROR r-devel-windows-x86_64

whether package can be installed

Installation failed.
See 'd:/Rcompile/CRANpkg/local/4.6/l0ara.Rcheck/00install.out' for details.
NOTE r-oldrel-macos-arm64

LazyData

'LazyData' is specified without a 'data' directory
NOTE r-oldrel-macos-x86_64

LazyData

'LazyData' is specified without a 'data' directory
NOTE r-oldrel-windows-x86_64

LazyData

'LazyData' is specified without a 'data' directory
NOTE 9 OK · 5 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
NOTE r-devel-linux-x86_64-debian-clang

CRAN incoming feasibility

Maintainer: ‘Wenchuan Guo <wguo007@ucr.edu>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: c(person(given = "Wenchuan",
                      family = "Guo",
                      role = c("aut", "cre"),
                 
...[truncated]...
edu"),
               person(given = "Shujie",
                      family = "Ma",
                      role = "aut"),
               person(given = "Zhenqiu",
                      family = "Liu",
                      role = "aut"))
as necessary.
NOTE r-devel-linux-x86_64-debian-gcc

CRAN incoming feasibility

Maintainer: ‘Wenchuan Guo <wguo007@ucr.edu>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: c(person(given = "Wenchuan",
                      family = "Guo",
                      role = c("aut", "cre"),
                 
...[truncated]...
edu"),
               person(given = "Shujie",
                      family = "Ma",
                      role = "aut"),
               person(given = "Zhenqiu",
                      family = "Liu",
                      role = "aut"))
as necessary.
NOTE r-oldrel-macos-arm64

LazyData

'LazyData' is specified without a 'data' directory
NOTE r-oldrel-macos-x86_64

LazyData

'LazyData' is specified without a 'data' directory
NOTE r-oldrel-windows-x86_64

LazyData

'LazyData' is specified without a 'data' directory

Code

Structure

Lines of code

1,136

Files

23

Compiled share

11.5%

Has compiled src

Yes

Language breakdown

R 597 (52.6%)C/C++/src 131 (11.5%)Docs 408 (35.9%)

API

Exported functions

2

Internal functions

18

Recent export changes

v0.1.2+2 cv.l0ara, l0ara

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

0%

Unsafe pattern score

0

Dep constraint coverage

100%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

System requirements

C++ standard

License

GPL-2

License flags

SPDX valid, OSI approved

History

Versions

5

First release

2016-07-27

Latest release

2026-04-27

Avg cadence

640 days

Cold removal rate

Dep drift

0

LOC over versions

v0.1.2: 798 LOCv0.1.3: 844 LOCv0.1.5: 874 LOCv0.1.6: 874 LOCv0.1.7: 1,136 LOC

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

Dependency Network

Dependencies Reverse dependencies Rcpp l0ara

Version History

6 tracked
updated 0.1.7 ← 0.1.6 diff Apr 27, 2026
new 0.1.6 Mar 10, 2026
updated 0.1.6 ← 0.1.5 diff Feb 5, 2020
updated 0.1.5 ← 0.1.3 diff Jul 23, 2017
updated 0.1.3 ← 0.1.2 diff Aug 4, 2016
new 0.1.2 Jul 26, 2016