return the full path of 'LibreOffice' executable if found.
libreoffice_exec()executable full path in a character vector of length 1.
Other executable full path:
chrome_exec(),
excel_exec(),
firefox_exec(),
node_exec(),
npm_exec(),
pip_exec(),
powerpoint_exec(),
python_exec(),
word_exec()
if(exec_available("libreoffice")) {
message(libreoffice_exec())
}
#> 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