To use the report:
Navigate to your desired parent working directory.
Run soilReports::reportSetup("national/DT-report")
to install dependencies
Run soilReports::reportInit("national/DT-report", outputDir= "DT-report")
to install a report instance in outputDir
. Specify overwrite
argument as needed. Use reportUpdate
if an existing older report instance is being updated and you want to preserve config.R contents.
Navigate to "DT-report"
directory and inspect report contents. Open report.Rmd in RStudio and click "Knit" button, or render()
with {rmarkdown} manually.
report.Rmd - main report document
config.R - user-level configuration and options for input file path; should not be over-written by reportUpdate
NEWS.md - Changelog
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.