R/hello.R

Defines functions hello

Documented in hello

#' My Hello World Function
#'
#' @param x The name of the person to say hi to
#'
#' @return The output from \code{\link{print}}
#' @export
#'
#' @examples
#' hello("Lewis")
#' \dontrun{
#' hello("Steve")
#' }
hello <- function(x) {
  print(paste0("Hello, ",x))
}
lewooster/FirstRPackage documentation built on Nov. 4, 2019, 4:20 p.m.