expect_snapshot_html()
for visual testing HTML documents.msoffice_available()
to test if 'Word' and 'PowerPoint'
are available.expect_snapshot_doc()
for visual testing.docx_update()
to refresh all TOC and fields.dpi
parameters for image resolutiontools::R_user_dir()
is used instead of package 'rappdirs'.init_working_directory
, rm_working_directory
and working_directory
to let users manage docx2pdf working directory and comply with CRAN policy.tempfile()
to make libreoffice write in a temporary directory instead of
using and managing working_directory()
.working_directory()
so that when deleted, no empty directory is left.UserInstallation
to function to_pdf()
check_libreoffice_export()
that checks 'LibreOffice' can export to PDF.Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.