Add workaround to include java script dependencies

This commit is contained in:
Elias Projahn 2021-10-21 15:57:08 +02:00
parent ca1d0e442a
commit 40cb8e6cbd

View file

@ -4,5 +4,13 @@
#' #'
#' @export #' @export
run_app <- function(port = 3464) { run_app <- function(port = 3464) {
# These function calls make the required java scripts available.
shinyjs::useShinyjs()
rclipboard::rclipboardSetup()
shinyWidgets::pickerInput("none", choices = NULL)
# Actually run the app.
shiny::runApp(shiny::shinyApp(ui, server), port = port) shiny::runApp(shiny::shinyApp(ui, server), port = port)
} }