From 40cb8e6cbd7285d0f090fbb3b8ac4d3f6e9d2d4e Mon Sep 17 00:00:00 2001 From: Elias Projahn Date: Thu, 21 Oct 2021 15:57:08 +0200 Subject: [PATCH] Add workaround to include java script dependencies --- R/app.R | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/R/app.R b/R/app.R index 554732e..640957f 100644 --- a/R/app.R +++ b/R/app.R @@ -4,5 +4,13 @@ #' #' @export 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) }