geposanui/R/app.R

16 lines
358 B
R
Raw Normal View History

2021-10-20 15:34:52 +02:00
#' Run the application server.
#'
#' @param port The port to serve the application on.
#'
#' @export
run_app <- function(port = 3464) {
# These function calls make the required java scripts available.
shinyjs::useShinyjs()
rclipboard::rclipboardSetup()
# Actually run the app.
2021-10-20 15:34:52 +02:00
shiny::runApp(shiny::shinyApp(ui, server), port = port)
}