R/hello.R

Defines functions hello

Documented in hello

#' My Hello World Function
#'
#' @param x The name of the person to day hi to
#'
#' @return The output from \code{\link{print}}
#' @export
#'
#' @examples
#' hello("John")
#' \dontrun{
#' hello("Steve")
#' }
hello <- function(x) {
  print(paste0("Hello ", x, ", this is the world!"))
}
AblesonWu/rtest documentation built on April 29, 2020, 12:24 a.m.