Re: [Rd] package vignettes, suggests and R CMD check

From: Peter Ruckdeschel <Peter.Ruckdeschel_at_uni-bayreuth.de>
Date: Tue 21 Nov 2006 - 19:01:18 GMT


Dear Seth,

thanks for your promptous response,

> Peter Ruckdeschel <Peter.Ruckdeschel at uni-bayreuth.de> writes:

>> We have encountered a problem concerning a dead lock in the dependency graph:
>>
>> We have two packages A1 and A2 where A2 extends A1.
>>
>> We have one package vignette for both packages, but which should be included
>> into package A1.
>>
>> So in the "suggests" field of the DESCRIPTION file of A1 we suggest A2
>> to be able to produce the vignette at build/install time.
>>
>> On the other hand this means that A2 has to be installed before being
>> able to check A1, and A1, of course, has to be installed before being
>> able to check A2.
>>
>> How can this dead lock be resolved?
> 
> Is it really a deadlock?  You can install A1 and then A2 and at that
> point you can check either one, right?

right. Not a problem at all for us. But when submitting the package to CRAN this is a no-go condition ...

> You might also be able to make part of the vignette in A1 conditional > on having A2

Sorry, I am stuck here: I do not see how you could do this; could you help me there?

> (or, of course, consider splitting the vignette or > merging the packages).

We thought about this, too; our reasons not to do so were:

merging the packages: our packages already have a considerable size, and the additional features provided for in the extension packages may not be needed by everybody;

splitting the vignette: It seemed to be a good idea for us, (a) not to have to repeat explications in the extension packages and (b) to draw the reader's attention to the features provided for by the extensions.

Thank you once again
Peter



R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Wed Nov 22 11:59:02 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Wed 22 Nov 2006 - 08:30:49 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.