An parameterized RMarkdown report!
- Code: https://github.com/SamEdwardes/demo-rmd-penguins
- Deployment: https://colorado.rstudio.com/rsc/demo-rmd-penguins/
To render the report run:
knit_with_parameters("~/projects/demo-rmd-penguins/report.Rmd")
To deploy the report to RStudio Connect:
rsconnect::writeManifest("report")
Then commit any changes to GitHub.
You can also deploy using the rsconnect
api:
rsconnect::deployDoc(
doc = "report/report.Rmd",
appTitle = "RMarkdown Penguins API Deployment"
)