Description
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.
Downloads
450
Last 30 days
8500th
1.3K
Last 90 days
5.8K
Last year
Trend: -0.7% (30d vs prior 30d)
CRAN Check Status
1
ERROR
13
OK
Show all 14 flavors
| Flavor | Status |
|---|---|
| r-devel-linux-x86_64-debian-clang | OK |
| r-devel-linux-x86_64-debian-gcc | OK |
| r-devel-linux-x86_64-fedora-clang | OK |
| r-devel-linux-x86_64-fedora-gcc | OK |
| r-devel-macos-arm64 | OK |
| r-devel-windows-x86_64 | OK |
| r-oldrel-macos-arm64 | OK |
| r-oldrel-macos-x86_64 | OK |
| r-oldrel-windows-x86_64 | ERROR |
| r-patched-linux-x86_64 | OK |
| r-release-linux-x86_64 | OK |
| r-release-macos-arm64 | OK |
| r-release-macos-x86_64 | OK |
| r-release-windows-x86_64 | OK |
Check details (1 non-OK)
ERROR
r-oldrel-windows-x86_64
examples
Running examples in 'pubh-Ex.R' failed
The error most likely occurred in:
> ### Name: axis_labs
> ### Title: Apply labels from variables to axis-labels in plots.
> ### Aliases: axis_labs
>
> ### ** Examples
>
> data(kfm, package = "ISwR")
> require(sjlabelled, quietly = TRUE)
Attaching package: 'sjlabelled'
The following object is masked from 'package:ggplot2':
as_label
> kfm <- kfm |>
+ var_labels(
+ dl.milk = "Breast-milk intake (dl/day)",
+ sex = "Sex",
+ weight = "Child weight (kg)",
+ ml.suppl = "Milk substitute (ml/day)",
+ mat.weight = "Maternal weight (kg)",
+ mat.height = "Maternal height (cm)"
+ )
>
> kfm |>
+ gf_point(weight ~ dl.milk) |>
+ gf_lm(col = 2, interval = "confidence", col = 2) |>
+ axis_labs()
Warning in rep(yes, length.out = len) :
'x' is NULL so the result will be NULL
Error in ans[ypos] <- rep(yes, length.out = len)[ypos] :
replacement has length zero
Calls: axis_labs -> ifelse
Execution halted
Check History
ERROR 13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Mar 10, 2026
ERROR
r-oldrel-windows-x86_64
examples
Running examples in 'pubh-Ex.R' failed The error most likely occurred in: > ### Name: axis_labs > ### Title: Apply labels from variables to axis-labels in plots. > ### Aliases: axis_labs > > ### ** Examples > > data(kfm, package = "ISwR") > requir ...[truncated]... fidence", col = 2) |> + axis_labs() Warning in rep(yes, length.out = len) : 'x' is NULL so the result will be NULL Error in ans[ypos] <- rep(yes, length.out = len)[ypos] : replacement has length zero Calls: axis_labs -> ifelse Execution halted
Dependency Network
Version History
new
3.0.0
Mar 10, 2026