paramix 0.0.3
CRAN release: 2026-10-29
Documentation and Vignettes
- Added a dedicated vignette
reproducing-paper-analysisdescribing how to run the simulation study from Goodfellow et al. (2025) doi:10.1371/journal.pcbi.1013420, including reference tables comparing calculated outputs with published findings. - Updated package citation metadata in
DESCRIPTIONandinst/CITATIONfor the published PLOS Computational Biology paper. - Extended and clarified mathematical formulations in roxygen documentation and vignettes.
- Added a package hex logo in
man/figures/logo.pngand configured pkgdown favicons with light/dark theme support. - Removed generated documentation (
man/*.Rd) and intermediate vignette outputs from version control, managing them dynamically throughjust docs.
Error Handling and Validation
- Centralized user-facing error and warning signaling into reusable, named format templates in
R/messages.R. - Added comprehensive unit test coverage for all input validation and signaling paths in
tests/testthat/test-messages.R. - Integrated
roxyglobalsto automate global variable declarations inR/globals.R.
Demonstration Analysis and Reproducibility
- Modernized the bundled analysis scripts in
inst/analysis/to support updated demographic data (UN WPP 2022/2024) and modernsocialmixr(>= 0.5.0) contact matrix interfaces. - Added automated numerical assertions in
inst/analysis/scripts/run_numbers.Rcomparing calculated 65+ IFR increases, averted deaths, and averted YLLs directly against published benchmarks. - Added
just test-analysisworkflow and a dedicated CI action to verify that the reproduction pipeline executes successfully.
Build and Developer Workflows
- Standardized developer workflows via
justfilerecipes (format,lint,docs,install,test,coverage,site,check). - Enforced code formatting via
airand static linting vialintr. - Added automated package spell checking via
tests/spelling.Randinst/WORDLIST. - Modernized GitHub Actions CI workflows for multi-platform checks (Linux, macOS, Windows), automated linting, test coverage reporting, and automated pkgdown deployment.
