Skip to content

anthro

1.1.0Package record

Computation of the WHO Child Growth Standards

1packages dependsuggested by 1
13.2Kdownloads / year
99.5%test coverage
13/13flavors OK

Overview

About

Provides WHO Child Growth Standards (z-scores) with confidence intervals and standard errors around the prevalence estimates, taking into account complex sample designs. More information on the methods is available online: https://www.who.int/tools/child-growth-standards.

Changes in 1.1.0

Method

  • The Weight-for-length/height (zwfl) z-score indicator is now also computed for observations where weight or lenhei is outside the plausible ranges. The plausible ranges were 0.9-58 for weight and 38-150 for lenhei.

Z-scores

  • The resulting data frame of anthro_zscores has a new column c9mo_flag to indicate whether an incorrect measurement position was observed with children younger than 9 months.

Performance

  • For inputs with cluster/strata = NULL a faster method was added for this special case to compute anthro_prevalence. This method yields the same results within an observed tolerance of < 0.0001 on test data.
Show all changes in 1.1.0Hide the rest of the changes in 1.1.0

Bugfix

  • Fixed a bug during prevalence computation when a value used as a group (like sex) contains NA and at the same time all values in that group are NA as well. Previously this resulted in a hard stop of the computation, now the code gracefully handles it.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 4.1 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 1.1.0
READMEYes · 281 wordsVignettesNoNEWSYes · 100% structured · mentions 1.1.0Citation fileNo
Help pages
8includes a package overview page
Examples that run
50%1 run in a plain check · 1 never run
Exported functions with examples
29%
Documented parameters
100%
Return-value docs
29%
Help pages citing references
50%

Downloads

13.2K
CRAN downloads in the past year
Rank #3,338 · ~36/day · ~1.1K/mo
Daily download trend is not available in this view yet.
1.3K30 days
3.4K90 days
13.2K1 year
Compare downloads with other packages →
Also on104 r2u24 autocran

Repository

46Stars
12Forks
5Open issues
1Open PRs
7Releases
172Commits
2Commit identities
License file reads as GPL-3.0 · 172 commits · Last activity 2026-01-30 · 0% stars, 30d · Default branch at 1.1.0.9000, ahead of CRAN 1.1.0 (checked 2026-10-22)
Responsiveness
How these are sampled
PRs merged (all time)
90%
Median days to close, 50 most recently updated closed issues
16
Median days to close, 50 most recently updated closed PRs
0

Stars over time

2025-09-25 · 372026-08-20 · 46
PracticesBeta

8 development-tooling and community-health practices detected across 5 families in the upstream repository

Checks run against github.com/worldhealthorganization/anthro on 2026-10-22.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Docs source (3)
README.Rmdpkgdown

GitHub Pages site last deployed 2026-01-30

Reproducibility and dev environment (1)
data-raw/
CRAN release process (1)
cran-comments.md
Show all practicesHide 1 practice
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
2 external dependencies (excludes base and recommended)

Installing anthro adds 7 packages (4 with compiled code, 6.2 MB of source tarballs). Heaviest: survey 2.3 MB, Rcpp 1.8 MB, RcppArmadillo 1.0 MB.

Depends (1)
R >= 3.2
Imports (1)
LinkingTo (0)
none
Suggests (1)
Enhances (0)
none
Reverse dependencies
1direct
0indirect
Imports 1
Suggested by 1
Depends, Imports or LinkingTo, most downloaded first
Suggests, most downloaded first

People & History

People (5)
Contributor, Maintainer since 1.1.0 (2026)
Contributor · added in 1.1.0
Copyright holder · added in 1.0.0

Previously maintained by Dirk Schumacher (0.9.1 to 1.0.1).

Releases (7)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • 1.1.0Latest
    record
    2026-01-29 · current release · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • 1.0.1
    record
    2023-09-17 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • 1.0.0
    record
    2021-11-18 · diff ↗ ·
    added 5 exports
    anthro_api_compute_prevalence, anthro_api_compute_zscore, anthro_api_compute_zscore_adjusted, anthro_api_standardize_oedema_var, anthro_api_standardize_sex_var
  • R
    R 4.1.0 released · 2021-05-18
  • 0.9.4
    record
    2020-10-30 · diff ↗
  • 0.9.3
    record
    2020-05-21 · diff ↗
  • R
    R 4.0.0 released · 2020-04-24
  • 0.9.2
    record
    2020-01-08 · diff ↗
  • R
    R 3.6.0 released · 2019-04-26
  • 0.9.1
    record
    2019-03-23
  • R
    R 3.5.0 released · 2018-04-23

Package metadata

First published
2019-03-23
Total releases
7 / 7 yrs
License
GPL-3 OSI
Minimum R
≥ 3.2
Download size
233 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("anthro")
Borghi, E., World Health Organization, Gatica Dominguez, G., Polonsky, J., & Schumacher, D. (2026). anthro: Computation of the WHO Child Growth Standards (Version 1.1.0) [Computer software]. https://doi.org/10.32614/CRAN.package.anthro

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for anthro version 1.1.0 [Data set]. HJJB, LLC. Data release v2026-10-24. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-24, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy