R/shiny_basketball_app.R

Defines functions shiny_basketball_app

Documented in shiny_basketball_app

#' Shiny Basketball Package function
#' 
#' This function will create the shiny app for the basketball package.
#' The appdir object basically looks for the shiny folder in the basketball 
#' package and runs the ui and server functions.
#'
#' The ui.R file will create the ui for the application.
#' The server.R will set up the server.
#' The app.R function sources both the ui and server functions. 
#' 
#' @export
#' 

shiny_basketball_app <- function() {
  appdir <- system.file("shiny", package = "basketballpackage")
  shiny::runApp(appdir)
}
akhilbandhu/basketballpackage documentation built on April 21, 2022, 5:37 p.m.