From ggrothendieck at gmail.com  Tue Apr 29 20:51:18 2008
From: ggrothendieck at gmail.com (Gabor Grothendieck)
Date: Tue, 29 Apr 2008 14:51:18 -0400
Subject: [Rd] build packages with vignettes in Windows
In-Reply-To: <481768EC.50008@stats.uwo.ca>
References: <6vprs88uu6.fsf@gmail.com> <481768EC.50008@stats.uwo.ca>
Message-ID: <971536df0804291151m645d7428xeb7a11afd41a8915@mail.gmail.com>

The use of the UNIX find command on Windows makes installation
very troublesome and fragile.   I wonder if you could include a
find2 or somesuch with the tools and change the scripts to use that
getting rid of find or use just use the Windows find command in the
scripts.  Or some other solution so that one does not have to have
a non-Windows find on the PATH.

If you don't have the find in Rtools first in your path then you have
problems like the one below and if you do have it first then it throws
off the scripts from other software.

On Tue, Apr 29, 2008 at 2:29 PM, Duncan Murdoch <murdoch at stats.uwo.ca> wrote:
> On 29/04/2008 12:54 PM, Michael wrote:
> > I've been trying to build a Windows binary of a package of mine without
> > success.  It seems that the files under inst/doc throw the script off.
> >
> > I am using the command 'Rcmd INSTALL --build'.
> >
> > ---------- Making package genepi ------------
> >  adding build stamp to DESCRIPTION
> >  installing NAMESPACE file and metadata
> >  installing R files
> >  installing inst files
> > FIND: Parameter format not correct
> >
>
> That looks as though you don't have the tools installed correctly, you have
> some other "find" earlier on your path.
>
> Duncan Murdoch
>
>
>
> > make[2]: *** [C:/Library/R/genepi/inst] Error 2
> > make[1]: *** [all] Error 2
> > make: *** [pkg-genepi] Error 2
> > *** Installation of genepi failed ***
> >
> > I also tried a couple of packages downloaded from CRAN.  Those without
> > inst/doc directory worked fine and those who do have it didn't.
> >
> > I'm using a fresh install of R-2.7.0 and Rtools-2.7.
> > Any clue of what was wrong with my setup?
> >
> > Thanks,
> >
> > Michael
> >
> > ______________________________________________
> > R-devel at r-project.org mailing list
> > https://stat.ethz.ch/mailman/listinfo/r-devel
> >
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>



[Rd] build packages with vignettes in Windows
Gabor Grothendieck