check_installed: Check if certain LaTeX packages are installed

Description Usage Arguments Value Note Examples

View source: R/tlmgr.R

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

1

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

1
tinytex::check_installed('framed')

tinytex documentation built on May 30, 2021, 1:07 a.m.