Hi there,
If deploying an app.R you can put a custom shinyApp()
call at the end which gets deployed ok - the below example created a Google login:
library(shiny)
library(googleAuthR)
ui <- # ...ui stuff
server <- #server stuff
shinyApp(gar_shiny_ui(ui, login_ui = silent_auth), server)
But how do you do the same if its a multi-file Shiny app e.g. a ui.R
and a server.R
file? The server.R
and ui.R
doesn't have an object to put in shinyApp()