! Text line contains an invalid character

127 views Asked by At

I'm trying to compile my R markdown file as PDF but i'm getting this error,

> ! Text line contains an invalid character.
l.234 ## i Use the ^^[
                      ]8;;http://conflicted.r-lib.org/^^Gconflicted package^... 

Error: LaTeX failed to compile Bellabeat.tex. See https://yihui.org/tinytex/r/#debugging for debugging tips. See Bellabeat.log for more info.
Execution halted

This is my YAML

title: "Bellabeat Project"
author: "Fatima"
date: "2023-12-14"
editor_options:
  markdown:
    wrap: 72
output:
  pdf_document:
    latex_engine: xelatex

Surprisingly, the error only comes when I convert it into PDF. For HTML it runs pretty smooth.

0

There are 0 answers