R/on_load.R

Defines functions .onAttach data_preparation_news

Documented in data_preparation_news

# data_preparation_news
# -------------
#' Show the NEWS file
#'
#'Show the NEWS file of the dataPreparation package.
#' @export
data_preparation_news <- function() {
    news_file <- system.file("NEWS", package = "dataPreparation")
    file.show(news_file)
}

# .onAttach
# ----------
.onAttach <- function(libname, pkgname) {
    dpver <- read.dcf(file = system.file("DESCRIPTION", package = pkgname),
    fields = "Version")
    packageStartupMessage(paste(pkgname, dpver))
    packageStartupMessage("Type data_preparation_news() to see new features/changes/bug fixes.")
}

Try the dataPreparation package in your browser

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

dataPreparation documentation built on July 9, 2023, 7:02 p.m.