From ligges at statistik.tu-dortmund.de  Sat Mar  9 16:43:45 2013
From: ligges at statistik.tu-dortmund.de (Uwe Ligges)
Date: Sat, 09 Mar 2013 16:43:45 +0100
Subject: [Rd] Submitting packages with weak circular dependencies to
	CRAN.
In-Reply-To: <513AFABC.7030203@fhcrc.org>
References: <1362789724.31926.414.camel@krivitsky.heinz.win.cmu.edu>
	<513AFABC.7030203@fhcrc.org>
Message-ID: <513B58B1.4070705@statistik.tu-dortmund.de>



On 09.03.2013 10:02, Herv? Pag?s wrote:
> Hi Pavel,
>
> On 03/08/2013 04:42 PM, Pavel N. Krivitsky wrote:
>> Hello, R-devel,
>>
>> I am planning to submit two packages, A and B, to CRAN. Package B uses
>> an API exported by package A, while package A uses package B to test the
>> API in question. Thus, package B Depends on, and Enhances, A, and A
>> Suggests B.
>>
>> Could I get some guidance on submitting them to CRAN? A cannot be
>> checked without B, but B cannot be installed without A.
>
> The CRAN people will probably have a better solution to offer but the
> following 3-step procedure should work, at least in theory:
>
> - First submit a degraded version of A i.e. a version that doesn't
>    suggest B and where all the tests using B are turned off.
>
> - Then submit B.
>
> - Then submit the full version of A with a higher version.
>
> Or, merge A and B in a single package...


...  or ask the CRAN people directly. They will tell you to go ahead, 
submit A and mention in the submission mail that the Suggested B which 
Depends on A will be uploaded once A has been accepted.

Best,
Uwe Ligges


>
> Cheers,
> H.
>
>
>>
>>                      Thanks in advance,
>>                      Pavel Krivitsky
>>
>> ______________________________________________
>> R-devel at r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-devel
>>
>



[Rd] Submitting packages with weak circular dependencies to CRAN.
Uwe Ligges