Skip to content

TMB

1.9.22

Template Model Builder: A General Random Effect Tool Inspired by 'ADMB'

60packages depend
608Kdownloads / year
test coverage
13/13checks pass

Overview

About
Maintained by Kasper KristensenFirst published 2015-10-1550 releasesCRAN page ↗GitHub ↗

With this tool, a user should be able to quickly implement complex random effect models through simple C++ templates. The package combines 'CppAD' (C++ automatic differentiation), 'Eigen' (templated matrix-vector library) and 'CHOLMOD' (sparse matrix routines available from R) to obtain an efficient implementation of the applied Laplace approximation with exact derivatives. Key features are: Automatic sparseness detection, parallelism through 'BLAS' and parallel user templates.

Install

Health

CRAN checks
13OK
Slowest check: 2.4 min · r-release-macos-x86_64
Code health
None
Tests · ratio 0.00
not tracked
Coverage
100%
Documentation · exports
5
Dependencies · direct
Check history
  • OK2026-04-25
    12 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-03-10
    11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMENoVignettesNopkgdown siteNoNEWSYes · 33% structuredCode of conductNoContributing guideNo
Examples that run
25%
Documented parameters
96%
Return-value docs
57%
References docs
0%

Downloads

608K
CRAN downloads in the past year
Rank #502 · ~1.7K/day · ~50.7K/mo
Daily download trend is not available in this view yet.
48.6K30 days
159K90 days
608K1 year
Compare downloads with other packages →
Also on7.9K r2u168 autocran24.6K conda_forge124 c2d4u

Repository

Repository
193Stars
90Forks
70Open issues
4Open PRs
20Releases
1,572Commits
34Contributors
1,572 commits · Last activity 2026-07-21 · 0% stars, 30d

Stars over time

2025-07-15 · 1872026-07-07 · 193

Repository practices

Upstream repositoryBeta

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

Checks run against github.com/kaskr/adcomp on 2026-07-19.

Continuous integration (1)
Travis CI
Reproducibility and dev environment (1)
Makefile
Governance and community (1)
Issue templates
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
2 external dependencies (excludes base and recommended)
Depends (1)
R >= 3.0.0
Imports (5)
graphicsmethodsstatsutilsMatrix
LinkingTo (2)
MatrixRcppEigen
Suggests (2)
numDerivparallel
Enhances (0)
none

Code & Tests

Code Composition
R 5,258 (62%)Rd 1,669 (20%)C++ 997 (12%)C 597 (7%)
Code characteristics
Object systems
S39
Cyclomatic complexity
2.0 median / 128 max

Test coverage

Line coverage

Expression

Tests / Examples

Functions

154 30 exported

Complexity

7.2 avg / 128 max

Call network

154 nodes / 142 edges

Loading call graph…

Lowest coverage

Per-function coverage is not measured for this package yet.

People & History

People (12)
Maintainer (1)
Author, Maintainer, Copyright holder
Authors (1)
Author, Maintainer, Copyright holder
Contributors (10)
Contributor · added in 1.6.2
Contributor · added in 1.6.2
Contributor · added in 1.7.6
Contributor · added in 1.6.2
Contributor · added in 1.6.2
Contributor · added in 1.6.2
Contributor · added in 1.7.9
Contributor · added in 1.6.5
Show 2 more contributors
Contributor · added in 1.6.2
Contributor · added in 1.6.2
Copyright holders (2)
Author, Maintainer, Copyright holder
Copyright holder · added in 1.6.2
Package Timeline

50 releases. Pick two to compare their code metrics. R releases are shown for context.

  • 1.9.22Latest
    2026-07-21 · current release · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • 1.9.21
    2026-03-23 · diff ↗
  • 1.9.20
    2026-03-17 · diff ↗
  • 1.9.19
    2025-12-15 · diff ↗
  • 1.9.18
    2025-10-13 · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 1.9.17
    2025-03-10 · diff ↗
  • 1.9.16
    2025-01-08 · diff ↗
  • 1.9.15
    2024-09-09 · diff ↗
  • 1.9.14
    2024-07-03 · diff ↗
  • 1.9.13
    2024-06-28 · diff ↗
  • 1.9.12
    2024-06-20 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 1.9.11
    2024-04-03 · diff ↗
  • 1.9.10
    2023-12-12 · diff ↗
Show 46 earlier events
  • 1.9.9
    2023-11-28 · diff ↗
  • 1.9.8
    2023-11-27 · diff ↗
  • 1.9.7
    2023-11-22 · diff ↗
  • 1.9.6
    2023-08-11 · diff ↗
  • 1.9.5
    2023-07-18 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 1.9.4
    2023-04-18 · diff ↗
  • 1.9.3
    2023-03-28 · diff ↗
  • 1.9.2
    2023-01-23 · diff ↗
  • 1.9.1
    2022-08-16 · diff ↗
  • 1.9.0
    2022-05-27 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 1.8.1
    2022-03-23 · diff ↗
  • 1.8.0
    2022-03-07 · diff ↗
  • 1.7.22
    2021-09-28 · diff ↗
  • 1.7.21
    2021-09-06 · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • 1.7.20
    2021-04-08 · diff ↗
  • 1.7.19
    2021-02-05 · diff ↗
  • 1.7.18
    2020-07-27 · diff ↗
  • 1.7.17
    2020-07-23 · diff ↗
  • R
    R 4.0.0 released · 2020-04-24
  • 1.7.16
    2020-01-15 · diff ↗
  • R
    R 3.6.0 released · 2019-04-26
  • 1.7.15
    2018-11-09 · diff ↗
  • 1.7.14
    2018-06-23 · diff ↗
  • R
    R 3.5.0 released · 2018-04-23
  • 1.7.13
    2018-03-22 · diff ↗
  • 1.7.12
    2017-12-11 · diff ↗
  • 1.7.11
    2017-08-09 · diff ↗
  • 1.7.10
    2017-05-05 · diff ↗
  • R
    R 3.4.0 released · 2017-04-21
  • 1.7.9
    2017-04-12 · diff ↗
  • 1.7.8
    2017-02-09 · diff ↗
  • 1.7.7
    2017-02-01 · diff ↗
  • 1.7.6
    2017-01-16 · diff ↗
  • 1.7.5
    2016-11-21 · diff ↗
  • 1.7.4
    2016-09-21 · diff ↗
  • 1.7.2
    2016-08-09 · diff ↗
  • R
    R 3.3.0 released · 2016-05-03
  • 1.7.0
    2016-03-25 · diff ↗
  • 1.6.6
    2016-01-30 · diff ↗
  • 1.6.5
    2015-12-03 · diff ↗
  • 1.6.2
    2015-10-19 · diff ↗
  • 1.6.1
    2015-10-15
  • R
    R 3.2.0 released · 2015-04-16

Package metadata

First published
2015-10-15
Total releases
50 / 11 yrs
License
GPL-2 OSI
Minimum R
≥ 3.0.0
Download size
750 KB
Installed size
not tracked yet
With dependencies
not tracked yet
Report a problem with this page →