#' Bark x times
#'
#' @param x A numeric value to specify the number of times the dog barks
#' @return The barks
#' @export
bark <- function(x) {
dog <- "woof"
for (i in 1:x) {
dog <- paste(dog, "woof")
}
return(dog)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.