Skip to content
Prev 19992 / 63424 Next

Bundle internal dependencies

Iago

What you are trying to do should work, but there are a couple of things 
to watch out for. In the bundle DESCRIPTION "Contains" line be sure to 
put the packages in the order that they should be checked.  In the R 
code for package B be sure to put an .onload function with 
requires("A"), or else require("A") explicitly for anything that needs 
it.  As I recall, this is not necessary for packages, if the package 
DESCRIPTION has Depends: A, but with bundles R CMD check does not work 
unless you explicitly do requires("A") in the code. It may also be 
necessary to specify the package in the data() function - I always do.

I think that is all, but is has been awhile since I worked this out, so 
I may have forgotten something.

Paul
Iago Mosqueira wrote:
====================================================================================

La version fran?aise suit le texte anglais.

------------------------------------------------------------------------------------

This email may contain privileged and/or confidential inform...{{dropped}}