Dear Prof. Ripley, Thanks for your suggestion. Yes, R CMD INSTALL also failed and the problem was indeed in the data directory.
There were some files (.R) in the data directory, which were creating the error. After removing them, R CMD check works fine. Best, Nitin -----Original Message----- From: Prof Brian Ripley [mailto:[EMAIL PROTECTED] Sent: Thursday, October 20, 2005 5:39 PM To: Jain, Nitin Cc: '[EMAIL PROTECTED]' Subject: Re: [Rd] Error in building package indices There is not much context here, but it seems this is whilst trying to do an install. I would expect R CMD INSTALL to fail in the same place. It appears to indicate a bug in one of your datasets. On Thu, 20 Oct 2005, Jain, Nitin wrote: > Dear R-devel members, > > We are building a new package (GeneticsBase) for analysis of genetic data . > While doing "R CMD check with R-2.1.1, I am getting the following error: > > ** building package indices ... > Error in "colnames<-"(`*tmp*`, value = c("family", "pid", "father", > "mother", : > length of 'dimnames' [2] not equal to array extent > Execution halted > ERROR: installing package indices failed > ERROR > Installation failed. > > We believe that this could be due to package versioning, but are not sure. Not sure what you mean here. No versioning is being used by R CMD check. -- Brian D. Ripley, [EMAIL PROTECTED] 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 ---------------------------------------------------------------------- LEGAL NOTICE\ Unless expressly stated otherwise, this messag...{{dropped}} ______________________________________________ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel