measles 0.3.1-0
User visible changes
The function
InterventionMeaslesPEP()implements post-exposure prophylaxis featuring both MMR and IG. The process is highly configurable and can be attached to theModelMeaslesSchool(). Not available yet for other models.The models
ModelMeaslesMixing()andModelMeaslesMixingRiskQuarantine()no longer usecontact_rate; instead, theircontact_matrixstores the expected number of contacts between groups. Calibration can now be done with the new functioncalibrate_mixing_model().Updated the documentation, examples, and contact-matrix helpers for the mixing models so they consistently treat
contact_matrixas the full contact-rate matrix.Aligned the package documentation and examples with the updated measles state names from epiworldR, replacing
Exposed/Quarantined ExposedwithLatent/Quarantined Latentwhere those names refer to model states.Changed the default vaccine efficacy of Measles from 99% to 97%.
The contact tracing window parameter in
ModelsMeaslesMixing()andModelMeaslesMixingRiskQuarantine()was capturing agents that may have been in contact with infected cases way past the window. No important regressions observed from this change.
Internal changes
The Measles models were removed from epiworldR. This streamlines the development process. So, if we need to update Measles related models, we only need to update the measles R package, not epiworldR and measles.
The
ModelMeaslesMixingincludes parameter validation on the C++ side.The latest version of
epiworldoptimizes the binomial sampler, switching to a Poisson sampler based on Le Cam’s inequality.
measles 0.2.0
CRAN release: 2026-03-31
User visible changes
The vaccination efficacy has been modified to reflect a probability (the original intent) instead of a rate. Previous versions were resulting in a higher than expected vaccinated individuals becoming infected (update from epiworldR 0.13.0.0).
Improved documentation regarding vaccination rates and probabilities across models.
measles 0.1.1
CRAN release: 2026-02-21
Internal changes
Removed the
configurescript infrastructure (configure.ac,configure,cleanup,src/Makevars.in) in favor of a staticsrc/Makevarsthat uses R’s own$(SHLIB_OPENMP_CXXFLAGS)for OpenMP support. This addresses CRAN policy compliance by removing unnecessary C++11 compiler testing and custom OpenMP detection.Added
CXX_STD = CXX17tosrc/Makevarsandsrc/Makevars.win, andSystemRequirements: C++17toDESCRIPTION, as required by the epiworld C++ headers (std::string_view,if constexpr).
measles 0.1.0
CRAN release: 2026-02-12
This is the first release of the measles R package, a spin-off of the epiworldR package, focused on modeling measles transmission dynamics.
New Features
- Added
get_contact_matrix()andset_contact_matrix()functions to retrieve and modify the contact matrix for mixing models. These functions are available for:ModelMeaslesMixingModelMeaslesMixingRiskQuarantine