git_latexdiff {latexdiffr} | R Documentation |
Call latexdiff on git revisions
Description
git_latexdiff()
checks out a previous version of a file and calls latexdiff
on it.
Usage
git_latexdiff(path, revision, clean = TRUE, ...)
Arguments
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 |
Details
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.
Value
The result of latexdiff
.
Examples
## Not run:
git_latexdiff("file1.Rmd", "HEAD^")
git_latexdiff("file1.Rmd", "master@{7 days ago}")
## End(Not run)
[Package latexdiffr version 0.2.0 Index]