Skip to content

bestglm

Best Subset GLM and Regression Utilities

v0.37.3 · Mar 13, 2020 · GPL (>= 2)

Description

Best subset glm using information criteria or cross-validation, carried by using 'leaps' algorithm (Furnival and Wilson, 1974) <doi:10.2307/1267601> or complete enumeration (Morgan and Tatar, 1972) <doi:10.1080/00401706.1972.10488918>. Implements PCR and PLS using AIC/BIC. Implements one-standard deviation rule for use with the 'caret' package.

Downloads

CRAN

2.1K

Last 30 days

2716th

8.1K

Last 90 days

47.6K

Last year

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

r2u CRAN

29

Last 30 days

189

Last 90 days

591

Last year

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

autoCRAN

36

Last 7 days

280

Last 30 days

20

All-time

⚠ Shared name: this package is also shipped elsewhere on openSUSE, so this count is not exclusive to autoCRAN (it is an upper bound).

conda-forge CRAN

132

Last 30 days

457

Last 90 days

3.7K

Last year

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

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: ‘Yuanhao Lai <ylai72@uwo.ca>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: c(person(given = "A.I.",
                      family = "McLeod",
                      role = "aut"),
               person(given = "Changjiang",
                      family = "Xu",
                      role = "aut"),
               person(given = "Yuanhao",
                      family = "Lai",
                      role = c("aut", "cre"),
                      email = "ylai72@uwo.ca"))
as necessary.
NOTE r-devel-linux-x86_64-debian-gcc

CRAN incoming feasibility

Maintainer: ‘Yuanhao Lai <ylai72@uwo.ca>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: c(person(given = "A.I.",
                      family = "McLeod",
                      role = "aut"),
               person(given = "Changjiang",
                      family = "Xu",
                      role = "aut"),
               person(given = "Yuanhao",
                      family = "Lai",
                      role = c("aut", "cre"),
                      email = "ylai72@uwo.ca"))
as necessary.

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: ‘Yuanhao Lai <ylai72@uwo.ca>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: c(person(given = "A.I.",
                      family = "McLeod",
                      role = "aut"),
               person(given = 
...[truncated]...
            family = "Xu",
                      role = "aut"),
               person(given = "Yuanhao",
                      family = "Lai",
                      role = c("aut", "cre"),
                      email = "ylai72@uwo.ca"))
as necessary.
NOTE r-devel-linux-x86_64-debian-gcc

CRAN incoming feasibility

Maintainer: ‘Yuanhao Lai <ylai72@uwo.ca>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: c(person(given = "A.I.",
                      family = "McLeod",
                      role = "aut"),
               person(given = 
...[truncated]...
            family = "Xu",
                      role = "aut"),
               person(given = "Yuanhao",
                      family = "Lai",
                      role = c("aut", "cre"),
                      email = "ylai72@uwo.ca"))
as necessary.

Code

Structure

Lines of code

3,406

Files

74

Compiled share

0%

Has compiled src

No

Language breakdown

R 1,135 (33.3%)Docs 2,271 (66.7%)

API

Exported functions

26

Internal functions

0

Recent export changes

v0.37+9 oneSDRule, pcreg, print.pcreg +6 more  −1 oneSdRule
v0.36+6 trainTestPartition, glmnetGridTable, glmnetPredict +3 more

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

2.6%

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 (>= 2)

License flags

SPDX valid, OSI approved

History

Versions

13

First release

2009-08-26

Latest release

2020-03-13

Avg cadence

212 days

Cold removal rate

100%

Dep drift

8

LOC over versions

v0.10: 2,210 LOCv0.13: 2,214 LOCv0.14: 2,214 LOCv0.20: 2,138 LOCv0.30: 2,142 LOCv0.31: 2,142 LOCv0.33: 2,145 LOCv0.34: 4,019 LOCv0.35: 4,294 LOCv0.36: 4,769 LOCv0.37: 3,406 LOCv0.37.1: 3,406 LOCv0.37.3: 3,406 LOC

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

Reverse Dependencies (5)

depends

imports

Dependency Network

Dependencies Reverse dependencies leaps lattice glmnet grpreg pls regclass mplot NADA2 genridge tidyfit bestglm

Version History

14 tracked
new 0.37.3 Mar 10, 2026
updated 0.37.3 ← 0.37.1 diff Mar 12, 2020
updated 0.37.1 ← 0.37 diff Nov 11, 2019
updated 0.37 ← 0.36 diff May 26, 2018
updated 0.36 ← 0.35 diff Feb 22, 2017
updated 0.35 ← 0.34 diff Feb 5, 2017
updated 0.34 ← 0.33 diff Mar 2, 2014
updated 0.33 ← 0.31 diff Nov 2, 2011
updated 0.31 ← 0.30 diff Dec 1, 2010
updated 0.30 ← 0.20 diff Aug 28, 2010
updated 0.20 ← 0.14 diff Oct 31, 2009
updated 0.14 ← 0.13 diff Oct 18, 2009
updated 0.13 ← 0.10 diff Sep 9, 2009
new 0.10 Aug 26, 2009