R/launch_app.R

Defines functions launch_app

Documented in launch_app

#' Launches the covidExplorer Shiny App
#'
#' This function deploys a shiny app that allows users to interactively
#' browse data regarding the spread of COVID-19 in various countries.
#'
#' @author Panagiotis Stylianos
#'
#' @param ui a .R script that contains the user interface of the shiny app
#' @param server a .R script that contains the app's server
#'
#' @import shiny
#' @export
#'
launch_app <- function(ui, server) {


  shiny::runApp(appDir = system.file("app", package = "covidExplorer"))
}
etc5523-2020/r-package-assessment-petestylianos documentation built on Jan. 1, 2021, 1:12 a.m.