Thanks for the note. There was a case of cyclic dependencies . Is there a way to make the error message a bit more transparent (for those of us who are a bit slow to figure it out)?
On Wed, Mar 19, 2008 at 2:40 PM, Prof Brian Ripley <[EMAIL PROTECTED]> wrote: > 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@r-project.org mailing list > > https://stat.ethz.ch/mailman/listinfo/r-devel > > > > -- > Brian D. Ripley, [EMAIL PROTECTED] > Professor of Applied Statistics, > http://www.stats.ox.ac.uk/~ripley/<http://www.stats.ox.ac.uk/%7Eripley/> > University of Oxford, Tel: +44 1865 272861 (self) > 1 South Parks Road, +44 1865 272866 (PA) > Oxford OX1 3TG, UK Fax: +44 1865 272595 > [[alternative HTML version deleted]] ______________________________________________ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel