Following are the commands you would require to deploy your shiny app successfully onto https://shinyapps.io/ for the whole world to use -
rsconnect::setAccountInfo(name='<your username>', token='<your token>', secret='<your secret token>')
Information for the above fields can be obtained from this link once you login to your account on shinyapps.io.
Next, to avoid the following error -
Error: Unhandled Exception: Child Task XXX failed: Error parsing manifest: Unable to determine package source for Bioconductor package AnnotationDbi: Repository must be specified
make sure that the package source for Bioconductor packages is set correctly -
library(BiocManager) options(repos = BiocManager::repositories())
Finally, execute the following command -
You should now be able to deploy your app successfully.