Hey everyone,
I have a shiny app which utilizes shinydashboard
to split everything apart into multiple pages. Since it's quite a large application, and I don't want to load up every tab right when a user logs in, I have each tab's code isolated in separate R files which I call using the source
function whenever a user switches tabs (I'll link the function's documentation below).
This setup has worked great so far, but I'm now finding myself needing to 'unsource' these files so the dependent functions and observers are no longer affected by changes elsewhere in the app. I have so far been unsuccessful in finding any sort of function which would allow this online, so I thought I'd open it up to the community. Has anyone run into this issue in the past or know of a quick solution?
Thanks!