[R] Creating packages in windoze: *** [indices] Error 1
Prof Brian Ripley
ripley at stats.ox.ac.uk
Thu Dec 23 19:26:31 CET 2004
My guess is that the syntax error is in a data file. Please read
and check that you can actually load all your data files (something that
was unchecked before).
On Wed, 22 Dec 2004, Niels Waller wrote:
> I am running R 2.0.1 on a Windoze XP OS. I recently upgraded from R 1.9x to
> 2.0.1 and I am currently
> upgrading a my personal function packages. My other packages compiled
> a hitch but I am having a difficult time with my largest package.
> Can someone please help me with the following error message
> "Error in parse(file, n, text, prompt) : syntax error on line 1)"
> I have searched the "Creating R packages"
> manual but have been unable to determine how to solve my problem.
> Thank you in advance for any and all help.
> Niels Waller
> Vanderbilt University
> H:\R\rw2001\src\gnuwin32>rcmd build --binary --use-zip taxon
Please try INSTALLing first, as `Writing R Extensions' suggests.
> * checking for file 'taxon/DESCRIPTION' ... OK
> installing R.css in h:/TEMP/Rbuild.1020
> ---------- Making package taxon ------------
> adding build stamp to DESCRIPTION
> installing R files
> installing inst files
> installing data files
> installing man source files
> installing indices
> Error in parse(file, n, text, prompt) : syntax error on line 1
> Execution halted
> make: *** [indices] Error 1
> make: *** [all] Error 2
> make: *** [pkg-taxon] Error 2
> *** Installation of taxon failed ***
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