From ripley at stats.ox.ac.uk  Wed Mar 19 15:40:23 2008
From: ripley at stats.ox.ac.uk (Prof Brian Ripley)
Date: Wed, 19 Mar 2008 14:40:23 +0000 (GMT)
Subject: [Rd] Error in code2LazyLoadDB
In-Reply-To: <52f663c40803190705j736e795ck15f01e90a4e867f4@mail.gmail.com>
References: <52f663c40803190705j736e795ck15f01e90a4e867f4@mail.gmail.com>
Message-ID: <alpine.LFD.1.00.0803191435290.5404@gannet.stats.ox.ac.uk>

It means that when trying to prepare this "anonymous" package (ppiStats?) 
for lazy loading, it is already loaded.

Most likely you have a dependency cycle amongst the namespaces.

The ppiStats on BioC 2.2 has a very long list of dependencies, but does 
load under R-devel.

On Wed, 19 Mar 2008, Tony Chiang wrote:

> Hi all,
>
> While the package with which I am working is apart of the Bioconductor
> project, I think that this might be a better forum to ask my question. I
> have recently updated one of my packages, and then tried to build it using
> R-devel, but I get the following error message:
>
> ################
> -----snip----
> Loading required package: lattice
> Loading required package: RColorBrewer
> Error in code2LazyLoadDB(package, lib.loc = lib.loc, keep.source =
> keep.source,  :
>  name space must not be loaded.
> Calls: <Anonymous> -> code2LazyLoadDB
> Execution halted
> ERROR: lazy loading failed for package 'ppiStats'
>
>
>> sessionInfo()
> R version 2.7.0 Under development (unstable) (2008-02-10 r44415)
> i386-apple-darwin8.11.1
>
> locale:
> C
>
> attached base packages:
> [1] stats     graphics  grDevices utils     datasets  methods   base
> ##################
>
> I can build the package with R 2.6.2 Patched and also install. The error
> message is not too helpful to let me figure out what is happening, but the
> only obvious thing that I can see is that my RColorBrewer packages are
> different for R patched (RColorBrewer_1.0-1) and R devel
> (RColorBrewer_1.0-2).  Does anyone have any suggestions or ideas on how to
> fix this ?
>
> Best,
> --Tony
>
> 	[[alternative HTML version deleted]]
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595



[Rd] Error in code2LazyLoadDB
Prof Brian Ripley