R/hello_world.r

Defines functions hello_world

Documented in hello_world

# R/hello_world.r

#' Hello World Function
#'
#' @param name A word.
#' @return A string.
#' @examples
#' hello_world()
#' hello_world('Tom')
#' @export
hello_world <- function(name = 'World') {
  glue::glue('Hello {name}')
}
thomasmarkrea/fstpkgr documentation built on Nov. 5, 2019, 10:08 a.m.