Skip to content

glmmsel

Generalised Linear Mixed Model Selection

v1.0.3 · Jun 26, 2025 · GPL-3

Description

Provides tools for fitting sparse generalised linear mixed models with l0 regularisation. Selects fixed and random effects under the hierarchy constraint that fixed effects must precede random effects. Uses coordinate descent and local search algorithms to rapidly deliver near-optimal estimates. Gaussian and binomial response families are currently supported. For more details see Thompson, Wand, and Wang (2025) <doi:10.48550/arXiv.2506.20425>.

Downloads

CRAN

293

Last 30 days

16091st

673

Last 90 days

2.4K

Last year

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

r2u CRAN

31

Last 30 days

123

Last 90 days

422

Last year

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

autoCRAN

2

Last 7 days

18

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 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 22, 2026
ERROR 13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Apr 18, 2026
ERROR r-devel-windows-x86_64

whether package can be installed

Installation failed.
See 'd:/Rcompile/CRANpkg/local/4.6/glmmsel.Rcheck/00install.out' for details.
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 30, 2026
ERROR 13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Mar 10, 2026
ERROR r-devel-macos-arm64

tests

Running ‘testthat.R’ [14s/14s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > # This file is part of the standard setup for testthat.
  > # It is recommended that you do not modify it.
  > #
  > # Where should you do additional 
...[truncated]...
.   ├─nlme::lme(...)
   5.   └─nlme::lme.formula(...)
   6.     └─nlme:::lmeApVar(...)
   7.       ├─base::solve(-val)
   8.       └─base::solve.default(-val)
  
  [ FAIL 1 | WARN 4 | SKIP 0 | PASS 103 ]
  Error:
  ! Test failures.
  Execution halted

Code

Structure

Lines of code

3,446

Files

50

Compiled share

33.9%

Has compiled src

Yes

Language breakdown

R 766 (22.2%)C/C++/src 1,168 (33.9%)Tests 853 (24.8%)Docs 531 (15.4%)Vignettes 128 (3.7%)

API

Exported functions

4

Internal functions

1

Recent export changes

v1.0.2+4 cv.glmmsel, fixef, glmmsel +1 more

Testing & CI

Has tests

Yes

Test-to-code ratio

1.11

testthat edition

3

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

0%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

4.1.0

System requirements

C++ standard

License

GPL-3

License flags

SPDX valid, OSI approved

History

Versions

2

First release

2025-05-29

Latest release

2025-06-26

Avg cadence

28 days

Cold removal rate

Dep drift

0

LOC over versions

v1.0.2: 3,408 LOCv1.0.3: 3,446 LOC

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

Dependency Network

Dependencies Reverse dependencies ggplot2 Rcpp glmmsel

Version History

3 tracked
new 1.0.3 Mar 10, 2026
updated 1.0.3 ← 1.0.2 diff Jun 25, 2025
new 1.0.2 May 28, 2025