> Hi there fellow R-Users, > > I am trying to use the "package.skeleton" to create my own package with > R.1.7.1 on Windows XP Professional. > I have followed the package.skeleton example and have downloaded the > necessary files found at http://www.stats.ox.ac.uk/pub/Rtools/tools.zip. > > and perl5, available via http://www.activestate.com/Products/ActivePerl/. > > When I run the command "Rcmd BUILD AnExample" I get the following output > and error message: > > > C:\Program Files\R\rw1071\bin>Rcmd BUILD AnExample > * checking for file 'AnExample/DESCRIPTION' ... OK > * preparing 'AnExample': > * cleaning src > * checking whether 'INDEX' is up-to-date ... OK > * checking whether 'data/00Index' is up-to-date ... OK > * removing junk files > * building 'AnExample_1.0.tar.gz' > tar: Files/R/rw1071/bin/AnExample_1.0.tar: Cannot stat: No such file or > director > y > tar: Error exit delayed from previous errors > AnExample_1.0.tar: No such file or directory > > > Whaen I run Rcmd check AnExample I get the following error message > > C:\Program Files\R\rw1071\bin>Rcmd check AnExample > * checking for working latex ...latex: not found > NO > * using log directory 'C:/Program Files/R/rw1071/bin/AnExample.Rcheck' > * checking for file 'AnExample/DESCRIPTION' ... OK > * checking if this is a source package ... ERROR > Only *source* packages can be checked. > > > What am I doing wrong?? > Any help would be much appreciated, > > Regards, > > Wayne > > > > > Dr Wayne R. Jones > Statistician / Research Analyst > KSS Group plc > St James's Buildings > 79 Oxford Street > Manchester M1 6SS > Tel: +44(0)161 609 4084 > Mob: +44(0)7810 523 713 > >KSS Ltd Seventh Floor St James's Buildings 79 Oxford Street Manchester M1 6SS England Company Registration Number 2800886 Tel: +44 (0) 161 228 0040 Fax: +44 (0) 161 236 6305 mailto:kssg@kssg.com http://www.kssg.com The information in this Internet email is confidential and m...{{dropped}}
Wayne Jones wrote:>>Hi there fellow R-Users, >> >>I am trying to use the "package.skeleton" to create my own package with >>R.1.7.1 on Windows XP Professional. >>I have followed the package.skeleton example and have downloaded the >>necessary files found at http://www.stats.ox.ac.uk/pub/Rtools/tools.zip. >> >>and perl5, available via http://www.activestate.com/Products/ActivePerl/. >> >>When I run the command "Rcmd BUILD AnExample" I get the following output >>and error message: >> >> >>C:\Program Files\R\rw1071\bin>Rcmd BUILD AnExample >>* checking for file 'AnExample/DESCRIPTION' ... OK >>* preparing 'AnExample': >>* cleaning src >>* checking whether 'INDEX' is up-to-date ... OK >>* checking whether 'data/00Index' is up-to-date ... OK >>* removing junk files >>* building 'AnExample_1.0.tar.gz' >>tar: Files/R/rw1071/bin/AnExample_1.0.tar: Cannot stat: No such file or >>director >>y >>tar: Error exit delayed from previous errors >>AnExample_1.0.tar: No such file or directory >>Do not use blanks in your paths ("Program Files"). Uwe Ligges>>Whaen I run Rcmd check AnExample I get the following error message >> >>C:\Program Files\R\rw1071\bin>Rcmd check AnExample >>* checking for working latex ...latex: not found >> NO >>* using log directory 'C:/Program Files/R/rw1071/bin/AnExample.Rcheck' >>* checking for file 'AnExample/DESCRIPTION' ... OK >>* checking if this is a source package ... ERROR >>Only *source* packages can be checked. >> >> >>What am I doing wrong?? >>Any help would be much appreciated, >> >>Regards, >> >>Wayne >> >> >> >> >>Dr Wayne R. Jones >>Statistician / Research Analyst >>KSS Group plc >>St James's Buildings >>79 Oxford Street >>Manchester M1 6SS >>Tel: +44(0)161 609 4084 >>Mob: +44(0)7810 523 713 >> >> > > > > KSS Ltd > Seventh Floor St James's Buildings 79 Oxford Street Manchester M1 6SS England > Company Registration Number 2800886 > Tel: +44 (0) 161 228 0040 Fax: +44 (0) 161 236 6305 > mailto:kssg at kssg.com http://www.kssg.com > > > The information in this Internet email is confidential and m...{{dropped}} > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://www.stat.math.ethz.ch/mailman/listinfo/r-help
Thanks for that. Ive moved everything into a new directory and the command: C:WayneTemp\rw1071\bin>Rcmd BUILD AnExample now works producing the file AnExample_1.0.tar.gz However, the command C:WayneTemp\rw1071\bin>Rcmd check AnExample still produces the following error message: C:\Program Files\R\rw1071\bin>Rcmd check AnExample * checking for working latex ...latex: not found NO * using log directory 'C:/Program Files/R/rw1071/bin/AnExample.Rcheck' * checking for file 'AnExample/DESCRIPTION' ... OK * checking if this is a source package ... ERROR Only *source* packages can be checked. Any help would be much appreciated. Regards Wayne -----Original Message----- From: Uwe Ligges [mailto:ligges@statistik.uni-dortmund.de] Sent: 02 September 2003 14:53 To: Wayne Jones Cc: 'r-help@stat.math.ethz.ch' Subject: Re: [R] FW: Creating a Package with Windows XP. Wayne Jones wrote:>>Hi there fellow R-Users, >> >>I am trying to use the "package.skeleton" to create my own package with >>R.1.7.1 on Windows XP Professional. >>I have followed the package.skeleton example and have downloaded the >>necessary files found at http://www.stats.ox.ac.uk/pub/Rtools/tools.zip. >> >>and perl5, available via http://www.activestate.com/Products/ActivePerl/. >> >>When I run the command "Rcmd BUILD AnExample" I get the following output >>and error message: >> >> >>C:\Program Files\R\rw1071\bin>Rcmd BUILD AnExample >>* checking for file 'AnExample/DESCRIPTION' ... OK >>* preparing 'AnExample': >>* cleaning src >>* checking whether 'INDEX' is up-to-date ... OK >>* checking whether 'data/00Index' is up-to-date ... OK >>* removing junk files >>* building 'AnExample_1.0.tar.gz' >>tar: Files/R/rw1071/bin/AnExample_1.0.tar: Cannot stat: No such file or >>director >>y >>tar: Error exit delayed from previous errors >>AnExample_1.0.tar: No such file or directory >>Do not use blanks in your paths ("Program Files"). Uwe Ligges>>Whaen I run Rcmd check AnExample I get the following error message >> >>C:\Program Files\R\rw1071\bin>Rcmd check AnExample >>* checking for working latex ...latex: not found >> NO >>* using log directory 'C:/Program Files/R/rw1071/bin/AnExample.Rcheck' >>* checking for file 'AnExample/DESCRIPTION' ... OK >>* checking if this is a source package ... ERROR >>Only *source* packages can be checked. >> >> >>What am I doing wrong?? >>Any help would be much appreciated, >> >>Regards, >> >>Wayne >> >> >> >> >>Dr Wayne R. Jones >>Statistician / Research Analyst >>KSS Group plc >>St James's Buildings >>79 Oxford Street >>Manchester M1 6SS >>Tel: +44(0)161 609 4084 >>Mob: +44(0)7810 523 713 >> >> > > > > KSS Ltd > Seventh Floor St James's Buildings 79 Oxford Street Manchester M1 6SSEngland> Company Registration Number 2800886 > Tel: +44 (0) 161 228 0040 Fax: +44 (0) 161 236 6305 > mailto:kssg@kssg.com http://www.kssg.com > > > The information in this Internet email is confidential and m...{{dropped}} > > ______________________________________________ > R-help@stat.math.ethz.ch mailing list > https://www.stat.math.ethz.ch/mailman/listinfo/r-help[[alternative HTML version deleted]]