ropensci-books/drake

Equivalent of `make -t` (GNU Make touch)

grantmcdermott opened this issue · 0 comments

Apologies if I missed something obvious, but does drake have an equivalent of GNU Make's "touch" flag (-t)? See description here.

My situation is that I need to make a (minor) change to an upstream function that will have no impact on my existing targets --- it's an additional function argument that defaults to NULL --- but is needed for a new target that I want to create. To avoid rebuilding everything, I'd like to introduce my minor change and then update the timestamps of my existing targets without rebuilding. Only then would I create the new target that relies on this minor change.

P.S. The "skip_targets" argument looks like it might be what I'm looking for, but it's not entirely clear from the description. I think that this could just be a temporary build shortcut, rather than a way of updating the target timestamps.