commit_site ensures that the website files are created by the code
that has been committed to the Git repository.
Usage
commit_site(dry_run = FALSE, path = ".")
Arguments
dry_run
Identifies R Markdown files that have been updated, but does
not render them.
path
By default the function assumes the current working directory is
within the project. If this is not true, you'll need to provide the path to
the project directory.
Value
If dry_run = TRUE, returns the character vector of R Markdown
files that would be rendered. Otherwise invisibly returns this vector.