Are you uploading the file along your app's code when you deploy the app? Other than this, I think it would be impossible for us to know what is going on without seen the app's code.
To help us help you, could you please prepare a reproducible example (reprex) illustrating your issue? Please have a look at these resources, to see how to create one for a shiny app