Analyze the error messages in a LaTeX log file to figure out the names of
missing LaTeX packages that caused the errors. These packages can be
installed via tlmgr_install()
. Searching for missing packages
is based on tlmgr search --global --file
.
find_packages(log, text = readLines(log), quiet = FALSE)
Path to the LaTeX log file (typically named *.log
).
A character vector of the error log (read from the file provided
by the log
argument by default).
Whether to suppress messages when finding packages.
A character vector of LaTeX package names.