[Rd] Comments requested on "changedFiles" function

Hadley Wickham h.wickham at gmail.com
Thu Sep 5 18:49:51 CEST 2013


> This approach does have the difficulty that users could attempt to compare
> snapshots that were taken with different options and that can't be
> compared, but that should be an easy error to detect.

FYI I implemented that approach in testthat:
https://github.com/hadley/testthat/blob/master/R/watcher.r - it's a
bit more general, because it just sits in the background and listens
for changes, dispatching to a callback.

Hadley

-- 
Chief Scientist, RStudio
http://had.co.nz/



More information about the R-devel mailing list