Skip to content

Submitting packages with weak circular dependencies to CRAN.

4 messages · Pavel N. Krivitsky, oliver, Hervé Pagès +1 more

#
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.

                    Thanks in advance,
                    Pavel Krivitsky
#
Hello,
On Fri, Mar 08, 2013 at 07:42:04PM -0500, Pavel N. Krivitsky wrote:
[...]

Why not putting common stuff of A and B into C and then let A and B depend on C?

Ciao,
   Oliver
#
Hi Pavel,
On 03/08/2013 04:42 PM, Pavel N. Krivitsky wrote:
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...

Cheers,
H.

  
    
#
On 09.03.2013 10:02, Herv? Pag?s wrote:
...  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