Skip to content
Prev 34186 / 63424 Next

build time dependency

Romain Francois wrote:
Do you mean at a) "R CMD build" time or at b) "R CMD INSTALL" time?
For a), you probably do not need to declare it in DESCRIPTION at all 
(untested).
For b), you need to declare it. I feel uncomfortable to change the 
Depends field between source and binary version of a package. At least, 
it is not documented to work and if it works (have you tested that?), it 
might not work in some future release of R.
But since you gave at least 2 reasonable examples for a 
INSTALL-time-only dependency, you might want to contribute some patches 
to handle such a thing.

Best wishes,
Uwe