R/hello.R

Defines functions test1 test2

Documented in test1 test2

#' test1
#'
#' This function just outputs the text "This should always output the same text."
#'
#' @return
#' @export
#'
#' @examples
#' test1()
#'
test1 <- function() {
  print("This should always output the same text.")
  return(0)
}


#' test2
#'
#' This simple function just doubles the number input.
#'
#' @param x
#'
#' @return
#' @export
#'
#' @examples
#' test2(10)
#'
test2 <- function(x) {
  return(2*x)
}
zacharyfgarcia/DATA-598-WI20-week-7 documentation built on March 9, 2020, 12:21 a.m.