Skip to content

Can't fetch resources when resources and render targets are in different subdirectories #9097

Answered by mcanouil
kthayashi asked this question in Q&A
Discussion options

You must be logged in to vote

Whatever is done in the code cells is done based on the working directory which can be set as you did.

Once computations are done, anything that relies on paths should start with / for absolute to project root paths which in case of single document is the document, else it's where _quarto.yml is.
Or use paths relative to the document calling/using the paths in question.

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@kthayashi
Comment options

@mcanouil
Comment options

@kthayashi
Comment options

@mcanouil
Comment options

Answer selected by kthayashi
@kthayashi
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
2 participants