R/hello.R

#' Say "Hello" to arg
#'
#' @param whom the function says "Hello" to
#' @return chr
#' @examples
#' \dontrun{
#' hello("Bob")
#' hello("My friend")
#' }

hello <- function(name){
  print(paste("Hello, ", name, "!", sep=""))
}
weekendwarri0r/HowToMakeRProject documentation built on May 29, 2019, 11:57 a.m.