Sorry you're having troubles with your app deployment!
Right now we don't have enough information to help diagnose the issue.
Firstly, here's shiny.rstudio.com's set of guides for deployment, with a number of resources dedicated to deploying to shinyapps.io. https://shiny.rstudio.com/articles/#deployment
Some more tips here; https://docs.rstudio.com/shinyapps.io/Troubleshooting.html
For your specific problem, it would if you explained what you were trying to do, and what errors you received. If you are able to share the logs from shinyapps.io ( You can do that by running rsconnect::showLogs() , or by visiting the shinyapps.io dashboard and looking at the logs in your Application view.)
Right now I think folks are a little confused by your outline of the problem.