Test if 'LibreOffice' can export to PDF. An attempt to export to PDF is made to confirm that the PDF export is functional.
check_libreoffice_export(UserInstallation = NULL)
a single logical value.
library(locatexec)
if(exec_available("libreoffice")){
check_libreoffice_export()
}
#> The following command failed: /usr/bin/soffice --version
#> with following log:
#> /usr/lib/libreoffice/program/soffice.bin: error while loading shared libraries: libreglo.so: cannot open shared object file: No such file or directory