R/praise.R

Defines functions praise

Documented in praise

#' Deliver Praise
#'
#' @description This function is super useful when you're feeling sad
#' and is useful for everyone.
#' @param name text string; This is the name of the person I want to praise
#' @param punctuation text string; This is our emphasis as a text input.
#'
#' @return  Text string with praise
#' @export
#'
#' @examples
#' praise(name = "David", punctuation = "!")
praise <- function(name, punctuation = "!"){
  glue::glue("You're the best, {name}{punctuation}")
}

usethis::use_package("glue")
usethis::use_testthat()
usethis::use_test("praise")
Djeya/praiseme documentation built on Dec. 17, 2021, 5:27 p.m.