shiny error: Unable to connect to worker after 60.00 seconds; startup took too long.

Hi, I'm trying to publish my Shiny app to http://shinyapps.io. The app works fine locally on my computer but does take a long time to get started - longer than 60 seconds.
When I publish it, the following error message appears: Unable to connect to worker after 60.00 seconds; startup took too long.
The logs are all ok. I have upgraded the basic plan but it does not solve the issue. I use too many rcpp functions to run the entire app, and it takes some time to compile them. Any ideas on how I can fix this?
Thanks a lot.

Use the settings in the dashboard to set a longer initialisation time. I have one app that I need to set for 3min.

Also it's good to profile your app and try to get it faster, but that's a big topic.