You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If there is already a relevant issue, whether open or closed, comment on the existing thread instead of posting a new issue.
New features take time and effort to create, and they take even more effort to maintain. So if the purpose of the feature is to resolve a struggle you are encountering personally, please consider first posting a "trouble" or "other" issue so we can discuss your use case and search for existing solutions first.
Proposal
tar_rep() establishes a batching scheme, but then it is up to the user to write custom code to iterate over reps within batches. If possible, it would be nice to have a helper automatically process the iterations of an individual batch. This sort of thing is so general that I am not sure it is possible Sketch:
tar_map_reps() should automatically detect which targets are batched (e.g. data1 and data2 but not data3) and infer how to iterate over the batches given the data types (lists or data frames).
The text was updated successfully, but these errors were encountered:
I no longer like the above helper tar_map_reps(). I propose a target factory called tar_rep_map() that abstracts away all the dynamic branching and accepts multiple batched targets.
Another idea: tar_batch(), a target factory to create a batching structure on an existing return value without having to go through tar_rep().
Thought about it, but tar_batch() and a more generalized tar_rep_map() is extremely brittle. Let's stick with operations directly downstream of tar_rep() targets.
Prework
Proposal
tar_rep()
establishes a batching scheme, but then it is up to the user to write custom code to iterate over reps within batches. If possible, it would be nice to have a helper automatically process the iterations of an individual batch. This sort of thing is so general that I am not sure it is possible Sketch:tar_map_reps()
should automatically detect which targets are batched (e.g.data1
anddata2
but notdata3
) and infer how to iterate over the batches given the data types (lists or data frames).The text was updated successfully, but these errors were encountered: