An Efficient Workflow for Plausibility Checks and Prevalence Analysis of Wasting in R
Overview
A simple and streamlined workflow for plausibility checks and prevalence analysis of wasting based on the Standardized Monitoring and Assessment of Relief and Transition (SMART) Methodology https://smartmethodology.org/, with application in R.
Bug fixes
- Resolved an issue in
mw_wrangle_age()that ensures out‑of‑range age‑in‑months values are set toNAwhenmwanais provided with a dataset containing pre‑calculated age‑in‑months. The function already applied this rule when age‑in‑months was derived from date of birth and data‑collection date; this fix extends the same behaviour to externally supplied age‑in‑months values.
General updates
- Refactored wasting case definers to halt execution and raise an error when oedema contains missing values.
- Revised the mathematical expression for the age-weighting approach in
mw_estimate_age_weighted_prev_muac(). - Added a hyperlink to the internet‑deployed
mwanaShiny App (mwanaApp) in the website’s list of links.
From NEWS.md in the release
Install
Health
- OK13 OKNow
- OK9 OK2026-09-04
Documentation
- Help pages
- 36 (8 internal)includes a package overview page
- Examples that run
- 100%28 run in a plain check
- Exported functions with examples
- 100%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 33%
Downloads
Repository
- PRs merged (all time)
- 96%
- Median days to close, 50 most recently updated closed issues
- 2
- Median days to close, 50 most recently updated closed PRs
- 0
Issues over time
Commits over time
Commit identities over time
13 development-tooling and community-health practices detected across 8 families in the upstream repository
Checks run against github.com/mphimo/mwana on 2026-10-18.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2026-09-29 · The repository has a site deploy workflow
pkgdown site last built 2026-09-29
Show all practicesHide 4 practices
Dependencies
Installing mwana adds 59 packages (33 with compiled code, 59 MB of source tarballs). Heaviest: stringi 11 MB, bslib 5.6 MB, nipnTK 5.1 MB.
Code & Tests
Datasets
People & History
- 0.2.5Latest2026-09-02 · current release
- RR 4.6.0 released · 2026-04-24
Package metadata
- First published
- 2026-09-02
- Total releases
- 1 / 1 yrs
- License
- GPL (>= 3) OSI
- Minimum R
- ≥ 4.1
- Bundled data
- 67 KB / 7 files
- Download size
- 3.1 MB
Cite
Cite this package
Run in R for the authors' entry:
citation("mwana")The package provides a citation file, so citation() returns the authors' own entry.
The repository also keeps a CITATION.cff.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-22, which the citation names so these numbers can be found later. More on citing and the projects behind them.