{
  "_id": "6ad29f3e2c5c76d3dd0c930b",
  "Package": "cubature",
  "Type": "Package",
  "Title": "Adaptive Multivariate Integration over Hypercubes",
  "Version": "2.2.0",
  "VignetteBuilder": "knitr",
  "SystemRequirements": "GNU make and USE_C17",
  "URL": "https://bnaras.github.io/cubature/",
  "BugReports": "https://github.com/bnaras/cubature/issues",
  "Authors@R": "c(person(\"Balasubramanian\", \"Narasimhan\", role=c(\"aut\", \"cre\"),\nemail = \"naras@stat.stanford.edu\"),\nperson(\"Manuel\", \"Koller\", role=c(\"ctb\"),\nemail = \"koller.manuel@gmail.com\"),\nperson(\"Dirk\", \"Eddelbuettel\", role=c(\"ctb\"),\nemail = \"edd@debian.org\"),\nperson(c(\"Steven\", \"G.\"), \"Johnson\", role=c(\"aut\")),\nperson(\"Thomas\", \"Hahn\", role=c(\"aut\")),\nperson(\"Annie\", \"Bouvier\", role=c(\"aut\")),\nperson(\"Kiên\", \"Kiêu\", role=c(\"aut\"), email = \"Kien.Kieu@jouy.inra.fr\"),\nperson(\"Simen\", \"Gaure\", role=c(\"ctb\"),\nemail = \"simen.gaure@frisch.uio.no\"))",
  "Description": "R wrappers around the cubature C library of Steven G.\nJohnson for adaptive multivariate integration over hypercubes\nand the Cuba C library of Thomas Hahn for deterministic and\nMonte Carlo integration. A unified interface is provided via\n`cubintegrate`, and both scalar and vector interfaces are\navailable for cubature and Cuba routines; the vector interfaces\nare recommended for performance-sensitive work, as demonstrated\nin the vectorization vignette. An optional robust error\nestimator is available for non-smooth integrands.",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "NeedsCompilation": "yes",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "Config/pak/sysreqs": "make",
  "Repository": "https://bnaras.r-universe.dev",
  "Date/Publication": "2026-04-16 14:11:07 UTC",
  "RemoteUrl": "https://github.com/bnaras/cubature",
  "RemoteRef": "HEAD",
  "RemoteSha": "f73dbb7d156b0b35f15948611a269c3ee23a0bcd",
  "Packaged": {
    "Date": "2026-10-16 21:49:32 UTC",
    "User": "root"
  },
  "Author": "Balasubramanian Narasimhan [aut, cre],\nManuel Koller [ctb],\nDirk Eddelbuettel [ctb],\nSteven G. Johnson [aut],\nThomas Hahn [aut],\nAnnie Bouvier [aut],\nKiên Kiêu [aut],\nSimen Gaure [ctb]",
  "Maintainer": "Balasubramanian Narasimhan <naras@stat.stanford.edu>",
  "_user": "bnaras",
  "_type": "src",
  "_file": "cubature_2.2.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/5d7c67a3eca636cbe25766524c05ad845d3e57d1d916baed8caca3dc593b1c5e",
  "_filesize": 3165654,
  "_sha256": "5d7c67a3eca636cbe25766524c05ad845d3e57d1d916baed8caca3dc593b1c5e",
  "_expires": "2027-01-24T22:03:40.000Z",
  "_created": "2026-10-16T21:49:32.000Z",
  "_published": "2026-10-16T22:03:42.814Z",
  "_buildurl": "https://github.com/r-universe/bnaras/actions/runs/38971491345",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 117212316180,
      "time": 133,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12077915193"
    },
    {
      "job": 117212316030,
      "time": 181,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12077637437"
    },
    {
      "job": 117212316092,
      "time": 131,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12077552422"
    },
    {
      "job": 117212316106,
      "time": 142,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12076788412"
    },
    {
      "job": 117212316434,
      "time": 113,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12078090219"
    },
    {
      "job": 117212316221,
      "time": 172,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12077358403"
    },
    {
      "job": 117212316076,
      "time": 119,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12077163413"
    },
    {
      "job": 117212316070,
      "time": 222,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12077433447"
    },
    {
      "job": 117210790627,
      "time": 258,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12077427441"
    },
    {
      "job": 117212315992,
      "time": 99,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12077890164"
    },
    {
      "job": 117212316184,
      "time": 298,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12077273381"
    },
    {
      "job": 117212316024,
      "time": 156,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12076549012"
    },
    {
      "job": 117212316383,
      "time": 84,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12076528839"
    },
    {
      "job": 117212316252,
      "time": 209,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12077442894"
    },
    {
      "job": 117212316078,
      "time": 120,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12077526869"
    }
  ],
  "_upstream": "https://github.com/bnaras/cubature",
  "_commit": {
    "id": "f73dbb7d156b0b35f15948611a269c3ee23a0bcd",
    "author": "Balasubramanian Narasimhan <b.naras@gmail.com>",
    "committer": "Balasubramanian Narasimhan <b.naras@gmail.com>",
    "message": "Vignette: clarify robust-path sentence, document both submodules\n\n- \"Neither robust path\" was ambiguous; reword to explicitly name\n  hcubature and pcubature.\n- Implementation notes now describe both libcubature and Cuba as\n  submodule forks with R_pkg branches, noting the libcubature\n  rename.\n",
    "time": 1776348667
  },
  "_maintainer": {
    "name": "Balasubramanian Narasimhan",
    "email": "naras@stat.stanford.edu",
    "login": "hrpcisd",
    "description": "",
    "uuid": 10241099
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "mvtnorm",
      "role": "Suggests"
    },
    {
      "package": "bench",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "bnaras",
  "_selfowned": true,
  "_usedby": 186,
  "_updates": [
    {
      "week": "2025-47",
      "n": 13
    },
    {
      "week": "2026-16",
      "n": 3
    }
  ],
  "_tags": [],
  "_topics": [
    "cubature",
    "monte-carlo-integration",
    "numerical-integration",
    "fortran",
    "cpp"
  ],
  "_stars": 14,
  "_contributors": [
    {
      "user": "bnaras",
      "count": 202,
      "uuid": 3030361
    },
    {
      "user": "kollerma",
      "count": 5,
      "uuid": 488603
    },
    {
      "user": "eddelbuettel",
      "count": 1,
      "uuid": 673121
    },
    {
      "user": "jan-imbi",
      "count": 1,
      "uuid": 55784605
    }
  ],
  "_userbio": {
    "uuid": 3030361,
    "type": "user",
    "name": "Balasubramanian Narasimhan",
    "followers": 73
  },
  "_downloads": {
    "count": 22871,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/cubature"
  },
  "_mentions": 1,
  "_devurl": "https://github.com/bnaras/cubature",
  "_pkgdown": "https://bnaras.github.io/cubature/",
  "_searchresults": 616,
  "_fortran": true,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/cubature.html",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_homeurl": "https://github.com/bnaras/cubature",
  "_realowner": "bnaras",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0",
      "date": "2009-12-20"
    },
    {
      "version": "1.1",
      "date": "2011-11-22"
    },
    {
      "version": "1.1-1",
      "date": "2011-12-08"
    },
    {
      "version": "1.1-2",
      "date": "2013-02-25"
    },
    {
      "version": "1.3-6",
      "date": "2016-12-12"
    },
    {
      "version": "1.3-8",
      "date": "2017-05-11"
    },
    {
      "version": "1.3-11",
      "date": "2017-07-19"
    },
    {
      "version": "1.3-13",
      "date": "2018-06-11"
    },
    {
      "version": "1.4",
      "date": "2018-06-13"
    },
    {
      "version": "1.4-1",
      "date": "2018-10-26"
    },
    {
      "version": "2.0",
      "date": "2018-11-23"
    },
    {
      "version": "2.0.1",
      "date": "2018-11-29"
    },
    {
      "version": "2.0.2",
      "date": "2018-12-11"
    },
    {
      "version": "2.0.3",
      "date": "2018-12-18"
    },
    {
      "version": "2.0.4",
      "date": "2019-12-04"
    },
    {
      "version": "2.0.4.1",
      "date": "2020-07-06"
    },
    {
      "version": "2.0.4.2",
      "date": "2021-05-13"
    },
    {
      "version": "2.0.4.4",
      "date": "2022-03-23"
    },
    {
      "version": "2.0.4.5",
      "date": "2022-08-16"
    },
    {
      "version": "2.0.4.6",
      "date": "2023-01-23"
    },
    {
      "version": "2.1.0",
      "date": "2023-06-11"
    },
    {
      "version": "2.1.1",
      "date": "2024-07-14"
    },
    {
      "version": "2.1.2",
      "date": "2025-05-05"
    },
    {
      "version": "2.1.3",
      "date": "2025-05-20"
    },
    {
      "version": "2.1.4",
      "date": "2025-06-02"
    },
    {
      "version": "2.1.4-1",
      "date": "2025-11-22"
    }
  ],
  "_exports": [
    "adaptIntegrate",
    "cubintegrate",
    "cuhre",
    "default_args",
    "divonne",
    "hcubature",
    "pcubature",
    "suave",
    "vegas"
  ],
  "_help": [
    {
      "page": "cubintegrate",
      "title": "Unified Cubature Integration Interface",
      "topics": [
        "cubintegrate"
      ]
    },
    {
      "page": "cuhre",
      "title": "Integration by a Deterministic Iterative Adaptive Algorithm",
      "topics": [
        "cuhre"
      ]
    },
    {
      "page": "default_args",
      "title": "Default arguments for each integration method",
      "topics": [
        "default_args"
      ]
    },
    {
      "page": "divonne",
      "title": "Integration by Stratified Sampling for Variance Reduction",
      "topics": [
        "divonne"
      ]
    },
    {
      "page": "hcubature",
      "title": "Adaptive multivariate integration over hypercubes (hcubature and pcubature)",
      "topics": [
        "adaptIntegrate",
        "hcubature",
        "pcubature"
      ]
    },
    {
      "page": "suave",
      "title": "Integration with SUbregion-Adaptive Vegas Algorithm",
      "topics": [
        "suave"
      ]
    },
    {
      "page": "vegas",
      "title": "Integration by a Monte Carlo Algorithm",
      "topics": [
        "vegas"
      ]
    }
  ],
  "_pkglogo": "https://github.com/bnaras/cubature/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/bnaras/cubature/raw/HEAD/README.md",
  "_rundeps": [
    "Rcpp"
  ],
  "_sysdeps": [
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_vignettes": [
    {
      "source": "cubature.Rmd",
      "filename": "cubature.html",
      "title": "Get started with cubature",
      "author": "Balasubramanian Narasimhan",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Your first integral",
        "The unified cubintegrate() interface",
        "Choosing a method",
        "Vector-valued integrands",
        "Robustness: when hcubature and pcubature can silently fail",
        "The opt-in robust path",
        "When robust is not enough: the sampling-density cliff",
        "The NOT_CONVERGED return code",
        "Where to go next",
        "Implementation notes",
        "Session info"
      ],
      "created": "2016-11-25 22:43:59",
      "modified": "2026-04-16 14:11:07",
      "commits": 16
    },
    {
      "source": "vectorization.Rmd",
      "filename": "vectorization.html",
      "title": "Vectorization benchmarks",
      "author": "Balasubramanian Narasimhan",
      "engine": "knitr::rmarkdown",
      "headings": [
        "When to read this",
        "A timing harness",
        "Example 1",
        "Multivariate normal",
        "Product of cosines",
        "Gaussian function",
        "Discontinuous function",
        "A simple polynomial (product of coordinates)",
        "Gaussian centered at $\\frac{1}{2}$",
        "Double Gaussian",
        "Tsuda's example",
        "Morokoff & Caflisch example",
        "Wang-Landau sampling 1d, 2d examples",
        "Summary",
        "Session info"
      ],
      "created": "2026-04-15 23:48:50",
      "modified": "2026-04-15 23:48:50",
      "commits": 1
    }
  ],
  "_score": 11.819779351057356,
  "_indexed": true,
  "_nocasepkg": "cubature",
  "_universes": [
    "bnaras",
    "hrpcisd"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.2.0",
      "date": "2026-10-16T21:51:48.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "f73dbb7d156b0b35f15948611a269c3ee23a0bcd",
      "fileid": "https://r2.ropensci.org/fae24a61b8bfd6a9f97c0d49a5a357cc58978158ee31c469f61368ef35ae5d3f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bnaras/actions/runs/38971491345"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.2.0",
      "date": "2026-10-16T21:52:25.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "f73dbb7d156b0b35f15948611a269c3ee23a0bcd",
      "fileid": "https://r2.ropensci.org/b6bd91611e01faf44f56bfe10d9f12e8649e8eb97c45abcc907cc1fbab16bd0e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bnaras/actions/runs/38971491345"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "2.2.0",
      "date": "2026-10-16T21:51:48.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "f73dbb7d156b0b35f15948611a269c3ee23a0bcd",
      "fileid": "https://r2.ropensci.org/4e2bd354bece98e2c7ec4df3d0942fa88d097f6e6f4ea66547c942fcdf3402ca",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bnaras/actions/runs/38971491345"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "2.2.0",
      "date": "2026-10-16T21:51:58.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "f73dbb7d156b0b35f15948611a269c3ee23a0bcd",
      "fileid": "https://r2.ropensci.org/1af2639d74b7c229b16dd9e55b6ac0b202a93ad3d71c2ebfc1de753b709e5d08",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bnaras/actions/runs/38971491345"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.2.0",
      "date": "2026-10-16T22:01:36.000Z",
      "arch": "aarch64",
      "commit": "f73dbb7d156b0b35f15948611a269c3ee23a0bcd",
      "fileid": "https://r2.ropensci.org/e63ebd2f95e494552dbb14f4a24d1ac48d2980c4032466a16c577a5886912401",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bnaras/actions/runs/38971491345"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.2.0",
      "date": "2026-10-16T22:02:11.000Z",
      "arch": "x86_64",
      "commit": "f73dbb7d156b0b35f15948611a269c3ee23a0bcd",
      "fileid": "https://r2.ropensci.org/1d402caf0996e37baeab11f5f8c136ab12026a9d33ce25db06395c0346b7c58c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bnaras/actions/runs/38971491345"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "2.2.0",
      "date": "2026-10-16T22:01:27.000Z",
      "arch": "aarch64",
      "commit": "f73dbb7d156b0b35f15948611a269c3ee23a0bcd",
      "fileid": "https://r2.ropensci.org/eaeb226413f227ed57a69e4b0bbbb97b0936f1cd5f8cd4ffcbd2eff8f5a51bf9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bnaras/actions/runs/38971491345"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "2.2.0",
      "date": "2026-10-16T22:02:06.000Z",
      "arch": "x86_64",
      "commit": "f73dbb7d156b0b35f15948611a269c3ee23a0bcd",
      "fileid": "https://r2.ropensci.org/0fb93deefcc6c689082946bd9df7f92be8885145c9377fb129145f3e33ccaf10",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bnaras/actions/runs/38971491345"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "2.2.0",
      "date": "2026-10-16T21:51:32.000Z",
      "arch": "emscripten",
      "commit": "f73dbb7d156b0b35f15948611a269c3ee23a0bcd",
      "fileid": "https://r2.ropensci.org/2c3dafa8bb84bae6932890cdad423556e33d4cedb306974e7226bdb35691a808",
      "status": "success",
      "buildurl": "https://github.com/r-universe/bnaras/actions/runs/38971491345"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2.2.0",
      "date": "2026-10-16T21:54:03.000Z",
      "arch": "aarch64",
      "commit": "f73dbb7d156b0b35f15948611a269c3ee23a0bcd",
      "fileid": "https://r2.ropensci.org/d990afcd8008132f9889daf46ed37316a8e383724b931ceaa8fc9a74476f1cd7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bnaras/actions/runs/38971491345"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2.2.0",
      "date": "2026-10-16T21:50:53.000Z",
      "arch": "x86_64",
      "commit": "f73dbb7d156b0b35f15948611a269c3ee23a0bcd",
      "fileid": "https://r2.ropensci.org/46657ec300ddd98aa0a25a2144415031671287737a675a690c7a55051e4d050f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bnaras/actions/runs/38971491345"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "2.2.0",
      "date": "2026-10-16T21:50:44.000Z",
      "arch": "x86_64",
      "commit": "f73dbb7d156b0b35f15948611a269c3ee23a0bcd",
      "fileid": "https://r2.ropensci.org/888a4f8f32fe48c775a46613d4e7b276f473c640034545f7c8fd03102b0a77bb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bnaras/actions/runs/38971491345"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "2.2.0",
      "date": "2026-10-16T21:52:43.000Z",
      "arch": "aarch64",
      "commit": "f73dbb7d156b0b35f15948611a269c3ee23a0bcd",
      "fileid": "https://r2.ropensci.org/52090f886ea0934465332da343d8cd71bb80a945a33e0c8ec2e9310970330cac",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bnaras/actions/runs/38971491345"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "2.2.0",
      "date": "2026-10-16T21:50:54.000Z",
      "arch": "x86_64",
      "commit": "f73dbb7d156b0b35f15948611a269c3ee23a0bcd",
      "fileid": "https://r2.ropensci.org/713fcb613a411cfb6b2b0f4c77ba56efe2d28d95553d524ce83c57731b695987",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/bnaras/actions/runs/38971491345"
    }
  ]
}