check_installed {tinytex} | R Documentation |
If a package has been installed in TinyTeX or TeX Live, the command
tlmgr info PKG
should return PKG
where PKG
is the
package name.
check_installed(pkgs)
pkgs |
A character vector of LaTeX package names. |
A logical value indicating if all packages specified in pkgs
are installed (if any of them are not installed, it returns FALSE
).
This function only works with LaTeX distributions based on TeX Live, such as TinyTeX.
tinytex::check_installed('framed')