https://docs.posit.co/shinyapps.io/applications.html#configuring-your-application
## set up in the beginning
Creating a shinyapps.io account
-->Configure rsconnect (find your own information in your shiny app.io account)https://docs.posit.co/shinyapps.io/getting-started.html#configure-rsconnect
`rsconnect::setAccountInfo(name='metabocomp', token='B29D792C2173A6B17F967243657ECB3B', secret='8aPE7A59gLOMmEHpEpZtiYmqefOxtHov5KFpicqX')`
--> need to build an app.R file in the main directory
-->Deploying the application
`rsconnect::deployApp()`
## possible errors
* You have absolute path for directories
* You have gitlab github packages used in the package
* You have packages that you have not call library for.

* If your app is successful, but is killed by stoage or smomething

In thiscase, try to change the instance size in settings

## redeploy smth to another account
RStudio > Tools > Global Options > Publishing
-->Disconnect the previous account and conenct the new account
-->perform deployment `rsconnect::deployApp()`