From sfalcon at fhcrc.org  Mon Mar 27 16:28:50 2006
From: sfalcon at fhcrc.org (Seth Falcon)
Date: Mon, 27 Mar 2006 06:28:50 -0800
Subject: [Rd] Creating a package bundle.
In-Reply-To: <3B862D6B11ECDE458F679DDA238A135A1D82D9@lisa> (Steve Su's message
	of "Mon, 27 Mar 2006 15:06:37 +1100")
References: <3B862D6B11ECDE458F679DDA238A135A1D82D9@lisa>
Message-ID: <m21wwootb1.fsf@ziti.local>

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



[Rd] Creating a package bundle.
Seth Falcon