rapport icon indicating copy to clipboard operation
rapport copied to clipboard

Plot files not regenerated after user deletion

Open danreb25 opened this issue 11 years ago • 2 comments

Hi is this a normal behavior?

  1. I open a R session
  2. When running a report template (custom template) with plot, the required plot image files are generated. (e.g. plot1.jpg, plot2.jpg, plot3.jpg)
  3. 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).
  4. 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

danreb25 avatar Mar 12 '14 01:03 danreb25

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.

daroczig avatar Mar 12 '14 11:03 daroczig

Hi, Ok it's fine with setting pander::evalsOptions('cache', FALSE)

danreb25 avatar Mar 12 '14 22:03 danreb25