Skip to content

History Matching and Emulation Package

0packages depend
3.7Kdownloads / year
73.9%test coverage
13/13flavors OK

Overview

About

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.

Changes in 1.6.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_design for stability
  • diagnostic_pass now respects beta.var = TRUE if it retrains emulators
  • hit_by_wave can 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 beta and u exists)
  • Proto_emulator now accepts full covariance matrix returns and handles them appropriately.

Major changes

  • import_emulator_from_json and export_emulator_to_json added, 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_design can accordingly be told to skip the point thinning via thin = FALSE.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 14.2 min · r-oldrel-windows-x86_64
Status changes
  • 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
Advisories

none known

Documentation

In release 1.6.2
READMEYes · 337 wordsVignettesYes · 4 · dynamicNEWSYes · 100% structured · mentions 1.6.2Citation fileYes · cites a publicationWebsiteYes
Cites a JSS article
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

3.7K
CRAN downloads in the past year
Rank #10,383 · ~10/day · ~312/mo
Daily download trend is not available in this view yet.
40630 days
99690 days
3.7K1 year
Compare downloads with other packages →
Also on120 r2u5 autocran

Repository

20Stars
3Forks
7Open issues
0Open PRs
9Releases
266Commits
4Commit identities
cranrr-package
266 commits · Last activity 2025-11-28 · +5.3% stars, 30d
Responsiveness
How these are sampled
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

2026-07-14 · 192026-10-12 · 20
PracticesBeta

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.

Continuous integration (3)
GitHub ActionsR CMD check workflowTravis CI (config file)

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

Docs source (1)
README.Rmd
Coverage (2)
Coverage reporting (Codecov).covrignore
CRAN release process (2)
cran-comments.mdCRAN-SUBMISSION
Show all practicesHide 1 practice
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
20 external dependencies (excludes base and recommended)

Installing hmer adds 44 packages (20 with compiled code, 42 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, patchwork 3.2 MB.

Depends (1)
R >= 4.1.0
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Datasets

People & History

People (2)
Author, Maintainer since 1.0.0 (2022)
Author · added in 1.4.0
Releases (9)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • 1.6.2Latest
    record
    2025-11-28 · current release · diff ↗ ·
    added 4 exports
    export_emulator_to_json, import_emulator_from_json, maximin_sample, prin_vars
  • R
    R 4.5.0 released · 2025-04-11
  • 1.6.0
    record
    2024-05-31 · diff ↗
  • 1.5.9
    record
    2024-05-15 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 1.5.6
    record
    2023-08-30 · diff ↗ ·
    added 2 exports
    diagnostic_pass, hit_by_wave
  • 1.5.0
    record
    2023-05-31 · diff ↗ ·
    added 1 export
    generate_new_design
  • R
    R 4.3.0 released · 2023-04-21
  • 1.4.0
    record
    2023-03-29 · diff ↗ ·
    added 2 exports
    Proto_emulator, collect_emulators
  • 1.2.0
    record
    2022-11-08 · diff ↗
  • 1.0.1
    record
    2022-05-17 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 1.0.0
    record
    2022-04-14
  • R
    R 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.

APA

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

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.

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