knitr::opts_chunk$set(echo = TRUE) library(roxygen2) library(devtools) # need both of these packages in order for document to work
In a function, R files have to have inputs and parameters at the top using the following syntax
#' name of function #' #' description of what it's going to do (can be multiple lines) #' @param #' @param #' @param #' @author #' @examples #' @return output variable
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.