R/fun5.R

Defines functions Fun5

Documented in Fun5

#' @title A function for testing whether the sum of two numbers is greater than 5
#'
#' @description A really good test function.
#' Perhaps the best function ever!
#'
#' A work of pure genius.
#' @param x a number
#' @param y another number
#' @return a number
#' @export
Fun5 = function(x, y) {
  if ((x + y) > 5) {
  print("x + y is greater than 5")
  } else {
  print("x + y is not greater than 5")
  }
}
JohnMcIntyreJR/pkg documentation built on Nov. 18, 2019, 5:34 a.m.