Skip to content

nimble

MCMC, Particle Filtering, and Programmable Hierarchical Modeling

v1.4.2 · Mar 31, 2026 · BSD_3_clause + file LICENSE | GPL (>= 2)

Description

A system for writing hierarchical statistical models largely compatible with 'BUGS' and 'JAGS', writing nimbleFunctions to operate models and do basic R-style math, and compiling both models and nimbleFunctions via custom-generated C++. 'NIMBLE' includes default methods for MCMC, Laplace Approximation, deterministic nested approximations, Monte Carlo Expectation Maximization, and some other tools. The nimbleFunction system makes it easy to do things like implement new MCMC samplers from R, customize the assignment of samplers to different parts of a model from R, and compile the new samplers automatically via C++ alongside the samplers 'NIMBLE' provides. 'NIMBLE' extends the 'BUGS'/'JAGS' language by making it extensible: New distributions and functions can be added, including as calls to external compiled code. Although most people think of MCMC as the main goal of the 'BUGS'/'JAGS' language for writing models, one can use 'NIMBLE' for writing arbitrary other kinds of model-generic algorithms as well. A full User Manual is available at <https://r-nimble.org>.

Downloads

CRAN

6.1K

Last 30 days

1534th

21.1K

Last 90 days

85.7K

Last year

Trend: -18.1% (30d vs prior 30d)

r2u CRAN

122

Last 30 days

498

Last 90 days

1.4K

Last year

Trend: -53.6% (30d vs prior 30d)

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Additional Issues

Check History

OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE May 2, 2026
NOTE 10 OK · 4 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 9, 2026
NOTE r-devel-macos-arm64

compiled code

File ‘nimble/libs/nimble.so’:
  Found non-API call to R: ‘R_MissingArg’

Compiled code should not call non-API entry points in R.

See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual,
and section ‘Moving into C API compliance’ for issues with the use of
non-API entry points.
NOTE r-oldrel-macos-arm64

installed package size

installed size is 45.6Mb
  sub-directories of 1Mb or more:
    CppCode        3.8Mb
    R              8.1Mb
    classic-bugs   1.5Mb
    include       11.6Mb
    libs          19.9Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is 46.6Mb
  sub-directories of 1Mb or more:
    CppCode        4.3Mb
    R              8.1Mb
    classic-bugs   1.5Mb
    include       11.6Mb
    libs          20.4Mb
NOTE r-oldrel-windows-x86_64

installed package size

installed size is 27.6Mb
  sub-directories of 1Mb or more:
    CppCode   5.2Mb
    R         7.7Mb
    include  11.7Mb
    libs      1.2Mb
WARNING 6 OK · 5 NOTE · 3 WARNING · 0 ERROR · 0 FAILURE Mar 20, 2026
NOTE r-devel-linux-x86_64-debian-clang

compiled code

File ‘nimble/libs/nimble.so’:
  Found non-API calls to R: ‘Rf_findVar’, ‘Rf_findVarInFrame’

Compiled code should not call non-API entry points in R.

See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual,
and section ‘Moving into C API compliance’ for issues with the use of
non-API entry points.
WARNING r-devel-linux-x86_64-debian-gcc

compiled code

File ‘nimble/libs/nimble.so’:
  Found non-API calls to R: ‘Rf_findVar’, ‘Rf_findVarInFrame’
These entry points may be removed soon:
‘Rf_findVar’, ‘Rf_findVarInFrame’

Compiled code should not call non-API entry points in R.

See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual,
and section ‘Moving into C API compliance’ for issues with the use of
non-API entry points.
WARNING r-devel-linux-x86_64-fedora-clang

compiled code

File ‘nimble/libs/nimble.so’:
  Found non-API calls to R: ‘Rf_findVar’, ‘Rf_findVarInFrame’
These entry points may be removed soon:
‘Rf_findVar’, ‘Rf_findVarInFrame’

Compiled code should not call non-API entry points in R.

See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual,
and section ‘Moving into C API compliance’ for issues with the use of
non-API entry points.
WARNING r-devel-linux-x86_64-fedora-gcc

compiled code

File ‘nimble/libs/nimble.so’:
  Found non-API calls to R: ‘Rf_findVar’, ‘Rf_findVarInFrame’
These entry points may be removed soon:
‘Rf_findVar’, ‘Rf_findVarInFrame’

Compiled code should not call non-API entry points in R.

See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual,
and section ‘Moving into C API compliance’ for issues with the use of
non-API entry points.
NOTE r-devel-windows-x86_64

compiled code

File 'nimble/libs/x64/nimble.dll':
  Found non-API calls to R: 'Rf_findVar', 'Rf_findVarInFrame'

Compiled code should not call non-API entry points in R.

See 'Writing portable packages' in the 'Writing R Extensions' manual,
and section 'Moving into C API compliance' for issues with the use of
non-API entry points.
NOTE r-oldrel-macos-arm64

installed package size

installed size is 45.6Mb
  sub-directories of 1Mb or more:
    CppCode        3.8Mb
    R              8.1Mb
    classic-bugs   1.5Mb
    include       11.6Mb
    libs          19.9Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is 46.6Mb
  sub-directories of 1Mb or more:
    CppCode        4.3Mb
    R              8.1Mb
    classic-bugs   1.5Mb
    include       11.6Mb
    libs          20.4Mb
NOTE r-oldrel-windows-x86_64

installed package size

installed size is 27.6Mb
  sub-directories of 1Mb or more:
    CppCode   5.2Mb
    R         7.7Mb
    include  11.7Mb
    libs      1.2Mb
NOTE 11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
NOTE r-oldrel-macos-arm64

installed package size

installed size is 45.6Mb
  sub-directories of 1Mb or more:
    CppCode        3.8Mb
    R              8.1Mb
    classic-bugs   1.5Mb
    include       11.6Mb
    libs          19.9Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is 46.6Mb
  sub-directories of 1Mb or more:
    CppCode        4.3Mb
    R              8.1Mb
    classic-bugs   1.5Mb
    include       11.6Mb
    libs          20.4Mb
NOTE r-oldrel-windows-x86_64

installed package size

installed size is 27.6Mb
  sub-directories of 1Mb or more:
    CppCode   5.2Mb
    R         7.7Mb
    include  11.7Mb
    libs      1.2Mb

Reverse Dependencies (33)

Dependency Network

Dependencies Reverse dependencies igraph coda R6 pracma numDeriv BayesNSGP BayesSIM DPCD MultiNMix ValidationExplorer Xcertainty ameras baorista baytaAAR compareMCMCs nimbleAPT nimbleCarbon nimbleEcology nimbleHMC nimbleMacros +18 more reverse deps nimble

Version History

41 tracked
updated 1.4.2 ← 1.4.1 diff Apr 1, 2026
new 1.4.1 Mar 10, 2026
updated 1.4.1 ← 1.4.0 diff Feb 12, 2026
updated 1.4.0 ← 1.3.0 diff Dec 12, 2025
updated 1.3.0 ← 1.2.1 diff Dec 16, 2024
updated 1.2.1 ← 1.2.0 diff Jul 29, 2024
updated 1.2.0 ← 1.1.0 diff Jun 8, 2024
updated 1.1.0 ← 1.0.1 diff Jan 30, 2024
updated 1.0.1 ← 1.0.0 diff Jun 14, 2023
updated 1.0.0 ← 0.13.2 diff May 22, 2023
updated 0.13.2 ← 0.13.1 diff May 13, 2023
updated 0.13.1 ← 0.13.0 diff Dec 13, 2022
updated 0.13.0 ← 0.12.2 diff Nov 14, 2022
updated 0.12.2 ← 0.12.1 diff Feb 23, 2022
updated 0.12.1 ← 0.12.0 diff Oct 8, 2021