#' @name cy_RunShiny
#' @title Run Shiny App
#' @description Launch Shiny App that displays pay information for subsets of Iowa State University Employees
#' @return a Shiny App
#' @examples
#' \dontrun{
#' cy_RunShiny()
#' }
#' @export
cy_RunShiny <- function() {
appDir <- system.file("shiny-examples", "myapp", package = "CyChecks")
if (appDir == ""){
stop("Couldn't locate example directory. Try re-installing `CyChecks`", call. = FALSE)
}
shiny::runApp(appDir, display.mode = "normal")
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.