Replies: 1 comment 2 replies
-
Great use of |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hiya! Question/idea that is semi-related to #82.
I'm wondering if there's a way to use something like
eval_select()
to make a target depend on a subset of previous targets. In my head, this would be something liketar_target(name, command, cue = tar_cue_depends(on = starts_with("file_"))
. I found a way to do this usingtar_combine()
(see below) but am wondering if there's an easier way to achieve this? If not, do you think it's something possible/worth doing? I'd be happy to work on a PR!Consider the following pipeline where I map over the year, subset data, and write it to a file. I then have a function 'upload' that I want to depend on all
file_*
targets.Created on 2022-02-14 by the reprex package (v2.0.1)
Beta Was this translation helpful? Give feedback.
All reactions