Hi all,
I am terying quarto as a replacement for my Rmd-based rmarkdown::render
workflow to render reports into specific folders. The usual project structure has the Rmd files in a scripts folder and then I render them to specific results folders :
project_base:
- scripts/
- hello.Rmd
- results/
- reports/
- hello.html
- reports/
I do this with:
rmarkdown::render(
"scripts/hello.Rmd",
output_dir = "results/reports"
)
Trying to recreate this in quarto-cli with a simple example, I thought thought the way to go was the option --output-dir
:
quarto render scripts/hello.qmd --output-dir report/
However this places all outputs in the same directory as the qmd file (scripts/) and not in the output-dir:
ls scripts/
hello_files hello.html hello.qmd
Is this the expected behaviour? Is there a way to replicate the rmarkdown::render(output_dir = "dir")
behaviour?
Cheers-