Skip to content

hmmTMB

1.1.2

Fit Hidden Markov Models using Template Model Builder

0packages depend
5.2Kdownloads / year
41.0%test coverage
12/13checks pass

Overview

About
Maintained by Theo MichelotFirst published 2023-01-116 releasesCRAN page ↗GitHub ↗

Fitting hidden Markov models using automatic differentiation and Laplace approximation, allowing for fast inference and flexible covariate effects (including random effects and smoothing splines) on model parameters. The package is described by Michelot (2025) doi:10.18637/jss.v114.i05.

Install

Health

CRAN checks
1ERROR12OK
Failing flavors
  • ERROR r-release-macos-x86_64
Slowest check: 10.3 min · r-oldrel-windows-x86_64
Code health
Yes
Tests · ratio 0.09
41.0%
Coverage · measured lines
100%
Documentation · exports
9
Dependencies · direct
Check history
  • ERROR2026-04-25
    11 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • NOTE2026-03-10
    11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

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

Downloads

5.2K
CRAN downloads in the past year
Rank #7,789 · ~14/day · ~431/mo
Daily download trend is not available in this view yet.
33630 days
1.1K90 days
5.2K1 year
Compare downloads with other packages →
Also on431 r2u20 autocran

Repository

Repository
68Stars
12Forks
3Open issues
0Open PRs
0Releases
833Commits
7Contributors
hidden-markov-modelhmmmixed-effects-modelsr-packagerandom-effectssmoothing-splinestime-series-analysis
833 commits · Last activity 2026-04-13

Repository practices

Upstream repositoryBeta

Checks run against github.com/theomichelot/hmmtmb on 2026-08-23.

No development-tooling practices detected in the upstream repository.

How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
15 external dependencies (excludes base and recommended)
Depends (4)
Imports (5)
MatrixstringrMASStmbstanmethods
LinkingTo (2)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

People & History

People (2)
Maintainer (1)
Author, Maintainer
Authors (2)
Author, Maintainer
Author, Contributor
Contributors (1)
Author, Contributor
Package Timeline

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

  • R
    R 4.6.0 released · 2026-04-24
  • 1.1.2Latest
    2025-11-05 · current release · diff ↗
  • 1.1.1
    2025-09-11 · diff ↗
  • 1.1.0
    2025-06-24 · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • 1.0.2
    2023-10-24 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 1.0.1
    2023-01-13 · diff ↗
  • 1.0.0
    2023-01-11
  • R
    R 4.2.0 released · 2022-04-22

Package metadata

First published
2023-01-11
Total releases
6 / 3 yrs
License
GPL-3 OSI
Download size
230 KB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("hmmTMB")
Michelot, T., & Glennie, R. (2025). hmmTMB: Fit Hidden Markov Models using Template Model Builder (Version 1.1.2) [Computer software]. https://doi.org/10.32614/CRAN.package.hmmTMB

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

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