A list containing several useful recipes for container building. Useful for the post_installation_steps
argument of dockerize()
. Available recipes are:
texlive
: install pandoc and LaTeX, useful for rendering RMarkdowntexlivefull
: Similar to the above, but install the full distribution of TeX Live (~ 3GB)quarto
: install quarto and tinytexclean
: clean up the container image by removing cachemake
: install GNU make
Examples
# \donttest{
if (interactive()) {
graph <- resolve(pkgs = c("openNLP", "LDAvis", "topicmodels", "quanteda"),
snapshot_date = "2020-01-16")
## install texlive
dockerize(graph, ".", post_installation_steps = recipes[['texlive']])
}
# }