Skip to content

ameras

Analyze Multiple Exposure Realizations in Association Studies

v0.4.0 · May 29, 2026 · MIT + file LICENSE

Description

Analyze association studies with multiple realizations of a noisy or uncertain exposure. These can be obtained from e.g. a two-dimensional Monte Carlo dosimetry system (Simon et al 2015 <doi:10.1667/RR13729.1>) to characterize exposure uncertainty. The implemented methods are regression calibration (Carroll et al. 2006 <doi:10.1201/9781420010138>), extended regression calibration (Little et al. 2023 <doi:10.1038/s41598-023-42283-y>), Monte Carlo maximum likelihood (Stayner et al. 2007 <doi:10.1667/RR0677.1>), frequentist model averaging (Kwon et al. 2023 <doi:10.1371/journal.pone.0290498>), and Bayesian model averaging (Kwon et al. 2016 <doi:10.1002/sim.6635>). Supported model families are Gaussian, binomial, multinomial, Poisson, proportional hazards, and conditional logistic.

Downloads

CRAN

454

Last 30 days

8618th

1.5K

Last 90 days

1.6K

Last year

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

r2u CRAN

27

Last 30 days

177

Last 90 days

186

Last year

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

autoCRAN

5

Last 7 days

38

Last 30 days

0

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

whether package can be installed

install log ‘’ does not exist
OK 12 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 25, 2026
NOTE 11 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 22, 2026
NOTE r-oldrel-macos-x86_64

installed package size

installed size is 17.1Mb
  sub-directories of 1Mb or more:
    doc    6.1Mb
    libs  10.1Mb
NOTE r-oldrel-windows-x86_64

installed package size

installed size is  7.9Mb
  sub-directories of 1Mb or more:
    doc   6.1Mb
ERROR 10 OK · 2 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Apr 18, 2026
ERROR r-devel-windows-x86_64

whether package can be installed

Installation failed.
See 'd:/Rcompile/CRANpkg/local/4.6/ameras.Rcheck/00install.out' for details.
NOTE r-oldrel-macos-x86_64

installed package size

installed size is 17.1Mb
  sub-directories of 1Mb or more:
    doc    6.1Mb
    libs  10.1Mb
NOTE r-oldrel-windows-x86_64

installed package size

installed size is  7.9Mb
  sub-directories of 1Mb or more:
    doc   6.1Mb
NOTE 5 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 30, 2026
NOTE r-oldrel-macos-x86_64

installed package size

installed size is 17.1Mb
  sub-directories of 1Mb or more:
    doc    6.1Mb
    libs  10.1Mb
NOTE r-oldrel-windows-x86_64

installed package size

installed size is  7.9Mb
  sub-directories of 1Mb or more:
    doc   6.1Mb

Code

Structure

Lines of code

14,541

Files

88

Compiled share

3.7%

Has compiled src

Yes

Language breakdown

R 9,711 (66.8%)C/C++/src 536 (3.7%)Tests 2,308 (15.9%)Docs 1,401 (9.6%)Vignettes 585 (4%)

API

Exported functions

9

Internal functions

81

Recent export changes

v0.4.0+3 Rhat, included_realizations, summary_table
v0.2.0+1 ecdfplot

Testing & CI

Has tests

Yes

Test-to-code ratio

0.24

testthat edition

3

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

88.9%

\dontrun example ratio

50%

Roxygen coverage

100%

Has pkgdown

No

NEWS present

Yes

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

50%

Unsafe pattern score

0

Dep constraint coverage

7.7%

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

4

First release

2026-03-29

Latest release

2026-05-29

Avg cadence

22 days

Cold removal rate

Dep drift

5

LOC over versions

v0.1.1: 6,313 LOCv0.2.0: 12,222 LOCv0.3.0: 12,410 LOCv0.4.0: 14,541 LOC

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

Dependency Network

Dependencies Reverse dependencies nimble Rcpp RcppEigen coda numDeriv mvtnorm MCMCvis tidyselect lifecycle ameras

Version History

4 tracked
updated 0.4.0 ← 0.3.0 diff May 29, 2026
updated 0.3.0 ← 0.2.0 diff May 7, 2026
updated 0.2.0 ← 0.1.1 diff Apr 26, 2026
new 0.1.1 Mar 29, 2026