Skip to content

glmmTMB

1.1.15.2Package record

Generalized Linear Mixed Models using Template Model Builder

24packages dependsuggested by 74
599.3Kdownloads / year
–test coverage
13/13flavors OK

Overview

About

Fit linear and generalized linear mixed models with various extensions, including zero-inflation. The models are fitted using maximum likelihood estimation via 'TMB' (Template Model Builder). Random effects are assumed to be Gaussian on the scale of the linear predictor and are integrated out using the Laplace approximation. Gradients are calculated using automatic differentiation.

Install

Health

CRAN checks
13OK
Slowest check: 16.9 min · r-release-linux-x86_64
Status changes
  • OK13 OK2026-10-03
  • NOTE10 OK, 3 NOTE2026-07-16
  • OK13 OK2026-06-09
  • ERROR12 OK, 1 ERROR2026-06-08
  • OK12 OK2026-04-25
Show 1 earlier changeHide 1 earlier change
  • NOTE11 OK, 3 NOTE2026-03-10
Advisories

none known

Documentation

In release 1.1.15.2
READMENoVignettesYes · 10 · evaluation depends on the environmentNEWSYes · does not mention 1.1.15.2Citation fileYes · cites a publication
Cites a JSS articleCites an R Journal article
Help pages
62 (8 internal)
Examples that run
93%27 run in a plain check (2 of them under a condition) · 2 only when donttest examples are enabled (R CMD check --as-cran)
Exported functions with examples
62%
Documented parameters
97%
Return-value docs
62%
Help pages citing references
18%

Downloads

599.3K
CRAN downloads in the past year
Rank #491 · ~1.6K/day · ~49.9K/mo
Daily download trend is not available in this view yet.
53.6K30 days
151.8K90 days
599.3K1 year
Compare downloads with other packages →
Also on6.7K r2u62 autocran18.6K conda_forge250 c2d4u

Repository

389Stars
79Forks
227Open issues
15Open PRs
0Releases
3,451Commits
40Commit identities
3,451 commits · Last activity 2026-10-12 · +1.6% stars, 30d · Discussions: 6 posts
Responsiveness
How these are sampled
PRs merged (all time)
95%
Median days to close, 50 most recently updated closed issues
17
Median days to close, 50 most recently updated closed PRs
6

Stars over time

2025-10-23 · 3392026-10-22 · 389
PracticesBeta

4 development-tooling and community-health practices detected across 3 families in the upstream repository

Checks run against github.com/glmmtmb/glmmtmb on 2026-10-21.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Docs source (1)

GitHub Pages site last deployed 2026-10-12

Reproducibility and dev environment (1)
Makefile
How this is detected·Detection ruleset v4 (2026-10-20)
AI coding toolsBeta

This repository shows signs of AI coding tools.

  • Claude Codefirst seen 2026-05-16
    Commits: at least 34 crediting it in the message
  • GitHub Copilotfirst seen 2026-05-17
    Pull request: opened by its own account
    Commits: 3 by its own account
From outside contributors
  • Claude Code
    Pull requests: 3 from outside contributors, first on 2026-07-16, 2 from forks
Models named in its commits
  • Claude Sonnet 513 commits · Jul to Sep 2026
  • Claude Sonnet 4.69 commits · May 2026
  • Claude Fable 56 commits · Jul 2026
  • Claude Opus 54 commits · Aug 2026
  • Claude Opus 4.82 commits · Jul 2026
Counts are commits, not lines of code. Commits by a tool's accounts count once across all of its accounts. Commits crediting it are the largest count among its credit lines, a minimum.How this is detected·Detection ruleset v4 (updated 2026-09-27)

Dependencies

Declared dependencies
43 external dependencies (excludes base and recommended)

Installing glmmTMB adds 56 packages (32 with compiled code, 55 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, doBy 4.3 MB.

Depends (1)
R >= 3.6.0
Imports (11)
LinkingTo (2)
Enhances (0)
none

Datasets

People & History

People (25)
Author, Maintainer since 1.1.2.3 (2021)
Author
Author
Contributor · added in 1.1.10
Contributor · added in 1.1.11
Contributor · added in 1.1.15.2
Contributor · added in 1.1.1
Contributor · added in 1.1.3
Contributor · added in 1.1.12
Contributor · added in 1.0.0
Contributor · added in 1.0.0
Show 8 more contributorsHide 8 contributors
Contributor · added in 1.1.1
Contributor · added in 1.0.1
Contributor · added in 1.1.15.2
Contributor · added in 1.1.12
Contributor · added in 0.2.3
Contributor · added in 1.1.5
Contributor · added in 1.1.4
Contributor · added in 1.1.14

Previously maintained by Ben Bolker (1.1.2 to 1.1.2.2) and Mollie Brooks (0.1.1 to 1.1.1).

Releases (26)

Pick two releases to compare their code metrics.

  • 1.1.15.2Latest
    record
    2026-09-29 · current release · diff ↗ ·
    added 11 exports
    combinomial, dbell, dcombinom, dgenpois, isGLMM, ordinal, pbell, pcombinom, pgenpois, rgenpois, useRTMB
  • R
    R 4.6.0 released · 2026-04-24
  • 1.1.14
    record
    2026-01-15 · diff ↗ ·
    removed 3 exports
    format_corr, format_sdvar, get_sd
  • 1.1.13
    record
    2025-10-09 · diff ↗ ·
    added 2 exports
    dof_KR, dof_satt
  • 1.1.12
    record
    2025-08-18 · diff ↗ ·
    added 9 exports
    bread, estfun, format_corr, format_sdvar, getGroups, get_sd, meatHC, sandwich, vcovHC
  • R
    R 4.5.0 released · 2025-04-11
  • 1.1.11
    record
    2025-04-03 · diff ↗
  • 1.1.10
    record
    2024-09-27 · diff ↗ ·
    removed 18 exports
    RHSForm<-, RHSForm, addForm, addForm0, checkDepPackageVersion, drop.special, dropHead, expandAllGrpVar, expandDoubleVert, extractForm, findbars_x, inForm, noSpecials, reOnly, replaceForm, splitForm, sub_specials, sumTerms
    added 4 exports
    bell, nbinom12, set_simcodes, skewnormal
  • R
    R 4.4.0 released · 2024-04-24
  • 1.1.9
    record
    2024-03-20 · diff ↗ ·
    removed 3 exports
    Anova.glmmTMB, modelparm.glmmTMB, Effect.glmmTMB
  • 1.1.8
    record
    2023-10-07 · diff ↗ ·
    added 3 exports
    finalizeTMB, lognormal, sub_specials
  • R
    R 4.3.0 released · 2023-04-21
  • 1.1.7
    record
    2023-04-05 · diff ↗
  • 1.1.6
    record
    2023-03-19 · diff ↗ ·
    added 2 exports
    put_cor, simulate_new
  • 1.1.5
    record
    2022-11-16 · diff ↗ ·
    added 3 exports
    family_params, ordbeta, t_family
  • 1.1.4
    record
    2022-07-12 · diff ↗ ·
    added 1 export
    checkDepPackageVersion
Show 23 earlier eventsHide 23 earlier events
  • R
    R 4.2.0 released · 2022-04-22
  • 1.1.3
    record
    2022-03-14 · diff ↗
  • 1.1.2.3
    record
    2021-09-20 · diff ↗ ·
    added 15 exports
    RHSForm<-, RHSForm, addForm0, drop.special, dtruncated_nbinom1, dtruncated_nbinom2, dtruncated_poisson, expandAllGrpVar, expandDoubleVert, findbars_x, gt_load, reOnly, replaceForm, sumTerms, up2date
  • 1.1.2.2
    record
    2021-09-02 · diff ↗
  • unarchivedReturned to CRAN
    2021-07-20
  • 1.1.2
    record
    2021-07-20 · diff ↗
  • archivedRemoved from CRAN
    2021-07-10
    repeated problems were not corrected in time Failed on install on Solaris, check failure on ATLAS
  • 1.1.1
    record
    2021-06-24 · diff ↗ ·
    added 2 exports
    diagnose, omp_check
  • R
    R 4.1.0 released · 2021-05-18
  • 1.0.2.1
    record
    2020-07-02 · diff ↗ ·
    added 3 exports
    fitTMB, refit, modelparm.glmmTMB
  • R
    R 4.0.0 released · 2020-04-24
  • 1.0.1
    record
    2020-03-15 · diff ↗
  • 1.0.0
    record
    2020-02-03 · diff ↗ ·
    removed 3 exports
    tmbroot, emm_basis.glmmTMB, recover_data.glmmTMB
    added 1 export
    ziGamma
  • R
    R 3.6.0 released · 2019-04-26
  • 0.2.3
    record
    2019-01-11 · diff ↗ ·
    added 5 exports
    get_cor, Anova.glmmTMB, Effect.glmmTMB, emm_basis.glmmTMB, recover_data.glmmTMB
  • 0.2.2.0
    record
    2018-07-03 · diff ↗
  • 0.2.1.0
    record
    2018-05-11 · diff ↗ ·
    removed 1 export
    betar
    added 7 exports
    beta_family, dropHead, extractForm, inForm, tmbroot, truncated_compois, truncated_genpois
  • R
    R 3.5.0 released · 2018-04-23
  • 0.2.0
    record
    2017-12-11 · diff ↗
  • 0.1.4
    record
    2017-10-26 · diff ↗ ·
    added 7 exports
    betabinomial, betar, glmmTMBControl, truncated_nbinom1, truncated_nbinom2, truncated_poisson, tweedie
  • R
    R 3.4.0 released · 2017-04-21
  • 0.1.1
    record
    2017-02-20
  • R
    R 3.3.0 released · 2016-05-03

Package metadata

First published
2017-02-20
Total releases
26 / 9 yrs
License
AGPL-3 OSI
Minimum R
≥ 3.6.0
Bundled data
12 KB / 4 files
Download size
5.2 MB

Cite

Cite this package

Run in R for the authors' entry:

citation("glmmTMB")

The package provides a citation file, so citation() returns the authors' own entry.

It points to 10.32614/rj-2017-066, 10.18637/jss.v112.i01.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for glmmTMB version 1.1.15.2 [Data set]. HJJB, LLC. Data release v2026-10-23. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-23, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy