Skip to content

cubature

2.1.4-1Package record

Adaptive Multivariate Integration over Hypercubes

69packages dependsuggested by 21
292.6Kdownloads / year
51.5%test coverage
13/13flavors OK

Overview

About

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.

Changes in 2.1.4-1
  • Removed use of benchr in favor of bench for benchmarking.
  • Added Makevars.webr for wasm. Updated Cuba configure files (config.guess, config.sub) in that process.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 7.4 min · r-oldrel-macos-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK14 OK2026-04-22
  • ERROR13 OK, 1 ERROR2026-04-18
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 2.1.4-1
READMEYes · 121 wordsVignettesYes · 2 · dynamicNEWSYes · 100% structured · mentions 2.1.4-1Citation fileNoWebsiteYes · pkgdown
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

292.6K
CRAN downloads in the past year
Rank #772 · ~802/day · ~24.4K/mo
Daily download trend is not available in this view yet.
21.1K30 days
63.1K90 days
292.6K1 year
Compare downloads with other packages →
Also on5.5K r2u201 autocran9.8K conda_forge263 c2d4u

Repository

14Stars
10Forks
1Open issues
0Open PRs
1Releases
212Commits
5Commit identities
cubaturemonte-carlo-integrationnumerical-integrationr-package
License file reads as GPL-3.0 · 212 commits · Last activity 2026-04-16 · 0% stars, 30d · Default branch at 2.2.0, ahead of CRAN 2.1.4-1 (checked 2026-10-11)
Responsiveness
How these are sampled
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

2025-06-18 · 122026-07-07 · 14
PracticesBeta

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.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Docs source (4)
README.Rmdpkgdown

GitHub Pages site last deployed 2026-04-16 · The repository has a site deploy workflow

Coverage (1)
Coverage reporting (Codecov)
Git structural (1)
Submodules
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
7 external dependencies (excludes base and recommended)

Installing cubature adds 1 package (1 with compiled code, 1.8 MB of source tarballs). Heaviest: Rcpp 1.8 MB.

Depends (0)
none
Imports (1)
LinkingTo (1)
Enhances (0)
none

People & History

People (8)
Author, Maintainer since 1.0 (2009)
Author · added in 2.0
Author · added in 2.0
Author · added in 2.0
Contributor · added in 2.1.4
Contributor · added in 2.0
Contributor · added in 1.3-11
Listed in earlier versions (1)
Steven G.
no longer listed · 1.3-6 to 2.1.4-1
Releases (26)

Pick two releases to compare their code metrics.

Show 30 earlier eventsHide 30 earlier events
  • 2.0.4.1
    record
    2020-07-06 · diff ↗
  • R
    R 4.0.0 released · 2020-04-24
  • 2.0.4
    record
    2019-12-04 · diff ↗
  • R
    R 3.6.0 released · 2019-04-26
  • 2.0.3
    record
    2018-12-18 · diff ↗
  • 2.0.2
    record
    2018-12-11 · diff ↗
  • 2.0.1
    record
    2018-11-29 · diff ↗
  • 2.0
    record
    2018-11-23 · diff ↗ ·
    added 6 exports
    cubintegrate, cuhre, default_args, divonne, suave, vegas
  • 1.4-1
    record
    2018-10-26 · diff ↗
  • 1.4
    record
    2018-06-14 · diff ↗
  • 1.3-13
    record
    2018-06-11 · diff ↗
  • R
    R 3.5.0 released · 2018-04-23
  • 1.3-11
    record
    2017-07-19 · diff ↗
  • 1.3-8
    record
    2017-05-11 · diff ↗
  • R
    R 3.4.0 released · 2017-04-21
  • 1.3-6
    record
    2016-12-12 · diff ↗ ·
    removed 1 export
    pattern:^[[:alpha:]]+
    added 3 exports
    adaptIntegrate, hcubature, pcubature
  • R
    R 3.3.0 released · 2016-05-03
  • R
    R 3.2.0 released · 2015-04-16
  • R
    R 3.1.0 released · 2014-04-10
  • R
    R 3.0.0 released · 2013-04-03
  • 1.1-2
    record
    2013-02-25 · diff ↗
  • R
    R 2.15.0 released · 2012-03-30
  • 1.1-1
    record
    2011-12-08 · diff ↗
  • 1.1
    record
    2011-11-22 · diff ↗
  • R
    R 2.14.0 released · 2011-10-31
  • R
    R 2.13.0 released · 2011-04-13
  • R
    R 2.12.0 released · 2010-10-15
  • R
    R 2.11.0 released · 2010-04-22
  • 1.0
    record
    2009-12-20
  • R
    R 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
Appears in task views

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("cubature")
Narasimhan, B., Bouvier, A., Eddelbuettel, D., Gaure, S., Hahn, T., Johnson, S. G., Kiêu, K., & Koller, M. (2025). cubature: Adaptive Multivariate Integration over Hypercubes (Version 2.1.4-1) [Computer software]. https://doi.org/10.32614/CRAN.package.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.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for cubature version 2.1.4-1 [Data set]. HJJB, LLC. Data release v2026-10-18. https://doi.org/10.5281/zenodo.21843040

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.

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