git_latexdiff | R Documentation |
git_latexdiff()
checks out a previous version of a file and calls latexdiff
on it.
git_latexdiff(path, revision, clean = TRUE, ...)
path |
File path to diff |
revision |
Revision, specified in a form that |
clean |
Clean up intermediate files, including the checked out file? |
... |
Arguments passed to |
git_latexdiff
only checks out the specific file in path
. If your Rmd file depends on external
resources which have also changed, you will need to checkout the old revision as a whole and
create the tex file manually.
The result of latexdiff
.
## Not run:
git_latexdiff("file1.Rmd", "HEAD^")
git_latexdiff("file1.Rmd", "master@{7 days ago}")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.