Quarto Running R CMD Check in RStudio

When running R CMD Check on a package in RStudio, the package passes the check, i.e., no errors, no notes, no warnings, by I get the following ERROR message that seems to have something to do with the quarto that is automatically installed when installing RStudio.

ERROR: Unknown command "TMPDIR=C:/Users/marti/AppData/Local/Temp/Rtmp2zNA40/file4c107c202fcc". Did you mean command "install"?
Warning message:
In system2("quarto", "-V", stdout = TRUE, env = paste0("TMPDIR=", :
running command '"quarto" TMPDIR=C:/Users/marti/AppData/Local/Temp/Rtmp2zNA40/file4c107c202fcc -V' had status 1

I have no clue what is going on. Does anybody know how I can avoid that ERROR????
Doug Martin

1 Like

Seeing the same issue. Started work on updating a package I have not touched for over a year and this error crops up after passing all checks
R 4.4.1
RStudio 2024.09.0+375 "Cranberry Hibiscus" Release (c8fc7aee6dc218d5687553f9041c6b1e5ea268ff, 2024-09-16) for windows
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) RStudio/2024.09.0+375 Chrome/124.0.6367.243 Electron/30.4.0 Safari/537.36, Quarto 1.5.57

Good to hear that I am not the only one. But so far, no guidance on how to solve the problem, which does seem to be something on the RStudio IDE side. So far it has not interfered with successful R package builds. Doug