← Back to all sparks
E

epiworldR

ANALYTICS
Velocity0.0

Fast Agent-Based Epi Models

epiworldR is a thin R shell whose releases track the C++ simulator underneath it

r-packageepidemiologyagent-based-simulationcrancpp-bindingsbuild-hygiene
Current state
Almost every release here is a version bump of the underlying epiworld C++ library, wrapped and pushed to CRAN. The substantive R-side work is narrow and consistent: exposing simulation outputs that were already computed but not reachable from R — outbreak size, active cases, hospitalizations and their savers. The newest release addresses an AddressSanitizer finding, which is the kind of thing CRAN checks surface on a compiled package.
Where it's heading
The R package's job is staying current with the simulator and satisfying CRAN, not evolving its own interface. What direction it has shows in which model outputs get exposed next, and in a steady tidy-up of the build — the custom configure script was dropped in favour of R's built-in C++17 and OpenMP settings, and test coverage has been filled in across several releases with automated assistance.
Prediction
Expect the next release to track another epiworld version bump, with any R-side addition most likely being one more exposed metric or saver, following the pattern of get_hospitalizations and get_outbreak_size.

Recent moves

  1. 4mo ago

    0.14.0 addresses an AddressSanitizer finding

    A version bump addressing an ASan finding ahead of a CRAN release. Compiled-package hygiene rather than a change to what the simulator does.

    View source ↗
  2. 5mo ago

    Wrapper bumped to track a new epiworld version

    A single-commit release updating the bundled epiworld version. The R side is unchanged, which is the normal shape of a release in this feed.

    View source ↗
  3. 5mo ago

    Build drops the custom configure script for R's C++17 and OpenMP settings

    Replaces a custom configure script with R's built-in C++17 and OpenMP handling, alongside fixes found during a tabletop exercise and an epiworld 0.12.0 bump. Removing bespoke build machinery is what makes a compiled CRAN package less fragile across platforms.

    View source ↗
  4. 6mo ago

    epiworld bumped to 0.11.2

    A one-line version bump of the underlying library. No R-side change.

    View source ↗
  5. 7mo ago

    Tests updated at CRAN's request

    A patch release updating tests to satisfy a CRAN request. Administrative, and typical of the overhead of keeping a compiled package on the archive.

    View source ↗
  6. 7mo ago

    Hospitalizations, outbreak size and active cases exposed to R

    Exposes get_hospitalizations, get_outbreak_size and get_active_cases along with their savers, and removes the measles models. The clearest example of the package's real work — surfacing simulator state that R users could not previously reach.

    View source ↗