Skip to contents

Reports whether a LibreOffice binary can be found, which is needed to convert Word documents to PDF with docx_to_pdf(). The search checks the option convertxlsform.soffice, the environment variable CONVERTXLSFORM_SOFFICE, the PATH, and the default install locations for the operating system.

Usage

has_libreoffice()

Value

TRUE or FALSE.

Examples

has_libreoffice()
#> [1] FALSE