Manually add flextable latex dependencies to the knitr session via knit_meta_add().

When enabling caching in 'R Markdown' documents for PDF output, the flextable cached result is used directly. Call add_latex_dep() in a non cached chunk so that flextable latex dependencies are added to knitr metadata.

add_latex_dep(float = FALSE, wrapfig = FALSE)

Arguments

float

load package 'float'

wrapfig

load package 'wrapfig'

Examples

add_latex_dep()