R/launchApp.R

Defines functions launchApp

Documented in launchApp

#'@title Launch App
#'
#'@description Launches the Shiny App for the instaExtract Package
#'
#'@param dir   A file directory for the app
#'@param ...   Additional options passed to a shinyAppDir
#'
#'@return N/A
#'
#'@examples
#'\dontrun{ launchApp()}
#'
#'@export
#'
#'
#'@import DT
#'@importFrom shiny shinyAppDir
#'@import shinythemes

launchApp <- function(dir,...){

  app_dir <- system.file('apps', 'myFirstApp', package = 'instaExtract')

  shiny::shinyAppDir(app_dir)

}
AFIT-R/instaExtract documentation built on May 18, 2019, 8:11 p.m.