Skip to content

[help] specifying an output directory with quarto_render() works but also results in an error #207

Answered by wlandau
brndngrhm asked this question in Help
Discussion options

You must be logged in to vote

I am able to get the rendered html to the right output directory

Almost, but like you mention later, the output file ends up in _quarto_output/R/reports/explore-data.html instead of _quarto_output/explore-data.html. You'll see this if you run quarto render R/reports/explore-data.qmd in the command line, so that part is a Quarto issue.

i also i get the error below

targets needs to know the location of the output HTML file because it needs to watch the file for changes, and it's tricky when you have a project-level output-dir in _quarto.yml and a non-project-level path = "R/reports/explore-data.qmd". 083ca89 accounts for output-dir in this particular case. Even though the actual output …

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@brndngrhm
Comment options

Answer selected by brndngrhm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants