Skip to content

Equivalent of make -t (GNU Make touch) #172

Answered by wlandau
grantmcdermott asked this question in Q&A
Discussion options

You must be logged in to vote

Sounds like drake triggers might help: https://books.ropensci.org/drake/triggers.html. make(plan, ..., trigger = trigger(depend = FALSE)) allows you to change a function without invalidating downstream targets, but this will also disable all other instances of dependency-induced invalidation. Alternatively, make(plan..., trigger = trigger(condition = FALSE, mode = "condition")) should not rerun any targets unless they have not been built yet.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by grantmcdermott
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #171 on May 03, 2021 11:31.