Is there a way to reproduce the functionality of knitr::opts_knit$set(root.dir = '/path/to/dir')
from Rmarkdown (which does work in Quarto as well, when ran from a chunk) but straight from the YAML block? Something like:
---
knitr:
options:
root.dir: "/path/to/dir"
---
(I've tried it, and also substituting options
with opts_knit
, and it doesn't work either way.
Thank you!