[R] Package dependencies in building R packages

Axel Urbiz
Mon, 30 Dec 2013 18:24:08 -0000

Dear users,

My package {foo} depends on a function "miscFUN" which is on package
{foo_depend}. This last package also depends on other packages, say {A, B,
C}, but miscFUN is not dependent on A, B, C (only on foo_depend).

In my package {foo}, is there a way to only have it depend on the function
miscFUN from {foo_depend} without having the user to have installed A, B,
C? (as none of those packages are needed for my package to work properly).
Also, is this a best practice?

Thanks for any guidance.

Best,
Axel.

	[[alternative HTML version deleted]]