return the full path of 'LibreOffice' executable if found.

libreoffice_exec()

Value

executable full path in a character vector of length 1.

See also

Other executable full path: chrome_exec(), excel_exec(), firefox_exec(), node_exec(), npm_exec(), pip_exec(), powerpoint_exec(), python_exec(), word_exec()

Examples

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