R/hello.R

Defines functions hello_data

Documented in hello_data

# Hello, world!
#
# This is an example function named 'hello'
# which prints 'Hello, world!'.
#
# You can learn more about package authoring with RStudio at:
#
#   http://r-pkgs.had.co.nz/
#
# Some useful keyboard shortcuts for package authoring:
#
#   Install Package:           'Ctrl + Shift + B'
#   Check Package:             'Ctrl + Shift + E'
#   Test Package:              'Ctrl + Shift + T'

#' Introduction
#'
#' Introductory function mainly as a place-holder
#'
#' @return NULL, invisibly.
#' @export
#'
#' @examples
#' hello_data()
hello_data <- function() {
  cat("Data sets for WWR workshops\n")
  cat("Tyep ", sQuote(deparse(quote(data(package = "WWRData")))), "to see the full list.\n")
  invisible()
}
BillVenables/WWRData documentation built on Jan. 26, 2021, 10:18 p.m.