Skip to content

galamm

Generalized Additive Latent and Mixed Models

v0.4.0 · Dec 21, 2025 · GPL (>= 3)

Description

Estimates generalized additive latent and mixed models using maximum marginal likelihood, as defined in Sorensen et al. (2023) <doi:10.1007/s11336-023-09910-z>, which is an extension of Rabe-Hesketh and Skrondal (2004)'s unifying framework for multilevel latent variable modeling <doi:10.1007/BF02295939>. Efficient computation is done using sparse matrix methods, Laplace approximation, and automatic differentiation. The framework includes generalized multilevel models with heteroscedastic residuals, mixed response types, factor loadings, smoothing splines, crossed random effects, and combinations thereof. Syntax for model formulation is close to 'lme4' (Bates et al. (2015) <doi:10.18637/jss.v067.i01>) and 'PLmixed' (Rockwood and Jeon (2019) <doi:10.1080/00273171.2018.1516541>).

Downloads

CRAN

640

Last 30 days

5340th

1.9K

Last 90 days

6.8K

Last year

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

r2u CRAN

31

Last 30 days

138

Last 90 days

547

Last year

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

autoCRAN

0

Last 7 days

11

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 12 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 25, 2026
NOTE 11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 22, 2026
NOTE r-oldrel-macos-arm64

installed package size

installed size is 26.1Mb
  sub-directories of 1Mb or more:
    doc    3.0Mb
    libs  21.5Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is 26.8Mb
  sub-directories of 1Mb or more:
    doc    3.0Mb
    libs  22.2Mb
NOTE r-oldrel-windows-x86_64

installed package size

installed size is  5.8Mb
  sub-directories of 1Mb or more:
    doc    3.0Mb
    libs   1.3Mb
ERROR 10 OK · 3 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/galamm.Rcheck/00install.out' for details.
NOTE r-oldrel-macos-arm64

installed package size

installed size is 26.1Mb
  sub-directories of 1Mb or more:
    doc    3.0Mb
    libs  21.5Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is 26.8Mb
  sub-directories of 1Mb or more:
    doc    3.0Mb
    libs  22.2Mb
NOTE r-oldrel-windows-x86_64

installed package size

installed size is  5.8Mb
  sub-directories of 1Mb or more:
    doc    3.0Mb
    libs   1.3Mb
NOTE 11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
NOTE r-oldrel-macos-arm64

installed package size

installed size is 26.1Mb
  sub-directories of 1Mb or more:
    doc    3.0Mb
    libs  21.5Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is 26.8Mb
  sub-directories of 1Mb or more:
    doc    3.0Mb
    libs  22.2Mb
NOTE r-oldrel-windows-x86_64

installed package size

installed size is  5.8Mb
  sub-directories of 1Mb or more:
    doc    3.0Mb
    libs   1.3Mb

Code

Structure

Lines of code

16,986

Files

228

Compiled share

7%

Has compiled src

Yes

Language breakdown

R 5,074 (29.9%)C/C++/src 1,187 (7%)Tests 3,429 (20.2%)Docs 2,987 (17.6%)Vignettes 4,309 (25.4%)

API

Exported functions

18

Internal functions

55

Recent export changes

v0.4.0+4 appraise, derivatives, draw +1 more
v0.3.0+1 gfam

Testing & CI

Has tests

Yes

Test-to-code ratio

0.68

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

No

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

Unsafe pattern score

30

Dep constraint coverage

0%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

3.5.0

System requirements

1

C++ standard

C++17

License

GPL (>= 3)

License flags

SPDX valid, OSI approved

History

Versions

8

First release

2023-10-09

Latest release

2025-12-21

Avg cadence

133 days

Cold removal rate

Dep drift

5

LOC over versions

v0.1.0: 12,462 LOCv0.1.1: 12,887 LOCv0.2.0: 15,849 LOCv0.2.1: 15,849 LOCv0.2.2: 16,122 LOCv0.2.3: 16,199 LOCv0.3.0: 15,982 LOCv0.4.0: 16,986 LOC

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

Dependency Network

Dependencies Reverse dependencies gratia lattice lme4 Matrix memoise mgcv nlme Rcpp Rdpack reformulas galamm

Version History

9 tracked
new 0.4.0 Mar 10, 2026
updated 0.4.0 ← 0.3.0 diff Dec 20, 2025
updated 0.3.0 ← 0.2.3 diff Nov 25, 2025
updated 0.2.3 ← 0.2.2 diff Jul 2, 2025
updated 0.2.2 ← 0.2.1 diff May 10, 2025
updated 0.2.1 ← 0.2.0 diff Aug 17, 2024
updated 0.2.0 ← 0.1.1 diff Apr 7, 2024
updated 0.1.1 ← 0.1.0 diff Oct 12, 2023
new 0.1.0 Oct 8, 2023