[Rd] cyclic namespace dependency detected when loading ...
ligges at statistik.tu-dortmund.de
Sun Aug 25 16:18:05 CEST 2013
On 21.08.2013 16:34, Jannis wrote:
> Hi R users,
> I am developing two packages. Each package uses some functions from the
> other package. Now when I define these dependencies in the NAMESPACE
> file (via importFrom(XXXX,function1,....)), i get this error (when
> building one package):
> cyclic namespace dependency detected when loading 'XXXXXX', already
> loading ‘YYYYYYY’, ‘XXXXXXXXX’
> Is there any way to prevent this error? Shouldn't this case be allowed
> in some way? Or can package dependencies only be in one direction?
Imports only in one direction: Package A has to be installed before
package B and package B before package A now. The hen and the egg...
> R-devel at r-project.org mailing list
More information about the R-devel