#' The only one function of package
#'
#' Runs Shiny app.
#'
#' @export
run <- function() {
data(ankiety, package="usosstats")
data(oceny, package="usosstats")
appDir <- system.file("shiny", "usosstats", package = "usosstats")
if (appDir == "") {
stop("Nie znaleziono aplikacji. Spróbuj zainstalować pakiet ponownie.", 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.