Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Renaming shinyapps.io accounts breaks rsconnect (sometimes) #49

Closed
kippandrew opened this issue Jun 15, 2015 · 1 comment
Closed

Renaming shinyapps.io accounts breaks rsconnect (sometimes) #49

kippandrew opened this issue Jun 15, 2015 · 1 comment
Labels
bug an unexpected problem or unintended behavior shinyapps.io 🎖️

Comments

@kippandrew
Copy link
Contributor

You can rename your account in shinyapps.io, this can break rsconnect since the account name is written locally.

@kippandrew kippandrew added the bug an unexpected problem or unintended behavior label Jun 15, 2015
@hadley
Copy link
Member

hadley commented Mar 13, 2023

Are you thinking of what happens if the user does this?

removeAccount("old-name", "shinyapps.io")
setAccountInfo("new-name", "shinyapps.io", ...)

That no longer errors, because deployments() gained a excludeOrphaned = TRUE default, so deployments to servers that no longer exists aren't reported. That means you'll get a prompt like this:

Found multiple accounts.
Which one do you want to use?
1: hadley@colorado.posit.co
2: hadley@connect.rstudioservices.com
3: hadley@posit.cloud
4: hadley-testing2@shinyapps.io
5: hadley@shinyapps.io
Selection: 4
Discovered a previously deployed app named "shinyapp-appr"
(View it at <https://hadley-testing2.shinyapps.io/shinyapp-appr/>)
What do you want to do?
1: Update the existing app.
2: Create a new app with automatically generated name ("shinyapp-appr-1").
3: Abort this deployment and supply a custom `appName`.

Unless there's something else you're thinking of, I think that this issue is now closed.

@hadley hadley closed this as completed Mar 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug an unexpected problem or unintended behavior shinyapps.io 🎖️
Projects
None yet
Development

No branches or pull requests

2 participants