New laptop. Installed latest R from fresh download. Installed latest RStudio from fresh download.
Installed the packages for tutorials, as well.
Opened existing project. Tried to build book. It fails because xelatex is not found. Tried to install xelatex, and get this:
Warning in install.packages :
package ‘xelatex’ is not available for this version of R
R version 4.2.2 (2022-10-31 ucrt) -- "Innocent and Trusting"
Copyright (C) 2022 The R Foundation for Statistical Computing
Platform: x86_64-w64-mingw32/x64 (64-bit)
RStudio 2022.12.0+353 "Elsbeth Geranium" Release (7d165dcfc1b6d300eb247738db2c7076234f6ef0, 2022-12-03) for Windows
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) RStudio/2022.12.0+353 Chrome/102.0.5005.167 Electron/19.1.3 Safari/537.36
No idea what to do now. Is xelatex no longer supported? Do I need to use a different package?