I have one folder with 2 Shiny apps inside - they share
server.R but their
global.R files differ. How to run Shiny app with
global2.R file instead of
global.R? I was trying
shiny::shinyApp(ui = source("ui.R")$value, server = source("server.R")$value, onStart = source("global2.R"))
but it doesn't work. We are using RStudio Connect to to deploy the apps.