First things first, I think
library(rsconnect)
rsconnect::setAccountInfo(name='landman',
token='t_###',
secret='s_###')
is how you would prepare to deploy your app, and would be the sort of thing you would key into your console. Recomend not putting any rsconnect related code into your script that you will deploy. In principle it can be a little like setting up a dragon to eat its own tail
if you deploy an app that partially or fully tries to deploy an app...
If you log on to shinyapps.io from the front page, there is a console provided which shows your active apps and you can see their status, check their logs, alter their privacy etc.
Have you made use of the Rstudio / Rs Connect integration ? I find it super useful, and it saves me writing rsconnect commands to the console. Its the strange blue symbol next to the green run symbol for your app.