rstudio / rsconnect

Publish Shiny Applications, RMarkdown Documents, Jupyter Notebooks, Plumber APIs, and more
http://rstudio.github.io/rsconnect/
131 stars 80 forks source link

rsconnect::showProperties prompts for server info, but no server parameter #649

Closed nick-youngblut closed 1 year ago

nick-youngblut commented 1 year ago

I have my app deployed on 2 servers (dev and production servers), and I'm using the same account name for both. So, if I run rsconnect::showProperties(account='{my_account_name}'), I get the prompt:

Error: Multiple accounts with the name '{my_account_name}' exist. Please specify the server of the account you wish to use.

However, there is not server parameter for showProperties:

showProperties(appPath = getwd(), appName = NULL, account = NULL)

I'm using rsconnect 0.8.28

aronatkins commented 1 year ago

The showProperties function is only meant for use with shinyapps.io servers, not Connect hosts.

Closing, as I'm pretty sure you were trying to use it against Connect (given your comments in #648)