Adaptive Multivariate Integration over Hypercubes
Overview
R wrappers around the cubature C library of Steven G. Johnson for adaptive multivariate integration over hypercubes and the Cuba C library of Thomas Hahn for deterministic and Monte Carlo integration. Scalar and vector interfaces for cubature and Cuba routines are provided; the vector interfaces are highly recommended as demonstrated in the package vignette.
- Removed use of
benchrin favor ofbenchfor benchmarking. - Added
Makevars.webrfor wasm. Updated Cuba configure files (config.guess,config.sub) in that process.
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK14 OK2026-04-22
- ERROR13 OK, 1 ERROR2026-04-18
- OK14 OK2026-03-10
Documentation
- Help pages
- 8 (1 internal)includes a package overview page
- Examples that run
- 86%6 run in a plain check · 1 never run
- Exported functions with examples
- 100%
- Documented parameters
- 99%
- Return-value docs
- 100%
- Help pages citing references
- 50%
Downloads
Repository
- PRs merged (all time)
- 82%
- Median days to close, 50 most recently updated closed issues
- 70
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
8 development-tooling and community-health practices detected across 4 families in the upstream repository
Checks run against github.com/bnaras/cubature on 2026-10-11.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2026-04-16 · The repository has a site deploy workflow
Dependencies
Installing cubature adds 1 package (1 with compiled code, 1.8 MB of source tarballs). Heaviest: Rcpp 1.8 MB.
Show the 48 most downloaded dependentsHide the 48 most downloaded dependents
and 21 more dependents and 21 packages that suggest it on CRAN ↗
Code & Tests
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 2.1.4-1Latest
- 2.1.42025-06-02 · diff ↗
- 2.1.32025-05-20 · diff ↗
- 2.1.22025-05-06 · diff ↗
- RR 4.5.0 released · 2025-04-11
- 2.1.12024-07-14 · diff ↗
- RR 4.4.0 released · 2024-04-24
- 2.1.02023-06-11 · diff ↗
- RR 4.3.0 released · 2023-04-21
- 2.0.4.62023-01-23 · diff ↗
- 2.0.4.52022-08-16 · diff ↗
- RR 4.2.0 released · 2022-04-22
- 2.0.4.42022-03-23 · diff ↗
- RR 4.1.0 released · 2021-05-18
- 2.0.4.22021-05-13 · diff ↗
Show 30 earlier eventsHide 30 earlier events
- 2.0.4.12020-07-06 · diff ↗
- RR 4.0.0 released · 2020-04-24
- 2.0.42019-12-04 · diff ↗
- RR 3.6.0 released · 2019-04-26
- 2.0.32018-12-18 · diff ↗
- 2.0.22018-12-11 · diff ↗
- 2.0.12018-11-29 · diff ↗
- 2.0
- 1.4-12018-10-26 · diff ↗
- 1.42018-06-14 · diff ↗
- 1.3-132018-06-11 · diff ↗
- RR 3.5.0 released · 2018-04-23
- 1.3-112017-07-19 · diff ↗
- 1.3-82017-05-11 · diff ↗
- RR 3.4.0 released · 2017-04-21
- 1.3-62016-12-12 · diff ↗ ·
removed 1 export
pattern:^[[:alpha:]]+added 3 exports
adaptIntegrate, hcubature, pcubature - RR 3.3.0 released · 2016-05-03
- RR 3.2.0 released · 2015-04-16
- RR 3.1.0 released · 2014-04-10
- RR 3.0.0 released · 2013-04-03
- 1.1-22013-02-25 · diff ↗
- RR 2.15.0 released · 2012-03-30
- 1.1-12011-12-08 · diff ↗
- 1.12011-11-22 · diff ↗
- RR 2.14.0 released · 2011-10-31
- RR 2.13.0 released · 2011-04-13
- RR 2.12.0 released · 2010-10-15
- RR 2.11.0 released · 2010-04-22
- 1.02009-12-20
- RR 2.10.0 released · 2009-10-26
Package metadata
- First published
- 2009-12-20
- Total releases
- 26 / 17 yrs
- License
- GPL-3 OSI
- Download size
- 3.2 MB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("cubature")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-18, which the citation names so these numbers can be found later. More on citing and the projects behind them.