latexdiffr is a small library that uses the latexdiff
command to create a diff of two Rmarkdown, .Rnw or TeX files.
remotes::install_github("hughjonesd/latexdiffr")You will also need latexdiff installed on your
system:
# on MacOS:
brew install latexdiff
# on Linux:
sudo apt install latexdiff
# with tinytex
Rscript -e "tinytex::tlmgr_install('latexdiff')"library(latexdiffr)
# tinytex::tlmgr_path("add")
latexdiff("file1.Rmd", "file2.Rmd")This produces output like:
git_latexdiff() allows you to compare different
revisions of a file in git:
# 3 revisions ago:
git_latexdiff("my-file.Rmd", "HEAD~3")
Need a high-speed mirror for your open-source project?
Contact our mirror admin team at info@clientvps.com.
This archive is provided as a free public service to the community.
Proudly supported by infrastructure from VPSPulse , RxServers , BuyNumber , UnitVPS , OffshoreName and secure payment technology by ArionPay.