I know it is not best practice to use the R package called drake
within a notebook tool, but I'm doing it anyway as a workaround for the limitations to the collaboration infrastructure we have on my team at work. Since my code is broken up into chunks that are distributed throughout sections of the notebook, it would be useful to have multiple analysis plans, which I would execute in the appropriate section, and other plans may be written and executed in subsequent sections of the notebook. Is it possible to write multiple plans in drake
?
Sorry I am late to this thread. I am the maintainer of the drake
R package, and I usually expect to receive questions on the issue tracker. A drake-r-package
StackOverflow tag would really help me keep up, but I do not have that privilege.
Anyway, interesting use case. I do see some workarounds:
drake
uses storr
to cache its targets, and you could create different caches for different sections of your report. Essentially, your report would manage a bunch of separate drake
projects. See this chapter in the manual for more on the caching system. Use the cache
argument to make()
to supply a manual or non-default storr
cache.targets
argument to make()
to only build a select few targets and their out-of-date dependencies.If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With