Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plot files not regenerated after user deletion #102

Open
danreb25 opened this issue Mar 12, 2014 · 2 comments
Open

Plot files not regenerated after user deletion #102

danreb25 opened this issue Mar 12, 2014 · 2 comments

Comments

@danreb25
Copy link

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

@daroczig
Copy link
Member

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
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants