Connections

Remove an account

  1. Open Options | Publishing.
  2. Select colorado.posit.co then click disconnect.

Success:

Add a Connect account

  1. Open Options | Publishing.
  2. Click Connect, then "Posit Connect".
  3. Paste in https://colorado.posit.co/rsc and click next.
  4. Login connect in browser window, then click next.

Success:

Add a shiny account

  1. Open Options | Publishing.
  2. Click Connect, then Shinyapps.io.
  3. Follow the on-screen instuctions, then click Connect Account.

Success:

  1. No errors in console
  2. nrow(rsconnect::accounts("shinyapps.io")) returns 1 or greater.

Apps

  1. Create a new shiny app by clicking "New Project" | "New Directory" | "Shiny app"

Deploy an app for the first time

  1. Click the deploy button then select "colarado.posit.co"

Success:

  1. Deploy tab opens, and eventually deploy completes, and opens in connect.

Re-deploy an app

  1. Click the deploy button then click "Publish"

Success:

  1. Existing colorado deployment should appear in publish dialog
  2. Deploy tab opens, and eventually deploy completes, and opens in connect.

Re-deploy an with missing metadata

  1. Run unlink("rsconnect", recursive = TRUE)
  2. Click the deploy button then click "Publish".

Success:

  1. Dialog asks if you want to replace existing content.
  2. After clicking "Replace" the deploy succeeds.

Re-deploy to deleted app

  1. On deployed app click "..." menu, then delete.
  2. Click ok, wait 30s, then refresh the page to confirm the app is deleted.
  3. Return to RStudio, then click the deploy drop down. Choose other destinations, then click deploy.

Success:

  1. Deploy tab opens, and eventually deploy completes, and opens in connect.

Finish up by deleting the app you just deployed.



rstudio/rsconnect documentation built on April 30, 2024, 2:14 p.m.