R/hello.R

Defines functions greet

Documented in greet

#' @aliases greet
#' @aliases hello
#' @title Greeting a Person
#' @description Given a person's name, a custom greeting is printed
#' @rdname hello
#' @param name character() Name of person
#' @return character() Greeting
#' @examples
#' greet("Mary")
#' @export
greet <- function(name){
  stopifnot(is.character(name))
  print(paste("Hello", name))
}
mfoos/MFP documentation built on May 21, 2019, 8:07 a.m.