Please consider using st2article() rather than this function. It does the
same thing and likely will replace st2doc().
Usage
st2doc(
text,
preview = interactive(),
output_dir = tempdir(),
output_file = "st2doc.pdf",
landscape = is_lscape(text)
)Arguments
- text
stable()output- preview
if
TRUE, the rendered pdf file is opened usingfs::file_show()- output_dir
passed to
rmarkdown::render()- output_file
passed to
rmarkdown::render()- landscape
passed to
st_wrap()
Details
In order to render the table in the pdf document, the following packages must be installed, regardless of the type of table you are trying to render:
threeparttablebooktabsarraylongtablemathpazopdflscape
