Hello!
I'm trying to programatically deploy a project in RstudioConnect via rsconnect::deployApp()
but it complains that:
Error: You must register an account using setAccountInfo prior to proceeding
Fine, I set up the account:
rsconnect::setAccountInfo(
name = 'myname',
token = '',
secret = ''
)
But I do not know where to get the secret. For the token, I found out that running rsconnect::accountInfo(name = 'myname')
returns a list that includes my token, but have no clue of where can I find the secret string. Any ideas?
When deploying from RStudio with the Publishing button everything's fine.