#' Takes a noun and makes it plural
#'
#' @param gift A string or vector of strings
#'
#' @return A string or vector of strings with the pluralized words
#'
#' @import stringr
#' @import dplyr
#' @import glue
#' @import purrr
#'
#' @export
pluralize_gift <- function(gift){
gift <- gift %>%
str_replace("\\b$", "s")
return(gift)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.