Closed wlandau closed 5 years ago
Good points! I agree completely.
I'm working on a deadline project right now but as soon as I'm finished with that I'll convert plan_example
into a function and change the package documentation accordingly.
Thanks!
I have adopted this approach and found that it works way better than the old one.
The package has been updated accordingly.
I have been thinking about your question from https://github.com/ropensci/drake/issues/471#issuecomment-407489404, and I feel more strongly about distributing plans as functions rather than datasets. The functions I have in mind would have all relevant calls to
drake_plan()
,evaluate_plan()
,bind_plans()
, etc. This encourages good practice since the generating code of the plan is important to have on hand, and it gives you flexibility for generating different versions of the same plan. Also, users ofdrakepkg
can see how your plans are generated, and it could help them generate their own plans.