R/dog_functions.R

Defines functions dogs_over_cats

Documented in dogs_over_cats

#' @title A Dog Function
#'
#' @description This function allows you to express your love for the superior
#' furry animal
#' @param agree Do you agree dogs are the best pet? Defaults to TRUE.
#' @keywords dogs
#' @export
#' @examples
#' dogs_over_cats()

dogs_over_cats <- function(agree=TRUE){
  if(agree==TRUE){
    print("Woof woof!")
  }
  else {
    print("Try again.")
  }
}
henrywangnl/dogs documentation built on Jan. 1, 2021, 3:17 a.m.