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

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

Value

Returns invisible NULL.

Details

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

  • float

  • booktabs

  • longtable

  • threeparttable

  • pdflscape

  • array

  • caption