Last chance! 50% off unlimited learning
Sale ends in
report_latex_dependencies
prints out and/or returns a list of LaTeX dependencies for adding
to a LaTeX preamble.
check_latex_dependencies
checks whether the required LaTeX packages are installed.
install_latex_dependencies
is a utility function to install the LaTeX packages
that huxtable requires. It calls tinytex::tlmgr_install()
if possible,
or tlmgr install
directly.
report_latex_dependencies(quiet = FALSE, as_string = FALSE)check_latex_dependencies(quiet = FALSE)
install_latex_dependencies()
Logical. For report_latex_dependencies
, suppress printing of dependencies.
For check_latex_dependencies
, suppress messages.
Logical: return dependencies as a string.
If as_string
is TRUE
, report_latex_dependencies
returns a string of
"\\usepackage\{...\}"
statements; otherwise it returns a list of
rmarkdown::latex_dependency
objects, invisibly.
check_latex_dependencies()
returns TRUE
or FALSE
.
install_latex_dependencies
returns TRUE
if tlmgr
returns 0.
# NOT RUN {
report_latex_dependencies()
# }
# NOT RUN {
check_latex_dependencies()
# }
# NOT RUN {
# }
# NOT RUN {
install_latex_dependencies()
# }
Run the code above in your browser using DataLab