The default quarto::quarto_render() function can only render outputs to the current working directory. This is a wrapper that moves the rendered output to output_dir.

quarto_render_move(input, output_file = NULL, output_dir = NULL, ...)

Arguments

input

Path to the input qmd file.

output_file

The name of the output file. If using NULL then the output filename will be based on filename for the input file.

output_dir

Path to the output directory.

...

Other args passed to quarto::quarto_render()