Difference in behaviour for dynamic branching [help] #1570
Help
DescriptionIf I start dynamic branching over a list, I created the following example. My question is: |
Answered by
wlandau
Feb 23, 2026
Replies: 1 comment 1 reply
|
The general behavior you describe is intended because the default |
1 reply
Answer selected by
grimmjulian
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The general behavior you describe is intended because the default
iterationargument oftar_target()is"vector", so slicing happens withvctrs::vec_slice().vec_slice()behaves like[. If you want list indexing with[[, chooseiteration = "list". Details: https://books.ropensci.org/targets/dynamic.html#iteration