From hpages at fhcrc.org  Sat Mar  9 10:02:52 2013
From: hpages at fhcrc.org (=?ISO-8859-1?Q?Herv=E9_Pag=E8s?=)
Date: Sat, 09 Mar 2013 01:02:52 -0800
Subject: [Rd] Submitting packages with weak circular dependencies to
	CRAN.
In-Reply-To: <1362789724.31926.414.camel@krivitsky.heinz.win.cmu.edu>
References: <1362789724.31926.414.camel@krivitsky.heinz.win.cmu.edu>
Message-ID: <513AFABC.7030203@fhcrc.org>

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

Cheers,
H.


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

-- 
Herv? Pag?s

Program in Computational Biology
Division of Public Health Sciences
Fred Hutchinson Cancer Research Center
1100 Fairview Ave. N, M1-B514
P.O. Box 19024
Seattle, WA 98109-1024

E-mail: hpages at fhcrc.org
Phone:  (206) 667-5791
Fax:    (206) 667-1319



[Rd] Submitting packages with weak circular dependencies to CRAN.
=?ISO-8859-1?Q?Herv=E9_Pag=E8s?=