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
Should be fixed in 1cefc2b. However, please try to avoid !! on complicated objects. It is difficult for R to reconstruct the expression that produces the evaluated object you supply. In earlier versions of R before deparse(control = "niceNames") was implemented, drake_plan(x = !!mtcars) removes the names of the columns of the mtcars dataset.
To advocate for my needs, I am currently building a drake-workflow-as-package for end-users (slightly inspired by januz/drakepkg), and so a function generating a plan must insert values instead of names (function formals) to the plan. These values are pipeline parameters passed in a list, and this list is also stored as a target for the sake of reproducibility.
EDIT: I will let you know when this package is deployed because I think it could serve as another good example besides januz/drakepkg 🙂
Prework
Description
Bang-bang (
!!
) indrake_plan()
for more complex or empty objects causes error duringmake()
.Reproducible example
Created on 2021-07-15 by the reprex package (v2.0.0)
Session info
Expected result
No errors should arise 🙂
The text was updated successfully, but these errors were encountered: