#' @aliases greet
#' @aliases hello
#' @title Greeting a Person
#' @description Given a person's name, a custom greeting is printed
#' @rdname hello
#' @param name character() Name of person
#' @return character() Greeting
#' @examples
#' greet("Mary")
#' @export
greet <- function(name){
stopifnot(is.character(name))
print(paste("Hello", name))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.