# NOT RUN {
plan1 <- drake_plan(
y = target(
f(x),
transform = map(x = c(1, 2))
),
transform = FALSE
)
plan2 <- drake_plan(
z = target(
g(y),
transform = map(y, .id = x)
),
transform = FALSE
)
plan <- bind_plans(plan1, plan2)
transform_plan(plan)
# }
Run the code above in your browser using DataLab