| check_installed | 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 vector indicating if packages specified in pkgs are
installed.
This function only works with LaTeX distributions based on TeX Live, such as TinyTeX.
tinytex::check_installed('framed')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.