Skip to content
pubh needs epitools, which CRAN will archive unless its check problems are fixed by Nov 2.

A Toolbox for Public Health and Epidemiology

0packages depend
5.4Kdownloads / year
–test coverage
13/13flavors OK

Overview

About

A toolbox for making R functions and capabilities more accessible to students and professionals from Epidemiology and Public Health related disciplines. Includes a function to report coefficients and confidence intervals from models using robust standard errors (when available), functions that expand 'ggplot2' plots and functions relevant for introductory papers in Epidemiology or Public Health. Please note that use of the provided data sets is for educational purposes only.

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
  • OK13 OK2026-06-09
  • ERROR12 OK, 1 ERROR2026-06-08
  • OK13 OK2026-05-02
Show 1 earlier changeHide 1 earlier change
  • ERROR13 OK, 1 ERROR2026-03-10
Advisories

none known

Documentation

In release 3.0.0
READMEYes · 43 wordsVignettesYes · 1 · dynamicNEWSNoCitation fileNoWebsitenot declared in DESCRIPTION
Help pages
54
Examples that run
100%44 run in a plain check
Exported functions with examples
95%
Documented parameters
100%
Return-value docs
68%
Help pages citing references
2%

Downloads

5.4K
CRAN downloads in the past year
Rank #6,651 · ~15/day · ~449/mo
Daily download trend is not available in this view yet.
59730 days
1.3K90 days
5.4K1 year
Compare downloads with other packages →
Also on84 r2u5 autocran

Repository

5Stars
4Forks
5Open issues
1Open PRs
0Releases
70Commits
5Commit identities
70 commits · Last activity 2025-10-10
Responsiveness
How these are sampled
PRs merged (all time)
100%
Median days to close, 50 most recently updated closed issues
not measured
Median days to close, 50 most recently updated closed PRs
6

Stars over time

2024-07-30 · 52026-07-07 · 5
PracticesBeta

1 development-tooling and community-health practice detected across 1 family in the upstream repository

Checks run against github.com/josie-athens/pubh on 2026-10-18.

Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
25 external dependencies (excludes base and recommended)

Installing pubh adds 126 packages (58 with compiled code, 115 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, data.table 5.7 MB.

Depends (6)
LinkingTo (0)
none
Enhances (0)
none
Dependencies facing archival

CRAN will archive these unless their check problems are fixed by the date shown. This package needs each one to install.

Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Datasets

People & History

People (4)
Author, Maintainer since 0.1.6 (2018)
Contributor
Contributor
Contributor
Listed in earlier versions (8)
Show 8 peopleHide 8 people
no longer listed · 0.1.6 to 0.4.3
no longer listed · 0.1.6 to 0.4.3
no longer listed · 0.1.6 to 0.4.3
no longer listed · 0.1.6 to 0.4.3
no longer listed · 0.1.6 to 0.4.3
no longer listed · 0.1.6 to 0.4.3
no longer listed · 0.1.6 to 0.4.3
no longer listed · 0.4.1 to 0.4.3
Releases (24)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • 3.0.0Latest
    record
    2025-10-21 · current release · diff ↗ ·
    removed 4 exports
    axis_labs, box_plot, gf_star, hist_norm
    added 6 exports
    cosm_reg, cosm_sum, cross_tbl, effect_plot, gg_star, theme_pubh
  • R
    R 4.5.0 released · 2025-04-11
  • 2.0.0
    record
    2024-10-08 · diff ↗ ·
    removed 8 exports
    contingency, contingency2, cosm_reg, cosm_sum, cross_tbl, diag_test, diag_test2, theme_pubh
  • 1.3.7
    record
    2024-08-17 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 1.3.2
    record
    2024-01-11 · diff ↗
  • 1.3.1
    record
    2023-11-14 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • 1.2.7
    record
    2022-04-04 · diff ↗
  • 1.2.5
    record
    2021-10-11 · diff ↗ ·
    added 44 exports
    axis_labs, bar_error, bland_altman, box_plot, bst, coef_det, contingency, contingency2, cosm_reg, cosm_sum, cross_tbl, diag_test, diag_test2, estat, expand_df, freq_cont, gen_bst_df, geo_mean, get_r2, gf_star, glm_coef, harm_mean, hist_norm, inv_logit, jack_knife, knife_mean, leverage, logistic_gof, mhor, model_labels and 14 more
  • R
    R 4.1.0 released · 2021-05-18
  • unarchivedReturned to CRAN
    2021-02-16
  • 1.1.20
    record
    2021-02-16 · diff ↗
  • archivedRemoved from CRAN
    2021-02-12
    requires archived package 'huxtable'
Show 22 earlier eventsHide 22 earlier events

Package metadata

First published
2018-01-19
Total releases
24 / 8 yrs
License
GPL-2 OSI
Minimum R
≥ 4.5.0
Bundled data
23 KB / 14 files
Download size
225 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("pubh")
Athens, J., R-Core, Fox, J., & Harell, F. (2025). pubh: A Toolbox for Public Health and Epidemiology (Version 3.0.0) [Computer software]. https://doi.org/10.32614/CRAN.package.pubh

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 pubh version 3.0.0 [Data set]. HJJB, LLC. Data release v2026-10-22. https://doi.org/10.5281/zenodo.21843040

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.

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