mirror of
https://github.com/johrpan/geposanui.git
synced 2025-10-26 19:27:24 +01:00
Add workaround to include java script dependencies
This commit is contained in:
parent
ca1d0e442a
commit
40cb8e6cbd
1 changed files with 8 additions and 0 deletions
8
R/app.R
8
R/app.R
|
|
@ -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)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue