Skip to content

hmer

History Matching and Emulation Package

v1.6.2 · Nov 28, 2025 · MIT + file LICENSE

Description

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>.

Downloads

CRAN

343

Last 30 days

12379th

752

Last 90 days

4.7K

Last year

Trend: +105.4% (30d vs prior 30d)

r2u CRAN

0

Last 30 days

40

Last 90 days

158

Last year

Trend: -100% (30d vs prior 30d)

autoCRAN

1

Last 7 days

5

Last 30 days

1

All-time

autoCRAN-only: this name is served only by autoCRAN, so the count is exact.

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 9, 2026
ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Jun 8, 2026
ERROR r-devel-linux-x86_64-debian-gcc

package dependencies

Package required but not available: ‘GGally’

See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’
manual.
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Code

Structure

Lines of code

20,565

Files

139

Compiled share

0%

Has compiled src

No

Language breakdown

R 11,188 (54.4%)Tests 4,013 (19.5%)Docs 4,125 (20.1%)Vignettes 1,239 (6%)

API

Exported functions

51

Internal functions

46

Recent export changes

v1.6.2+4 export_emulator_to_json, import_emulator_from_json, maximin_sample +1 more
v1.5.6+2 diagnostic_pass, hit_by_wave

Testing & CI

Has tests

Yes

Test-to-code ratio

0.36

testthat edition

3

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

92.2%

\dontrun example ratio

16.7%

Roxygen coverage

100%

Has pkgdown

No

NEWS present

Yes

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

100%

Unsafe pattern score

12

Dep constraint coverage

0%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

4.1.0

System requirements

C++ standard

License

MIT + file LICENSE

License flags

SPDX valid, OSI approved

History

Versions

9

First release

2022-04-14

Latest release

2025-11-28

Avg cadence

116 days

Cold removal rate

Dep drift

8

LOC over versions

v1.0.0: 14,195 LOCv1.0.1: 17,729 LOCv1.2.0: 18,109 LOCv1.4.0: 19,307 LOCv1.5.0: 20,470 LOCv1.5.6: 21,308 LOCv1.5.9: 19,962 LOCv1.6.0: 19,964 LOCv1.6.2: 20,565 LOC

Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.

Dependency Network

Dependencies Reverse dependencies purrr dplyr ggplot2 lhs MASS R6 viridis mvtnorm GGally rlang isoband cluster pdist stringr jsonlite hmer

Version History

10 tracked
new 1.6.2 Mar 10, 2026
updated 1.6.2 ← 1.6.0 diff Nov 27, 2025
updated 1.6.0 ← 1.5.9 diff May 30, 2024
updated 1.5.9 ← 1.5.6 diff May 14, 2024
updated 1.5.6 ← 1.5.0 diff Aug 29, 2023
updated 1.5.0 ← 1.4.0 diff May 30, 2023
updated 1.4.0 ← 1.2.0 diff Mar 28, 2023
updated 1.2.0 ← 1.0.1 diff Nov 7, 2022
updated 1.0.1 ← 1.0.0 diff May 16, 2022
new 1.0.0 Apr 13, 2022