Changes in version 2.2.0 - New robust = TRUE argument for hcubature(), pcubature(), and cubintegrate(), opting in to more conservative error estimation for non-smooth or localized integrands. Default behavior is unchanged; see the Get Started vignette for details and limitations. - Breaking change: hcubature() and pcubature() now return returnCode = 2 (CUBATURE_NOT_CONVERGED) and emit a warning when maxEval is exhausted without reaching the requested tolerance. Previously such cases silently returned returnCode = 0. New C-header constants CUBATURE_SUCCESS, CUBATURE_FAILURE, and CUBATURE_NOT_CONVERGED are exported. - Vignettes reorganized: cubature.Rmd is now a gentle "Get started" introduction covering cubintegrate() and the robust path; benchmark content moved to a new vectorization.Rmd vignette. The version2.Rmd notes have been retired. - New hex sticker (man/figures/logo.png) and pkgdown theme. - Breaking change: Removed deprecated doChecking parameter from hcubature() and pcubature() (ignored since v2.0). - Fixed default_args() typo (sauve → suave) and cubintegrate() doc typo (forcCuba → for Cuba). - Harmonized default absError between hcubature and pcubature (both now .Machine$double.eps * 10^2). - Updated example URLs from ab-initio.mit.edu to GitHub. - Examples changed from \dontrun{} to \donttest{} with quick examples that run during package checks. - Added Windows to the CI test matrix. - Build-system fix: .ts timestamp files now depend on the C sources, so edits trigger rebuilds correctly. - Added a comprehensive test suite covering input validation, error handling, boundary conditions, method consistency, and regression against known reference values. Changes in version 2.1.4-1 (2025-11-22) - 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. Changes in version 2.1.4 (2025-06-02) - Include file fixes, thanks Dirk Eddelbuettel. Changes in version 2.1.3 (2025-05-20) - Further CRAN fixes. Changes in version 2.1.2 (2025-05-05) - CRAN fixes to use safe printf() and other things. Changes in version 2.1.1 (2024-07-14) - Fix documentation errors shown in CRAN checks - Change default absError value in hcubature, adaptIntegrate, pcubature to .Machine$double.eps * 10^2 to avoid nontermination, a breaking change unfortunately, but necessary - Address issue raised by @jeroen about cross-compilation (thanks Jeroen). Changes in version 2.1.0 (2023-06-11) - Update cubature to 1.0.4 and Cuba to 4.2.2 - Added RANLIB call to libcubature.a (Issue 40). Thanks Sergei Fedorov. - Simplified windows/non-windows organization, with default being windows Changes in version 2.0.4.6 (2023-01-23) - Fix CRAN C23 issues using system requirements USE_C17 - Bug fix: increment correct count of number of evaluations. Thanks Jan Meis. - Removed all solaris and unneeded Rcpp flags - Copied correct includes to inst/include for linking Changes in version 2.0.4.5 (2022-08-16) - Fix math typesetting in documentation and use roxygen markdown tags wherever possible. Changes in version 2.0.4.4 (2022-03-22) - Fix unprotected arguments (Issue 34). Thanks Manuel Koller. - Fix documentation (Issue 32). Thanks Emanuele Guidotti. Changes in version 2.0.4.3 - Unreleased Changes in version 2.0.4.2 (2021-05-13) - Fix Makevars to refer to CC not C (Issue 33) - Replace src/Cuba-4.2-win/common/Random.c:105 with equivalent to ensure gcc 8.x erroneous warning is avoided on Windows - Add rmarkdown to suggests in description Changes in version 2.0.4.1 (2020-07-06) - Pass $(AR), $(ARFLAGS), $(RANLIB) to make so that LTO checks pick up correct plugins. Also add cleanup script. (Thanks, Prof. Brian Ripley) Changes in version 2.0.4 (2019-12-04) - cubintegrate now matches method via match.arg (Issue 25) - Address gcc version 10.0 changes due to -fno-common default setting. Changes in version 2.0.3 (2018-12-18) - Fixed up stack overrun in Cuba-4.2/src/divonne/Split.c (lines 119--128 utilizing a flag for first time through loop - More cleanup of Makevars Changes in version 2.0.2 (2018-12-11) - Fixed up uninitialized count for hcubature (Thanks, Ehsan Masoudi) - Tentative fix of infinite value for minfluct in Cuba-4.2/src/suave/Integrate.c in lines 197--205. (Thanks, Prof. Brian Ripley) - Miscellaneous fixes for compilation on various platforms. - Cleaned up Makevars and Makevars.win to remove some unused flags. Tentative fix for solaris in Makevars and Cuba-4.2/src/common/stddecl.c. - Removed printing of statefile in all the src/*/Integrate.c routines to avoid segfault on solaris. - Added ret_code for return value in call to getloadavg in Cuba-4.2/src/common/Fork.c. Also added an #ifdef SOLARIS for including appropriate header under solaris. - Fixed up call to MASTER variadic macro by including dummy argument 0 in Cuba-4.2/src/common/Fork.c, line 146. - Replaced multi-statement macro with a do { } while(0) hack. - Reworked code around Cuba-4.2/src/divonne/Rule.c checks for key values (lines 593 to 600). - Fixed up call to WORKER variadic macro by including dummy argument 0 in Cuba-4.2/src/common/Parallel.c, line 393. - Moved #ifdef FRAMECOPY outside in Cuba-4.2/src/common/Parallel.c to avoid embedding directives in macro args, lines 70-80. Changes in version 2.0 (2018-11-23) - Major update. Integrates Cuba 4.2 library - Allows for finite or infinite limits of integration (courtesy of Simon Gaure) - Deprecates doChecking argument. Now it does nothing and will be removed in future versions. Changes in version 1.4-1 (2018-10-26) - Fixed up scale argument to tests to conform to pass checks. - Removed any reference to orphaned package R2Cuba and updated vignette with information on imminent 2.0 release. Changes in version 1.4 (2018-06-13) - Fixed up the C call so that it is re-entrant (brought to my attention by Pierre de Villemereuil). This should be considered a bug fix! - Corrected private notes Changes in version 1.3-13 (2018-06-11) - Generated package docs using pkgdown - Synced up to cubature-1.0.3 - Added LICENSE file (request of Nick Youngblut) Changes in version 1.3-12 - Minor typographical and documentation fixes Changes in version 1.3-11 (2017-07-19) - Merged Manuel Koller's registration for C code and vignette fix for NA. - Moved cubature header and exp_cubature headers to inst/include for linking to other packages Changes in version 1.3-10 - Renamed Readme.md to README.md - Removed references to ab-initio website that caused some hassle due to misconfigured site. Changes in version 1.3-9 Changes in version 1.3-8 (2017-05-11) Changes in version 1.3-7 - Registered .Call stuff and removed microbenchmark suggestion in favor of benchr. Changes in version 1.3-4 - Generated smaller pcubature header (clencurt.h) using M = 16 and put back C cubature source in tree. Changes in version 1.3-3 - Moved the cubature-1.0.2 C library to github to avoid hitting the CRAN size limit. Changes in version 1.3-2 - Added vignette showing huge gains due to vectorization Changes in version 1.3-1 - Added pcubature - Added vector versions Changes in version 1.3-0 - Moved to SGJ cubature-1.0.2 version. - adaptIntegrate and hcubature are aliases - hcubature function gains a norm argument that is set to a sensible default so as not to affect depending packages Changes in version 1.2-0 - Moved to Rcpp framework - Added tests in preparation for SGJ cubature-1.0.2 version Changes in version 1.1-3 - Roxygenized in preparation for upgrade to newer version of cubature library on abinitio website Changes in version 1.1-2 (2013-02-25) - Registered native cubature functions adapt_integrate and adapt_integrate_v so that they are directly callable from C (courtesy of Simen Gaure) - Fixed typo in doc for function adaptIntegrate; default value for doChecking was incorrectly stated as TRUE Changes in version 1.1-1 (2011-12-08) - Added doChecking argument (default FALSE) to save some computation time in evaluating integrand (9% speedup). Changes in version 1.1 (2011-11-22) - Synced up to SGJ cubature routines dated 2010-10-18 on his website - Bugfix: potential memory leak fixed up in heap routine (my oversight!) - Routine adaptIntegrate gains ... argument (request of Baptiste Auguie) - Corrected radius constant in testFn2 to match cubature output exactly Changes in version 1.0 (2009-12-20) - Original version of package based on Steven G. Johnson's cubature routines at http://ab-initio.mit.edu/wiki/index.php/Cubature