Let's say I have 3 packages A
, B
, and C
.
B
connects to data repository 1
and has functions specific to that API.
C
connects to data repository 2
and has functions specific to that API.
Eventually there will be several more child packages.
Package A
will have generic
methods and other common functions (e.g. authentication) that apply to data acquired through B
and C
. The rationale here is that this would be a more streamlined way to keep up with development (e.g. one would have to update a single auth
function rather than doing that inside each child package). So it makes sense for A
to be on the depends list for B
and C
But I would also like users to just install A
and have access to all child packages. For this, I want B
and C
to be on its depends list.
Is this possible? Should I have a better workflow?
Suggests: B C
inA
andDepends: A
in bothA
andB
sinceA
doesn't require the others but they do requireA
. – Uninspiredget_data(data_source="B")
orget_data(data_source=all)
. We could do away with child packages but right now it is necessary for async development. – Crandale