Hi Eric, I come across this quite often on shinyapps.io. I believe the issue is when not using your library calls at the start of all scripts in a multi script shiny app.
Because I constantly fell foul of this, I tend to now use a single script to publish. If someone could clearly state how shinyapps requires a multi script setup to be organised, I'd greatly appreciate it (without sending me to the help documentation).