I have a book project which builds correctly on another machine. Installed R, RStudio, and RTools on new laptop. It will not build the book, but complains that xelatex is not found. I did install tinytex.
Running as admin.
Error: LaTeX failed to compile _main.tex. See The R package tinytex - Helper Functions to Manage TinyTeX, and Compile LaTeX Documents - Yihui Xie | 谢益辉 for debugging tips.
In addition: Warning message:
In system2(..., stdout = if (use_file_stdout()) f1 else FALSE, stderr = f2) :
'"xelatex"' not found
Execution halted
Error: bookdown::render_book() failed to render the output format 'bookdown::pdf_book'.
Execution halted