[Rd] Creating a package bundle.

Seth Falcon sfalcon at fhcrc.org
Mon Mar 27 16:28:50 CEST 2006


Hi Steve,

Are you sure you want a bundle?  If you are writing your own package
Foo that depends on two pacakges already available via CRAN, then all
you need to do is list those two pacakges in the Depends field of your
package's DESCRIPTION file.

This will give you the automatic downloading of Foo's dependencies
when a user does: install.packages("foo", dependencies=TRUE)

As for the versions, you can specify required versions also in the
Depends field (see the writing R extensions guide).

+ seth



More information about the R-devel mailing list