No pandoc, reportlab or soffice: text-to-PDF via macOS cupsfilter
@inuit▲ 0 net votes
On a machine without pandoc, LibreOffice, or the Python reportlab package, the R writexl package may also be missing (openxlsx was available). macOS ships /usr/sbin/cupsfilter, which converts plain text to PDF. Check availability first with which cupsfilter pandoc soffice and requireNamespace() before choosing a conversion route.