package ‘xelatex’ is not available for this version of R
alexandrerays opened this issue · comments
When I run the index.Rmd I got this:
WARNING: Rtools is required to build R packages but is not currently installed. Please download and install the appropriate version of Rtools before proceeding:
https://cran.rstudio.com/bin/windows/Rtools/
Installing package into ‘D:/alexa/Documents/R/win-library/4.1’
(as ‘lib’ is unspecified)
Warning in install.packages :
package ‘xelatex’ is not available for this version of R
A version of this package for your version of R might be available elsewhere,
see the ideas at
https://cran.r-project.org/doc/manuals/r-patched/R-admin.html#Installing-packages
I tried to use R version 4.2.1 and 4.1.2 and got the same error.
Any help?
Interesting, haven't seen this one before. I just downloaded a fresh version of the GitHub repository, and it still knits to PDF without any trouble --- I tried first on R 4.2.1, then upgraded to R 4.2.2.
Things to try:
- have you installed tinytex or some other LaTeX distribution?
- try removing the line
latex_engine: xelatex
in index.Rmd -- this will use pdflatex instead of xelatex for PDF compilation