Closed hadley closed 6 years ago
Depend. For example, recipes
can just import modelgenerics
instead of broom
and I get the same functionality with a smaller footprint.
Will recipes "depend" on modelgenerics, or "import" it?
Right now it depends on broom
but I've never liked that. I could import modelgenerics
and reexport tidy
.
I think we are talking at cross-purposes here. There are two ways that a package that uses modelgenerics could make the generics available to users:
library(recipes)
implicitly does library(modelgenerics)
I think you should document which is preferred.
I've been re-exporting. There's a broom vignette on how to do this in progress here. Also a minimal demonstration package.
i.e. do you expect users of this package to re-export it or depend on it?