CRAN Package Check Results for Maintainer ‘Josie Athens <josie.athens at gmail.com>’

Last updated on 2025-10-10 13:50:02 CEST.

Package ERROR OK
pubh 9 4

Package pubh

Current CRAN status: ERROR: 9, OK: 4

Version: 2.0.0
Check: examples
Result: ERROR Running examples in ‘pubh-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### 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 Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-patched-linux-x86_64, r-release-linux-x86_64

Version: 2.0.0
Check: examples
Result: ERROR 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 Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64, r-release-windows-x86_64, r-oldrel-windows-x86_64

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.