-
Notifications
You must be signed in to change notification settings - Fork 18
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
image patterns do not update when local image files are changed #95
Comments
|
memoise::forget(gridpattern:::img_read_memoised) worked like a charm. I agree that the current image caching can be helpful when sourcing images from websites. Some more documentation is perfect. Thank you for the cool package! It's not useless at all. |
Development version of |
I want to geom_col_pattern + scale_pattern_file_discrete or _manual to create well-aligned image tiles in R markdown. My goal is to edit the source images (crop, offset, etc.) so that I can generate different image tiles using the same code.
However, I noticed that if I use the same image file name after editing, the next plot generated still uses the old image. Even if you delete the referred images locally, the code still runs and generates the same plot.
I think ggpattern retrieves cached images when it sees the same file names. It runs correctly after restarting Rstudio or when knitted.
Here is an example.
Session info
The text was updated successfully, but these errors were encountered: