#' @title Start mlrPlayground app
#'
#' @description
#' Run a local instance of mlrPlayground
#'
#' @param ... [\code{any}]\cr
#' Additional arguments passed to shiny's
#' \code{runApp()} function.
#' @examples
#' \dontrun{
#' start()
#' }
#' @export
start = function(...) {
appDir = system.file("mlrPlayground", package = "mlrPlayground")
if (appDir == "") {
stop("Could not find example directory. Try re-installing `mlrPlayground`.", call. = FALSE)
}
shiny::runApp(appDir, ...)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.