[R] R CMD check: building indices error

Prof Brian Ripley ripley at stats.ox.ac.uk
Wed Mar 23 16:59:08 CET 2011


On Wed, 23 Mar 2011, Didier Leibovici wrote:

> Hi guys,
>
> I am updating a package because of data format in data folder. So I just
> change an extension of a file to .txt ... nothing more.
> I get this error on the R CMD check
> ** help
> *** installing help indices
> ** building package indices ...
> Error in read.table(zfile, header = TRUE, as.is = FALSE) :
>   more columns than column names
> ERREUR : installing package indices failed
>
> Note that the R CMD build goes through.

It would do, that only packages the files.

> The only thing is the sources and files comes from Windows VISTA and I
> ma running the R CMD on a Mac OS X 64b but the package has no binaries
> (just R code). Could it be related to the 32 /64 ...?

You have an invalid data file in your data directory, hence the 
error.  Most likely a .tab or .txt file, but review ?data carefully.

> cheers,
>
> Didier
>
> R version 2.12.1 (2010-12-16)
> Copyright (C) 2010 The R Foundation for Statistical Computing
> ISBN 3-900051-07-0
> Platform: x86_64-apple-darwin9.8.0/x86_64 (64-bit)
>
>
> Also I update the Snow Leopard yesterday ... should I reinstall R with
> the new kernel?
>  Version du syst?me :    Mac OS X 10.6.7 (10J869)
>   Version du noyau :    Darwin 10.7.0

Np, but you should update your R in any case.

>
> -- 
> Dr Didier G. Leibovici
>
>   Centre for Geospatial Science (CGS)
>  The Nottingham Geospatial Building (NGB)
> University of Nottingham
>  Innovation Park
>   Triumph Road
>    Nottingham NG7 2TU
>        Tel: +44(0)115 82 32760   fax: +44(0)115 95 15249
> http://www.nottingham.ac.uk/cgs/people/didier.leibovici
>
> This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it.   Please do not use, copy or disclose the information contained in this message or in any attachment.  Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.
>
> This message has been checked for viruses but the contents of an attachment
> may still contain software viruses which could damage your computer system:
> you are advised to perform your own checks. Email communications with the
> University of Nottingham may be monitored as permitted by UK legislation.
> 	[[alternative HTML version deleted]]
>
>

-- 
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



More information about the R-help mailing list