#' @title
#' Praise
#'
#' @description
#' Returns the name provided with a praise.
#'
#' @param name A character string giving the name of a person.
#'
#' @importFrom magrittr "%>%"
#'
#' @return a praise (character)
#'
#' @examples
#' praise_nicely("Peter")
#'
#' @export
praise_nicely <- function(name) {
praise::praise(template = paste0(name, " is, ${adjective}"))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.