R/pkdata-package.R

Defines functions .onLoad

Documented in .onLoad

#' PK Data
#'
#' This package will prepare data sets for PK data analysis.
#'
#' @name pkdata-package
#' @aliases pkdata-package pkdata
#' @docType package
#' @author Cole Beck, Leena Choi
#'
#' Maintainer: Cole Beck \email{cole.beck@@vumc.org}
#'
#' @keywords package
#' @import lubridate
NULL

#'Internal objects.
#'
#'Internal objects.
#'
#'This function should not be called by the user.
#'
#'@name pkdata-internal
#'@keywords internal
#'

.onLoad <- function(...) {
  # new option, pkdata time-zone
  tz <- Sys.timezone()
  if(is.na(tz)) tz <- ''
  options(pkdata.tz = tz)
}

Try the pkdata package in your browser

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

pkdata documentation built on Oct. 23, 2020, 6:19 p.m.