Pweave icon indicating copy to clipboard operation
Pweave copied to clipboard

Automatically rerun changed cached chunks

Open konstunn opened this issue 8 years ago • 3 comments

Will pweave automatically rerun chunks which were changed since last time they were cached? Or one should handle this manually? And, however, as far as I can see there are only two options on what to run (not to run): rerun everything or nothing. Is it so?

konstunn avatar Sep 19 '17 01:09 konstunn

@mpastell would you be interested in a PR that added this functionality?

fgregg avatar Mar 31 '18 00:03 fgregg

Yes, a PR would be welcome. It’s actually easy to check if a chunk has changed, but it would probably be more useful to somehow handle depencies between chunks.

mpastell avatar Mar 31 '18 07:03 mpastell

I agree that checking dependencies would be great. This is not something that knitr or sweave does. Would you accept a PR that just reran changed chunks.

fgregg avatar Mar 31 '18 14:03 fgregg