Skip to content

nimbleHMC

0.2.5

Hamiltonian Monte Carlo and Other Gradient-Based MCMC Sampling Algorithms for 'nimble'

1packages depend
3.6Kdownloads / year
0.0%test coverage
13/13checks pass

Overview

About
Maintained by Daniel TurekFirst published 2023-05-318 releasesCRAN page ↗

Provides gradient-based MCMC sampling algorithms for use with the MCMC engine provided by the 'nimble' package. This includes two versions of Hamiltonian Monte Carlo (HMC) No-U-Turn (NUTS) sampling, and (under development) Langevin samplers. The `NUTS_classic` sampler implements the original HMC-NUTS algorithm as described in Hoffman and Gelman (2014) doi:10.48550/arXiv.1111.4246. The `NUTS` sampler is a modern version of HMC-NUTS sampling matching the HMC sampler available in version 2.32.2 of Stan (Stan Development Team, 2023). In addition, convenience functions are provided for generating and modifying MCMC configuration objects which employ HMC sampling. Functionality of the 'nimbleHMC' package is described further in Turek, et al (2024) <doi: 10.21105/joss.06745>.

Install

Health

CRAN checks
13OK
Slowest check: 2.1 min · r-oldrel-windows-x86_64
Code health
Yes
Tests · ratio 0.73
0.0%
Coverage · measured lines
100%
Documentation · exports
2
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-21
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-03-10
    12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMENoVignettesNopkgdown siteNoNEWSNoCode of conductNoContributing guideNo
Examples that run
83%
Documented parameters
100%
Return-value docs
75%
References docs
25%

Downloads

3.6K
CRAN downloads in the past year
Rank #9,569 · ~10/day · ~301/mo
Daily download trend is not available in this view yet.
36930 days
97590 days
3.6K1 year
Compare downloads with other packages →
Also on145 r2u21 autocran

Dependencies

Declared dependencies
2 external dependencies (excludes base and recommended)
Depends (2)
R >= 3.5.0nimble
Imports (1)
methods
LinkingTo (0)
none
Suggests (1)
Enhances (0)
none
Reverse dependencies
1direct
0indirect

Code & Tests

People & History

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

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

  • 0.2.5Latest
    2026-07-20 · current release · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • 0.2.4
    2025-12-16 · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 0.2.3
    2024-12-18 · diff ↗
  • 0.2.2
    2024-06-28 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 0.2.1
    2024-02-09 · diff ↗
  • 0.2.0
    2023-09-12 · diff ↗
  • 0.1.1
    2023-07-07 · diff ↗
  • 0.1.0
    2023-05-31
  • R
    R 4.3.0 released · 2023-04-21

Package metadata

First published
2023-05-31
Total releases
8 / 3 yrs
License
BSD_3_clause + file LICENSE | GPL (>= 2) OSI
Minimum R
≥ 3.5.0
Download size
40 KB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("nimbleHMC")
Turek, D., Paciorek, C., & de Valpine, P. (2026). nimbleHMC: Hamiltonian Monte Carlo and Other Gradient-Based MCMC Sampling Algorithms for 'nimble' (Version 0.2.5) [Computer software]. https://doi.org/10.32614/CRAN.package.nimbleHMC

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

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