Skip to content

[help] Name spec for vctrs::vec_c in dynamic target aggregation makes it impossible to aggregate st::sf objects #1401

Closed Answered by wlandau
guglicap asked this question in Help
Discussion options

You must be logged in to vote

This is tricky because targets tries to preserve the names of dynamic branches and .name_spec is required when aggregating true vectors with lengths > 1. d01f86d falls back on do.call(vctrs::vec_c, unname(objects)) with no name spec. I think this fixes the issue.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by guglicap
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants