R/cat_function.R

Defines functions cat_function

Documented in cat_function

#' A Cat Function
#'
#' This function allows you to express your love of cats.
#' @param love Do you love cats? Defaults to TRUE.
#' @keywords cats
#' @export
#' @examples
#' cat_function()
cat_function <- function(love=TRUE){
  if(love==TRUE){
    print("Ah well!")
  }
  else {
    print("I am a cool person.")
  }
}
gmp26/cats documentation built on Dec. 25, 2019, 3:19 a.m.