#' @title Install TeX Packages
#'
#' @description Install a curated list of useful TeX packages.
#'
#' @return Nothing, invisibly.
#'
#' @examples
#' \dontrun{
#' preinstall_pkgs()
#' }
#'
#' @export
preinstall_pkgs <- function() {
pkgs <- readLines(find_resource('assignment', 'pkgs-CHL5202.txt'))
tinytex::tlmgr_install(pkgs)
invisible()
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.