History Matching and Emulation Package
Overview
A set of objects and functions for Bayes Linear emulation and history matching. Core functionality includes automated training of emulators to data, diagnostic functions to ensure suitability, and a variety of proposal methods for generating 'waves' of points. For details on the mathematical background, there are many papers available on the topic (see references attached to function help files or the below references); for details of the functions in this package, consult the manual or help files. Iskauskas, A, et al. (2024) doi:10.18637/jss.v109.i10. Bower, R.G., Goldstein, M., and Vernon, I. (2010) doi:10.1214/10-BA524. Craig, P.S., Goldstein, M., Seheult, A.H., and Smith, J.A. (1997) doi:10.1007/978-1-4612-2290-3_2.
Bug fixes
- Fixed edge-case in diagnostics where emulators could be reordered incorrectly
- Fixed problem where covariance terms were set to zero in variance emulator construction
- Removal of ggbeeswarm dependency ahead of package archival.
Minor changes
- Modifications to line and lhs sampling in
generate_new_designfor stability diagnostic_passnow respectsbeta.var = TRUEif it retrains emulatorshit_by_wavecan now plot number of hits by relative to individual targets of a collection- General optimisation, particularly leveraging certain prior specifications for emulators (for example, if no prior correlation between
betaanduexists) Proto_emulatornow accepts full covariance matrix returns and handles them appropriately.
Major changes
import_emulator_from_jsonandexport_emulator_to_jsonadded, to allow lightweight export/import for use with other systems
Show all changes in 1.6.2Hide the rest of the changes in 1.6.2
- Principal outputs for emulation can be determined using
prin_vars, for high-dimensional output spaces - Maximin sampling used in point generation has been given its own function,
maximin_sample.generate_new_designcan accordingly be told to skip the point thinning viathin = FALSE.
From NEWS.md in the release
Install
Health
- OK13 OK2026-09-09
- ERROR12 OK, 1 ERROR2026-09-04
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-06-09
Show 2 earlier changesHide 2 earlier changes
- ERROR12 OK, 1 ERROR2026-06-08
- OK14 OK2026-03-10
Documentation
- Help pages
- 59
- Examples that run
- 83%35 run in a plain check · 7 only when donttest examples are enabled (R CMD check --as-cran)
- Exported functions with examples
- 82%
- Documented parameters
- 97%
- Return-value docs
- 92%
- Help pages citing references
- 27%
Downloads
Repository
- PRs merged (all time)
- 83%
- Median days to close, 50 most recently updated closed issues
- 14
- Median days to close, 50 most recently updated closed PRs
- 8
Stars over time
Forks over time
Issues over time
9 development-tooling and community-health practices detected across 5 families in the upstream repository
Checks run against github.com/andy-iskauskas/hmer on 2026-10-21.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
Show all practicesHide 1 practice
Dependencies
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 1.6.2Latest2025-11-28 · current release · diff ↗ ·
added 4 exports
export_emulator_to_json, import_emulator_from_json, maximin_sample, prin_vars - RR 4.5.0 released · 2025-04-11
- 1.6.02024-05-31 · diff ↗
- 1.5.92024-05-15 · diff ↗
- RR 4.4.0 released · 2024-04-24
- 1.5.6
- 1.5.0
- RR 4.3.0 released · 2023-04-21
- 1.4.0
- 1.2.02022-11-08 · diff ↗
- 1.0.12022-05-17 · diff ↗
- RR 4.2.0 released · 2022-04-22
- 1.0.02022-04-14
- RR 4.1.0 released · 2021-05-18
Package metadata
- First published
- 2022-04-14
- Total releases
- 9 / 4 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 4.1.0
- Bundled data
- 448 KB / 8 files
- Download size
- 1.6 MB
Cite
Cite this package
Run in R for the authors' entry:
citation("hmer")The package provides a citation file, so citation() returns the authors' own entry.
It points to 10.18637/jss.v109.i10.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-25, which the citation names so these numbers can be found later. More on citing and the projects behind them.