Skip to content

ctsmTMB

1.1.1

Continuous Time Stochastic Modelling using Template Model Builder

0packages depend
2.5Kdownloads / year
65.2%test coverage
13/13checks pass

Overview

About
Maintained by Phillip VetterFirst published 2025-04-083 releasesCRAN page ↗GitHub ↗

Perform state and parameter inference, and forecasting, in stochastic state-space systems using the 'ctsmTMB' R6 class. This class provides a user-friendly interface for working with stochastic state space models. Inference is based on maximum likelihood estimation, with derivatives efficiently computed through automatic differentiation enabled by the 'TMB'/'RTMB' packages (Kristensen et al., 2016) doi:10.18637/jss.v070.i05. The available inference methods include Kalman filters, in addition to a Laplace approximation-based smoothing method. For further details of these methods refer to the documentation of the 'CTSMR' package https://ctsm.info/ctsmr-reference.pdf and Thygesen (2025) doi:10.48550/arXiv.2503.21358. Forecasting capabilities include moment predictions and stochastic path simulations implemented in 'C++' using 'Rcpp' (Eddelbuettel et al., 2018) doi:10.1080/00031305.2017.1375990 for computational efficiency.

Install

Health

CRAN checks
13OK
Slowest check: 10.1 min · r-devel-linux-x86_64-fedora-clang
Code health
Yes
Tests · ratio 0.07
65.2%
Coverage · measured lines
100%
Documentation · exports
14
Dependencies · direct
Check history
  • 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
  • NOTE2026-04-22
    12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-04-18
    11 OK · 2 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • NOTE2026-03-10
    12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 998 wordsVignettesYes · dynamicpkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
0%
Documented parameters
not tracked
Return-value docs
100%
References docs
0%

Downloads

2.5K
CRAN downloads in the past year
Rank #15,322 · ~7/day · ~211/mo
Daily download trend is not available in this view yet.
28730 days
73390 days
2.5K1 year
Compare downloads with other packages →
Also on434 r2u35 autocran

Repository

Repository
6Stars
3Forks
0Open issues
0Open PRs
0Releases
218Commits
4Contributors
218 commits · Last activity 2026-07-16 · 0% stars, 30d

Stars over time

2025-06-02 · 32026-07-07 · 6

Repository practices

Upstream repositoryBeta

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

Checks run against github.com/phillipbvetter/ctsmtmb on 2026-07-19.

Continuous integration (1)
GitHub Actions
Reproducibility and dev environment (1)
data-raw/
CRAN release process (1)
cran-comments.md
Docs source (1)
README.Rmd
Show all practices
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
16 external dependencies (excludes base and recommended)
Depends (1)
R >= 4.0.0
Imports (14)
Derivggplot2graphicsgrDevicesMatrixpatchworkR6RcpprlangRTMBstatsstringrTMButils
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

Datasets

People & History

People (5)
Maintainer (1)
Author, Maintainer, Copyright holder
Authors (1)
Author, Maintainer, Copyright holder
Contributors (4)
Contributor
Contributor
Contributor
Contributor
Copyright holders (1)
Author, Maintainer, Copyright holder
Package Timeline

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

  • 1.1.1Latest
    2026-07-15 · current release · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • 1.0.1
    2025-08-28 · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 1.0.0
    2025-04-08
  • R
    R 4.4.0 released · 2024-04-24

Package metadata

First published
2025-04-08
Total releases
3 / 1 yrs
License
GPL-3 OSI
Minimum R
≥ 4.0.0
Bundled data
497 KB / 4 files
Download size
1.1 MB
Installed size
not tracked yet
With dependencies
not tracked yet
Report a problem with this page →