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: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
The general behavior you describe is intended because the default |
Beta Was this translation helpful? Give feedback.
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