R/hello_goodbye.R

Defines functions hello_goodbye

Documented in hello_goodbye

#' @title Hello Goodbye
#' @description Say hello how you like
#'
#' @param name Insert a name, or saying
#'
#' @importFrom stringr str_c
#'
#' @return vector with salutation
#' @export
#'
#' @examples
#' hello_goodbye('Name')
hello_goodbye <- function(name){
  stopifnot(is.character(name))
  stringr::str_c(hello(name), ' and ', tolower(goodbye(name)))
}
threadingdata/tester documentation built on Dec. 23, 2021, 9:58 a.m.