Replies: 1 comment
-
I would be open to a PR for this. In your case, maybe When I have used |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Help
Description
I'm using the
pins
package to store a dataset that is at the start of a targets pipeline. It would be great to have a shortcut to have that target invalidate automatically if the pin hash changes. I'm imagining something like:Which, under the hood, uses
pin_read(board = board_connect(), name = "ericrscott/mydata")
to read in the data and usespin_meta(board = board_connect(), name = "ericrscott/setaria_runs")$pin_hash
to get a hash to figure out if the target needs to be invalidated.I guess this would be implemented as a target factory where a target of the pin hash gets created upstream from the
pin_read()
bit?Beta Was this translation helpful? Give feedback.
All reactions