R/birthday.R

Defines functions birthday

Documented in birthday

#' Birthday
#'
#' This function will introduce someone's name and state when their birthday is. Returns a statement
#'
#' @param name The person's name (string)
#' @param month The person's birth month (numeric)
#' @param day The person's birth day (numeric)
#'
#' @return
#' @export
#'
#' @examples birthday("Bob", 5, 22)

birthday <- function(name, month, day) {
  return(paste0("My name is ", name, ". My birthday is ", month, "/", day, "."))
}
wyliehampson/lasagnashark documentation built on Dec. 23, 2021, 6:15 p.m.