st_use_knit_deps: Invoke latex dependencies

View source: R/knit-dependencies.R

st_use_knit_depsR Documentation

Invoke latex dependencies

Description

Call this function when knitting a document that includes pmtables output.

Usage

st_use_knit_deps(packages = NULL, force = FALSE)

st_knit_deps()

st_using_knit_deps()

Arguments

packages

a character vector of latex package names; will get passed to rmarkdown::latex_dependency() and then to knitr::knit_meta_add(); default is to install packages returned by st_knit_deps()

force

if TRUE, then add latex dependencies regardless of knit status; this is for internal testing use only

Details

Default set of packages that will be invoked when knitting a document:

  • float

  • booktabs

  • longtable

  • threeparttable

  • pdflscape

  • array

  • caption

Value

Returns invisible NULL.


metrumresearchgroup/pmtables documentation built on Dec. 22, 2024, 1:34 a.m.