Skip to content

nimbleHMC

0.2.5Package record

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

0packages dependsuggested by 1
3.9Kdownloads / year
0.0%test coverage
13/13flavors OK

Overview

About

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-macos-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-07-21
  • NOTE12 OK, 2 NOTE2026-03-10
Advisories

none known

Documentation

In release 0.2.5
READMENoVignettesNoNEWSYes · 100% structured · does not mention 0.2.5Citation fileYes · cites a publicationWebsitenot declared in DESCRIPTION
Description cites a JOSS paper
Help pages
8
Examples that run
83%5 run in a plain check · 1 only when donttest examples are enabled (R CMD check --as-cran)
Exported functions with examples
75%
Documented parameters
100%
Return-value docs
75%
Help pages citing references
25%

Downloads

3.9K
CRAN downloads in the past year
Rank #7,280 · ~11/day · ~322/mo
Daily download trend is not available in this view yet.
38830 days
1.2K90 days
3.9K1 year
Compare downloads with other packages →
Also on120 r2u3 autocran

Dependencies

Declared dependencies
2 external dependencies (excludes base and recommended)

Installing nimbleHMC adds 14 packages (7 with compiled code, 12 MB of source tarballs). Heaviest: igraph 4.8 MB, nimble 3.2 MB, vctrs 1.0 MB.

Depends (2)
R >= 3.5.0nimble
Imports (1)
methods
LinkingTo (0)
none
Suggests (1)
Enhances (0)
none
Reverse dependencies
0direct
0indirect
Suggested by 1
Suggests, most downloaded first

People & History

People (3)
Author, Maintainer since 0.1.0 (2023)
Releases (8)

Pick two releases to compare their code metrics.

  • 0.2.5Latest
    record
    2026-07-20 · current release · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • 0.2.4
    record
    2025-12-16 · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 0.2.3
    record
    2024-12-18 · diff ↗
  • 0.2.2
    record
    2024-06-28 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 0.2.1
    record
    2024-02-09 · diff ↗
  • 0.2.0
    record
    2023-09-12 · diff ↗ ·
    removed 1 export
    sampler_HMC
    added 4 exports
    sampler_NUTS, sampler_NUTS_classic, stateNL_NUTS, treebranchNL_NUTS
  • 0.1.1
    record
    2023-07-07 · diff ↗
  • 0.1.0
    record
    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
Copyright
See COPYRIGHTS file.
Minimum R
≥ 3.5.0
Download size
40 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("nimbleHMC")

The package provides a citation file that builds its entry when R runs it. Run citation() to see it.

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-10-22. https://doi.org/10.5281/zenodo.21843040

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