Closed chainsawriot closed 3 weeks ago
quarto
basically uses processx::run
and the default wd
is getwd()
.
https://github.com/r-lib/processx/blob/c3ab227336a552319633a0fee528a1e7df1f2f44/R/initialize.R#L91
So, perhaps something like withr::temp_dir()
would be good enough.
https://github.com/quarto-dev/quarto-r/blob/f6f750cc85b61a6f60043f7374a7aff26d5f68a0/R/use.R#L50-L52