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
Search for duplicates among the existing issues, both open and closed.
Be considerate of the maintainer's time and make it as easy as possible to troubleshoot any problems you identify. Read here and here to learn about minimal reproducible examples. Format your code according to the tidyverse style guide to make it easier for others to read.
If you think your issue has a quick and definite solution, consider posting to Stack Overflow under the drake-r-package tag. (If you anticipate extended follow-up and discussion, you are already in the right place!)
Description
I want to pass named lists to targets through the .data grid, but something seems to unname them.
Names should stick in 9fb42f5. But whether you use the CRAN version or the dev version, it's recommended in this case to use language objects than lists.
drake_plan() creates code, and static branching inserts symbols to help automate that code generation. So your first example was really trying to bootstrap back the code that generated the list objects in arg. It’s usually better to begin with code or basic types to avoid having to reconstruct the code that generated the object.
Prework
drake
's code of conduct.drake-r-package
tag. (If you anticipate extended follow-up and discussion, you are already in the right place!)Description
I want to pass named lists to targets through the
.data
grid, but something seems to unname them.Reproducible example
Created on 2020-09-22 by the reprex package (v0.3.0)
Session info
Desired result
The
.data
grid retaining list element names.The text was updated successfully, but these errors were encountered: