has_libreoffice: Is LibreOffice available?

View source: R/pdf.R

has_libreofficeR Documentation

Is LibreOffice available?

Description

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()

convertxlsform documentation built on Oct. 22, 2026, 1:07 a.m.