Plot files not regenerated after user deletion
danreb25 opened this issue · 2 comments
danreb25 commented
Hi is this a normal behavior?
- I open a R session
- When running a report template (custom template) with plot, the required plot image files are generated. (e.g. plot1.jpg, plot2.jpg, plot3.jpg)
- I delete plot2.jpg (e.g. because I just modified the plot generation script, and want it to be generated again taking into account the modifications).
- I rerun the report template
Pandoc error file not found exception on the image file I just deleted.
In fact, I was expecting the plot2.jpg file been generated again, but it isn't ... unless I close my R session and open another again and rerun the report template.
Thanks for your comment on this one.
Cheers
daroczig commented
Thanks for reporting this issue, it's probably related to regenerating images, I will try to reproduce the bug. Until then, please try setting pander::evalsOptions('cache', FALSE)
after loading the rapport
package.
danreb25 commented
Hi,
Ok it's fine with setting pander::evalsOptions('cache', FALSE)