Sorry, it either not clear or not working for me... My account name is 'pisa', so I tried to create new account name 'pisa2'. Here are the results:
1. shinyapps::setAccountInfo(name='pisa2', token='', secret='')
Unable to determine account id for account named 'pisa2'
(It looks that my AccountId is null. I don't know how to create new Id).
2. shinyapps::setAccountInfo("new account", name='pisa2', token='', secret='')
unused argument ("new account")
3. shinyapps::setAccountInfo('new account'', token='', secret='')
unused argument ("new account")
In the end I just used my second Gmail user (email) for opening new account...