blogdown - R plots get overwritten by latest document

Viewed 37

I have several foo.Rmd documents, each one in a different content/lectures/bar/ folder, wehre bar is 00, 01 etc. When I knit these, R plots get saved into the same static/rmarkdown-libs/figure-html5 folder which gets overwritten everytime a document is rendered. This means, that the only figures left are the ones from the latest knitted document.

Blogdown manual says that dependencies should all be copied in a folder of their own but this doesn't seem to be happening.

Has anyone encountered this behaviour/has an idea on how to fix it?

(I am using the "pretty" URL Hugo option)

Thanks!

0 Answers
Related