A demo of using pins with RStudio pro products.
- Data: https://colorado.rstudio.com/rsc/demo-pins-penguins-data/
- Report: https://colorado.rstudio.com/rsc/demo-pins-r-penguins/
- Code: https://github.com/SamEdwardes/demo-pins-r-penguins
Render the report in RStudio:
rmarkdown::render("app/report.Rmd")
Update the manifest.json file:
rsconnect::writeManifest("app", appFiles = c("report.Rmd", "imgs"))
Then commit any changes to git. The report will automatically redeploy.
You can also deploy the app using the rsconnect
api:
rsconnect::deployDoc(
doc = "app/report.Rmd",
appTitle = "Pins Example"
)