I just upgraded to tidyverse v1.2.1 and now when I try to render an R Markdown file to pdf, I get the following error:
! Package inputenc Error: Unicode char √ (U+221A)
(inputenc) not set up for use with LaTeX.
See the inputenc package documentation for explanation.
Type H <return> for immediate help.
I know very little about LaTex, but it appears to not know how to handle the √ included in the new tidyverse startup message. Is this something I can deal with somewhere in my local LaTex set up?
As a workaround for now, I've just used suppressPackageStartupMessages(), but I would like to be able to render the startup message to pdf if possible.
I tend to pre-load packages in R md files with include = FALSE then use the code to load them again in the code chunks where they are first needed. That does hide the conflicts (which I always check) but the markdown output doesn't contain contain an entire page of messages.
But I still would like the option to render the startup messages in a pdf, if possible. I'm sharing the document with total R beginners and want the code blocks I include in the document to look exactly like the console output. I'm able to render the √ to html like so: