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

227

Last 30 days

14002nd

227

Last 90 days

227

Last year

CRAN Check Status

1 ERROR
13 OK
Show all 14 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-macos-arm64 ERROR
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 (14 non-OK)
OK 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

*


            
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 test configuration?
  > # Learn more about the roles of various files in:
  > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
  > # * https://testthat.r-lib.org/articles/special-files.html
  > 
  > library(testthat)
  > library(glmmsel)
  > 
  > test_check("glmmsel")
  iteration 1
  iteration 2
  iteration 3
  iteration 4
  iteration 1
  iteration 2
  iteration 3
  iteration 4
  iteration 1
  iteration 2
  iteration 3
  iteration 4
  iteration 1
  iteration 2
  iteration 3
  iteration 1
  iteration 1
  iteration 2
  iteration 3
  iteration 4
  iteration 1
  iteration 2
  iteration 3
  iteration 4
  iteration 5
  iteration 1
  iteration 2
  iteration 3
  iteration 4
  iteration 5
  Saving _problems/test_binomial-307.R
  boundary (singular) fit: see help('isSingular')
  boundary (singular) fit: see help('isSingular')
  boundary (singular) fit: see help('isSingular')
  boundary (singular) fit: see help('isSingular')
  boundary (singular) fit: see help('isSingular')
  boundary (singular) fit: see help('isSingular')
  boundary (singular) fit: see help('isSingular')
  boundary (singular) fit: see help('isSingular')
  boundary (singular) fit: see help('isSingular')
  boundary (singular) fit: see help('isSingular')
  [ FAIL 1 | WARN 4 | SKIP 0 | PASS 103 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_binomial.R:306:3'): cross-validation works correctly ───────────
  Error in `solve.default(-val)`: Lapack routine dgesv: system is exactly singular: U[3,3] = 0
  Backtrace:
      ▆
   1. └─MASS::glmmPQL(...) at test_binomial.R:306:3
   2.   ├─base::eval(mcall)
   3.   │ └─base::eval(mcall)
   4.   ├─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
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

*


            

Check History

ERROR 13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Mar 9, 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 test configuration?
  > # Learn more about the roles of various files in:
  > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
  > # * https://testthat.r-lib.org/articles/special-files.html
  > 
  > library(testthat)
  > library(

Dependency Network

Dependencies Reverse dependencies ggplot2 Rcpp glmmsel

Version History

new 1.0.3 Mar 10, 2026