R/pregnancy-package.R

#' @keywords internal
"_PACKAGE"

# hack to prevent NOTE in check for colnames in medication data frames
# see https://r-pkgs.org/package-within.html#echo-a-working-package
medication <- format <- quantity <- start_date <- stop_date <- NULL
to <- from <- days <- quant <- NULL

# To allow mocking
# see https://testthat.r-lib.org/reference/local_mocked_bindings.html
Sys.Date <- NULL # nolint: object_name_linter

## usethis namespace: start
#' @importFrom dplyr %>%
#' @importFrom rlang %||%
## usethis namespace: end
NULL

Try the pregnancy package in your browser

Any scripts or data that you put into this service are public.

pregnancy documentation built on Sept. 14, 2025, 5:09 p.m.