Closed pawelru closed 1 week ago
Indeed this is not desirable. I would personally consider this a form of bug.
I think this will need to be handled in https://github.com/posit-dev/r-shinylive/blob/main/R/quarto_ext.R, as it is this file that makes the writes to .quarto/...
.
I have noticed that there are multiple WASM downloads of the same package (of the same version). Is that desirable? Can it be optimised - e.g. cache on the project level?
Just for the record, full log here.
I have multilevel project structure as follows:
Each of the quarto article has a single
shinylive-r
code chunk.During the render process, there are multiple
.quarto
temp dirs created to which there is a separate download process. That means that I am downloading the same package multiple times as well as the whole project consumes a lot of disk space.After the render it looks more or less like this:
Luckily,
.quarto
dir is gitignored by default so it keeps my git storage safe. My main concern here is the performance.In my case it was repeated (at least) 14 times: