I am trying to build a R 1.7 package under Windows NT. I created the DESCRIPTION file, the RD file and added the code to the R folder. I also downloaded and installed the Rtools package and have Perl 5.0. I know that Perl, Miktex, and gcc are working. I also have my PATH variable set correctly. I can fake install my package by removing the *.R from the code file, using Rcmd Rdconv to create the 00index.html file from my Rd file, and copying the package folder to the library folder. But I can't seem to get Rcmd build to build a binary version of my package. I can run build without the "--binary" option and I get all my files in a taz.gz file. D:\>Rcmd build emme2 * checking for file 'emme2/DESCRIPTION' ... OK * preparing 'emme2': * checking whether 'INDEX' is up-to-date ... OK * removing junk files * building 'emme2_0.1.tar.gz' But when I try to build a precompiled binary package I get the following response: D:\>Rcmd build --binary emme2 * checking for file 'emme2/DESCRIPTION' ... OK make: *** [pkg-emme2] Error 255 *** Installation of emme2 failed *** installing R.css in c:/TEMP/Rbuild.225 * building 'emme2_0.1.zip' zip error: Invalid command arguments (no such option: X) Any help would be appreciated. Thanks. Benjamin Stabler Transportation Planning Analysis Unit Oregon Department of Transportation 555 13th Street NE, Suite 2 Salem, OR 97301 Ph: 503-986-4104
Building an R package under Windows NT
3 messages · Benjamin.STABLER@odot.state.or.us, Brian Ripley, Duncan Murdoch
Try to install the package first, via Rcmd INSTALL emme2 as a binary build involves an install and a direct install may be more informative. The message about zip suggests you don't have the right things first in your path, so please read the file readme.packages and cross check. In particular, check that `zip -v' gives Copyright (C) 1990-1999 Info-ZIP Type 'zip "-L"' for software license. This is Zip 2.3 (November 29th 1999), by Info-ZIP. ... (and that version does have an X argument).
On Mon, 2 Jun 2003 Benjamin.STABLER at odot.state.or.us wrote:
I am trying to build a R 1.7 package under Windows NT. I created the DESCRIPTION file, the RD file and added the code to the R folder. I also downloaded and installed the Rtools package and have Perl 5.0. I know that Perl, Miktex, and gcc are working. I also have my PATH variable set correctly. I can fake install my package by removing the *.R from the code file, using Rcmd Rdconv to create the 00index.html file from my Rd file, and copying the package folder to the library folder. But I can't seem to get Rcmd build to build a binary version of my package. I can run build without the "--binary" option and I get all my files in a taz.gz file. D:\>Rcmd build emme2 * checking for file 'emme2/DESCRIPTION' ... OK * preparing 'emme2': * checking whether 'INDEX' is up-to-date ... OK * removing junk files * building 'emme2_0.1.tar.gz' But when I try to build a precompiled binary package I get the following response: D:\>Rcmd build --binary emme2 * checking for file 'emme2/DESCRIPTION' ... OK make: *** [pkg-emme2] Error 255 *** Installation of emme2 failed *** installing R.css in c:/TEMP/Rbuild.225 * building 'emme2_0.1.zip' zip error: Invalid command arguments (no such option: X) Any help would be appreciated. Thanks. Benjamin Stabler Transportation Planning Analysis Unit Oregon Department of Transportation 555 13th Street NE, Suite 2 Salem, OR 97301 Ph: 503-986-4104
______________________________________________ R-help at stat.math.ethz.ch mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help
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
On Mon, 2 Jun 2003 11:35:21 -0700 , you wrote in message <76A000A82289D411952F001083F9DD06047FE0E1 at exsalem4-bu.odot.state.or.us>:
But when I try to build a precompiled binary package I get the following response: D:\>Rcmd build --binary emme2 * checking for file 'emme2/DESCRIPTION' ... OK make: *** [pkg-emme2] Error 255 *** Installation of emme2 failed *** installing R.css in c:/TEMP/Rbuild.225 * building 'emme2_0.1.zip' zip error: Invalid command arguments (no such option: X)
Looks as though you have an incompatible version of zip on your path ahead of the one from Rtools. Duncan Murdoch