check_installed: Check if certain LaTeX packages are installed

View source: R/tlmgr.R

check_installedR 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 vector indicating if packages specified in pkgs are installed.

Note

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

Examples

tinytex::check_installed('framed')

tinytex documentation built on Aug. 16, 2022, 9:05 a.m.