Skip to content

RTMB

1.9

'R' Bindings for 'TMB'

13packages depend
17.9Kdownloads / year
46.9%test coverage
13/13checks pass

Overview

About
Maintained by Kasper KristensenFirst published 2023-08-108 releasesCRAN page ↗GitHub ↗

Native 'R' interface to 'TMB' (Template Model Builder) so models can be written entirely in 'R' rather than 'C++'. Automatic differentiation, to any order, is available for a rich subset of 'R' features, including linear algebra for dense and sparse matrices, complex arithmetic, Fast Fourier Transform, probability distributions and special functions. 'RTMB' provides easy access to model fitting and validation following the principles of Kristensen, K., Nielsen, A., Berg, C. W., Skaug, H., & Bell, B. M. (2016) DOI:10.18637/jss.v070.i05 and Thygesen, U.H., Albertsen, C.M., Berg, C.W. et al. (2017) DOI:10.1007/s10651-017-0372-4.

Install

Health

CRAN checks
13OK
Slowest check: 21.1 min · r-oldrel-windows-x86_64
Code health
Yes
Tests · ratio 0.00
46.9%
Coverage · measured lines
56%
Documentation · exports
5
Dependencies · direct
Check history
  • OK2026-08-05
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-07-22
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-04-25
    11 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • WARNING2026-04-22
    11 OK · 0 NOTE · 3 WARNING · 0 ERROR · 0 FAILURE
Show 3 earlier snapshots
  • ERROR2026-04-18
    10 OK · 0 NOTE · 3 WARNING · 1 ERROR · 0 FAILURE
  • WARNING2026-03-25
    11 OK · 0 NOTE · 3 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-03-10
    5 OK · 3 NOTE · 0 WARNING · 6 ERROR · 0 FAILURE

Documentation

Documentation
READMENoVignettesYes · dynamicpkgdown siteNoNEWSYes · 33% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
87%
Return-value docs
93%
References docs
5%

Downloads

17.9K
CRAN downloads in the past year
Rank #2,948 · ~49/day · ~1.5K/mo
Daily download trend is not available in this view yet.
1.3K30 days
4.7K90 days
17.9K1 year
Compare downloads with other packages →
Also on735 r2u20 autocran

Repository

Repository
80Stars
12Forks
5Open issues
0Open PRs
0Releases
770Commits
7Contributors
770 commits · Last activity 2026-08-03 · 0% stars, 30d

Stars over time

2025-07-24 · 672026-07-07 · 80

Repository practices

Upstream repositoryBeta

1 development-tooling and community-health practice detected across 1 family in the upstream repository

Checks run against github.com/kaskr/rtmb on 2026-08-16.

Reproducibility and dev environment (1)
Makefile
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
12 external dependencies (excludes base and recommended)
Depends (0)
none
Imports (5)
RcppMatrixmethodsTMBMASS
LinkingTo (3)
Enhances (0)
none

Code & Tests

People & History

People (1)
Maintainer (1)
Author, Maintainer
Authors (1)
Author, Maintainer
Package Timeline

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

  • R
    R 4.6.0 released · 2026-04-24
  • 1.9Latest
    2026-03-20 · current release · diff ↗
  • 1.8
    2025-10-14 · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 1.7
    2025-01-10 · diff ↗
  • 1.6
    2024-09-11 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 1.5
    2024-04-23 · diff ↗
  • 1.4
    2023-12-01 · diff ↗
  • 1.3
    2023-10-13 · diff ↗
  • 1.2
    2023-08-10
  • R
    R 4.3.0 released · 2023-04-21

Package metadata

First published
2023-08-10
Total releases
8 / 3 yrs
License
GPL (>= 2) OSI
Download size
662 KB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("RTMB")
Kristensen, K. (2026). RTMB: 'R' Bindings for 'TMB' (Version 1.9) [Computer software]. https://doi.org/10.32614/CRAN.package.RTMB

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

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 RTMB version 1.9 [Data set]. HJJB, LLC. Data release v2026-08-18. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-18, 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