24  Publishing on Posit Cloud

Author
Affiliation

Dr Randy Johnson

Hood College

Published

February 26, 2026

Overview

After reviewing how the ShinyHood app from the lecture notes was deployed, we’ll take some time to deploy our GSE explorer apps.

ShinyHood is an example Shiny app illustrating various deployment methods. Ths Shiny app displays information about the Hood College bioinformatics program courses, which is neither complete nor up to date.

Prerequisites

Install the required R packages before running the app:

install.packages(c("shiny", "bslib", "DT"))

Running the App

Clone the repository

git clone https://github.com/BIFX547-26/ShinyHood
cd ShinyHood

Then launch from R:

shiny::runApp()

Run directly from GitHub

shiny::runGitHub("BIFX547-26/ShinyHood")

Run from a URL

shiny::runUrl("https://github.com/BIFX547-26/ShinyHood/raw/refs/heads/main/ShinyHood.zip")

Run from a Gist

shiny::runGist("055fc0c7273b7ae8f932b1313b57cd2e")

Deploying to connect.posit.cloud

  • Follow the instructions above for running the app locally from the cloned repository, and verify that the app runs correctly.

  • Open the Posit Publisher pane in Positron by clicking on the icon on the left.

    • Click + under the Credentials drop down to add a new credential.
    • Select “Posit Connect Cloud” and follow the instructions for connecting Positron to the cloud.
  • Open app.R and look for the Posit Publisher icon () near the top right of the file window.

    • Select a name for your app.
    • Select the Posit Connect Cloud account you would like to deploy to.
    • Update items in the Posit Publisher pane as needed.
    • Click “Deploy Your Project” to deploy.
    • If all goes well, a link to your app will appear in the Publisher window (next to the terminal window). You can also load the page by clicking on the “View Content” button in the Posit Publisher pane.
    • My deployment can be viewed here

Assignment

Deploy your shiny app on the Posit Connect Cloud and submit a link to your app on Blackboard. Don’t worry about making everything perfect - a buggy app will be sufficient for this assignment.