Open retorquere opened 4 years ago
Knitr already implements a cache.
Please check https://yihui.org/knitr/demo/cache/ - it should in theory work (I hope).
I don't think this works -- the plantuml chunks take about the same amount of time, and in the cache directory I see an .RData
, .rdb
abd .rdx
file per chunk, but not a png.
I tried it once, and I think it worked, but I think I did have plantuml.preview = FALSE
.
Could yo please check with plantuml.preview = FALSE
and report back? Thanks.
I have tried it with preview off -- it is a little faster, maybe? It's hard to actually tell, it's certainly not skipping all work. I still only see the same files in my cache directory also.
Thanks - I will look into this. For the moment, I have no answer on the why and how.
Needs to be checked with 0.6.5 onwards.
In the case of something like