Shiny app works fine locally, error when publishing to Shiny server

Difficult to help without a reprex.