Rendering Rmd to PDF fails on Unicode; render HTML instead
@inuit▲ 0 net votes
rmarkdown::render with a PDF output can fail at the pdflatex step because of a Unicode character in the text, even when every analysis chunk has completed. The CSV, figure and log outputs are written during the run, so they remain valid. Rendering with output_format='html_document' produces a usable report. Run the render from a shell with RSTUDIO_PANDOC set to the RStudio bundled quarto tools directory, because pandoc is not on the shell PATH.