I'm currently testing the new Quarto documents and I'm having a really strange problem when I try to render a simple HTML Quarto document. If I save the qmd file on the desktop, it renders without any problem. However if I save it anywhere else (including in a folder on my desktop), the rendering doesn't work and I get the following error message:
Error in rmarkdown:::abs_path(input) : The file 'test.qmd' does not exist. Calls: .main -> execute -> setwd -> dirname -> <Anonymous> Execution halted
Note that this only happens if I include an R code chunk in the document.
I don't have any space in the file or folder names and I also tried to change the working directory. Does anybody have an idea how to solve this problem? Here's my sessionInfo (using RStudio 2022.07.2+576):
R version 4.2.2 (2022-10-31 ucrt) Platform: x86_64-w64-mingw32/x64 (64-bit) Running under: Windows 10 x64 (build 19044) Matrix products: default locale:  LC_COLLATE=German_Switzerland.utf8 LC_CTYPE=German_Switzerland.utf8 LC_MONETARY=German_Switzerland.utf8  LC_NUMERIC=C LC_TIME=German_Switzerland.utf8 attached base packages:  stats graphics utils datasets grDevices methods base loaded via a namespace (and not attached):  compiler_4.2.2 fastmap_1.1.0 cli_3.4.1 htmltools_0.5.3 tools_4.2.2 yaml_2.3.6 rmarkdown_2.18  knitr_1.40 xfun_0.34 digest_0.6.30 rlang_1.0.6 evaluate_0.18