Source: Towards easy, delightful, and customizable dashboards in Shiny for R with {bslib}
- Clone the project from GitHub into a local folder
- Create a new project in RStudio by:
- Opening RStudio -> Clicking File -> New Project -> Existing Directory -> Selecting folder with cloned project -> Create Project
- If {renv} does not bootstrap/install itself, install manually using
install.packages("renv") - Restore R environment by running the following line of code in the R Console:
renv::init()-> Choose option 1 to restore project - Click on
app.Rin Files pane to open the source script - Click "Run App" (Button near usual "Run" button)
{renv} documentation: Collaborating with renv