Are you including install commands in your code? If so, that is the problem.
If you need more specific help, please prepare a reproducible example (reprex) illustrating your issue. Have a look at this resources, to see how to create one for a shiny app