#' Reverse string
#'
#' As reverse("string") doesn't work, here's the function that does
#'
#' @param s string
#' @return string. reverse of s
#' @export
#' @examples
#' reverse_str("string")
reverse_str <- function(s){
paste(rev(strsplit(s,'')[[1]]),collapse='')
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.