rocker-org / rocker-versioned

Run current & prior versions of R using docker
https://hub.docker.com/r/rocker/r-ver
GNU General Public License v2.0
297 stars 169 forks source link

Patch the Perl modules in the frozen TeX Live 2018 snapshot #173

Closed riccardoporreca closed 4 years ago

riccardoporreca commented 4 years ago

Follow-up of https://github.com/rocker-org/rocker-versioned/pull/171#issuecomment-552825592:

riccardoporreca commented 4 years ago

rocker/verse:devel built locally as

docker build -t rocker/verse:devel-patch-texlive verse/devel

and tested via

docker run --rm --user=rstudio rocker/verse:devel-patch-texlive R -e \
'cat(file = "~/test.Rmd", "---\ntitle: Untitled\nheader-includes:\n   - \\usepackage{bbm}\noutput: pdf_document\n---\n"); rmarkdown::render("~/test.Rmd")'
## [...]
## Output created: test.pdf

Behavior also confirmed by creating and knitting the R markdown docuent from within RStudio launched via

docker run --rm -p 8787:8787 -e DISABLE_AUTH=true rocker/verse:devel-patch-texlive
cboettig commented 4 years ago

This looks great, thanks for doing the deep dive on this one!