R/hello.R

Defines functions hello

Documented in hello

#' Hello, World!  
#' 
#' Prints 'Hello, world!'.  
#' 
#' Repeat 'n' times printing for 'Hello, world!'  
#' 
#' @usage hello(n)
#' @param n Number of replication
#' @return Character vector, length of n
#' @examples hello(3)
#' @export
hello <- function(n) {
  rep("Hello, world!", n)
}
shkonishi/hello documentation built on Nov. 18, 2023, 6:37 p.m.