[R] ERROR: installing package indices failed
sblay at sfu.ca
Wed Dec 15 19:57:08 CET 2004
Turns out that this problem is a propagation of a bug from a
Depends package - gdata doesn't import stats in its NAMESPACE
file, although it makes use of objects defined in stats like
reorder and na.omit.
I'm curious as to the reason why 'R CMD check' did not detect
this at the source package, and instead did not pass my new
package. Something for you mighty R developers to consider?
On Sun, Nov 21, 2004 at 05:19:46PM +0100, Uwe Ligges wrote:
> Sigal Blay wrote:
> >gregmisc is installed yet the problem persist.
> >I installed gregmisc using
> >(on the same library path where I am trying to install LDheatmap)
> Have you set the environment variable R_LIBS appropriately?
> Uwe Ligges
> > Package LibPath Version Priority Bundle
> >combinat "combinat" "/home/sblay/lib" "0.0-5" NA NA
> >gdata "gdata" "/home/sblay/lib" "2.0.0" NA
> >genetics "genetics" "/home/sblay/lib" "1.1.1" NA NA
> >gmodels "gmodels" "/home/sblay/lib" "2.0.0" NA
> >gplots "gplots" "/home/sblay/lib" "2.0.0" NA
> >gtools "gtools" "/home/sblay/lib" "2.0.0" NA
> >LDheatmap "LDheatmap" "/home/sblay/lib" "1.0" NA NA
> >>I am developing a package named LDehatmap.
> >>It depends on the "genetics" package
> >>and includes two data files and a demo file.
> >>When I'm trying to install it, I get the following messages:
> >>* Installing *source* package 'LDheatmap' ...
> >>** R
> >>** data
> >>** demo
> >>** help
> >>>>>Building/Updating help pages for package 'LDheatmap'
> >> Formats: text html latex example
> >>LDheatmap text html latex example
> >>ldheatmap text html latex example
> >>Error: object 'reorder' not found whilst loading namespace
> >>Error: package 'gdata' could not be loaded
> >>Execution halted
> >>ERROR: installing package indices failed
> >>Any ideas?
> >Yes. You do not have gdata (part of gregmisc) installed, and
> >genetics depends on it. How did you get genetics installed? A
> >binary install?
> >Install gregmisc ....
> >R-help at stat.math.ethz.ch mailing list
> >PLEASE do read the posting guide!
More information about the R-help