R/hello.R

Defines functions hello

Documented in hello

#' Short description of what the function does
#' @param x indicates the vector you will use
#' @return Returns a mean value
#' @examples
#' # This example returns a value of 2
#' hello(x = c(1,2,3))
#' @export
hello <- function(x) {
  print("Hello, world!")
  print("This is my first commit")
  return(mean(x))
}
sciarraseb/testRepo documentation built on Dec. 22, 2021, 10:23 p.m.