Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Access columns of the plan from inside commands #677

Closed
wlandau opened this issue Jan 15, 2019 · 2 comments
Closed

Access columns of the plan from inside commands #677

wlandau opened this issue Jan 15, 2019 · 2 comments

Comments

@wlandau
Copy link
Member

wlandau commented Jan 15, 2019

#295 (comment)

@wlandau
Copy link
Member Author

wlandau commented Jan 16, 2019

A better name for the API function: from_plan().

drake_plan(
  x = target(
    mclapply(1:8, stuff, mc.cores = from_plan("cores")),
    cores = 2
  )
)

wlandau pushed a commit that referenced this issue Jan 16, 2019
Will enable from_plan() in #677
@wlandau
Copy link
Member Author

wlandau commented Jan 17, 2019

See ?from_plan for details.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant