- Fail with informative error message if PowerShell (PS) execution strategy does not allow running PS scripts. PS scripts are required for certain actions on Windows (#2).
- add support for 'RTF'.
- For 'Windows' users, figure resolution should now remain the same when exporting 'Word' to 'PDF'.
- dont load tinytest
- drop officer from suggests
- new function
expect_snapshot_html()
for visual testing HTML documents. - new function
msoffice_available()
to test if 'Word' and 'PowerPoint' are available.
- fix tinytest registration
- new fonction
expect_snapshot_doc()
for visual testing.
- new fonction
docx_update()
to refresh all TOC and fields. - new
dpi
parameters for image resolution
- internals: png filenames are now defined with a correct mask
- [breaking change]: python, docx2pdf are not required anymore.
tools::R_user_dir()
is used instead of package 'rappdirs'.
- Export functions
init_working_directory
,rm_working_directory
andworking_directory
to let users manage docx2pdf working directory and comply with CRAN policy. - Use
tempfile()
to make libreoffice write in a temporary directory instead of using and managingworking_directory()
. - fix for
working_directory()
so that when deleted, no empty directory is left.
- Add argument
UserInstallation
to functionto_pdf()
- Added
check_libreoffice_export()
that checks 'LibreOffice' can export to PDF.