check_installed {tinytex}R Documentation

Check if certain LaTeX packages are installed

Description

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.

Usage

check_installed(pkgs)

Arguments

pkgs

A character vector of LaTeX package names.

Value

A logical value indicating if all packages specified in pkgs are installed (if any of them are not installed, it returns FALSE).

Note

This function only works with LaTeX distributions based on TeX Live, such as TinyTeX.

Examples

tinytex::check_installed('framed')

[Package tinytex version 0.30 Index]