R/cat_fn.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("I love cats!")
  }
  else {
    print("I am not a cool person.")
  }
}
yan-cri/r_pck_test documentation built on March 3, 2021, 12:35 a.m.