R/hello.R

Defines functions hello

Documented in hello

#' Hello, world!
#'
#' This is an example function named 'hello' which prints 'Hello, world!'.
#'
#' @param x The name of the person to say 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!"))
}
dcorvi/r_testpackage documentation built on Nov. 4, 2019, 10:20 a.m.