Exporting rmarkdown document into a pdf document

hello guys,

okay so itried exportin my rmd file to a pdf document, however i keep getting this error .
! Missing endcsname inserted.

l.196 ...j6wuDSgJv-AhX6picCHZH9CI4QMygKegUIARD5AQ}

Error: LaTeX failed to compile Rmarkdown_intro.tex. See The R package tinytex - Helper Functions to Manage TinyTeX, and Compile LaTeX Documents - Yihui Xie | 谢益辉 for debugging tips. See Rmarkdown_intro.log for more info.
Execution halted

title: "Penguins Plots"
author: "Kwadwo Nyarko"
date: "r Sys.Date()"
output: pdf_document

That is my YAML by the way.

Nothing wrong with the YAML. Must be something else.

This comes from the deep recesses of the compilation process. Try these

  1. Confirm working install by creating a new Rmarkdown document, save with modifying and knit.
  2. If ok on default file, make a copy of failed document and remove any LaTeX or HTML markup
  3. If ok, check encoding is UTF-8

From a quick search, I found this

I seems to be a LaTeX issue related to characters in labels.

Can you check all your chunk labels for any special character that could trigger this issue ?

This topic was automatically closed 45 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.