#' Launch Tutorials
#'
#' This function is used to launch tutorials.
#'
#' @param tutorial character, representing the name of a tutorial to run.
#'
#' @return None.
#' @export
#' @md
#' @examples
#' launch_tutorial('intro-to-r')
launch_tutorial <- function(tutorial){
learnr::run_tutorial(tutorial, 'mlforsocialscience')
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.