From ggrothendieck at gmail.com  Sun Sep 16 16:58:10 2007
From: ggrothendieck at gmail.com (Gabor Grothendieck)
Date: Sun, 16 Sep 2007 10:58:10 -0400
Subject: [Rd] r cmd build
In-Reply-To: <46ED4135.3060606@statistik.uni-dortmund.de>
References: <971536df0709151927n494600bdx4c36b12c11cfc315@mail.gmail.com>
	<46ED27B7.2090804@stats.uwo.ca>
	<971536df0709160633ybf2064y3c7b9e736c9561c5@mail.gmail.com>
	<46ED4135.3060606@statistik.uni-dortmund.de>
Message-ID: <971536df0709160758n5bc871cof7a02b57da060461@mail.gmail.com>

Something should be added to the Writing Extensions manual
since one gets this message during the R CMD build on Vista:

hhc: not found
CHM compile failed: HTML Help Workshop not installed?

and one is not really sure if the result is ok or not -- it does say it FAILED.
Even better would be to get rid of the message or improve the message.
Again, this all refers to doing a build on Vista.

On 9/16/07, Uwe Ligges <ligges at statistik.uni-dortmund.de> wrote:
>
>
> Gabor Grothendieck wrote:
> > The Writing Extensions manual says to do an R CMD build for releases
> > to CRAN.  That's what I have been doing and that does produce a .tar.gz
> > file even though I get a message about hhc.exe.  Is that what I should continue
> > to do and ignore the message or should I be using one of the alternatives
> > you mention to create a .tar.gz release file on Vista?
>
> Well, to produce a tar.gz, it is not required to have hhc.exe. It might
> happen that vignettes are created and therefore the package is installed
> for this purpose (and hhc is used to produce some help pages -
> temporarily). When hhc is not found at that place, just ignore it, the
> resulting .tar.gz should really be fine.
>
> Uwe Ligges
>
> > On 9/16/07, Duncan Murdoch <murdoch at stats.uwo.ca> wrote:
> >> On 15/09/2007 10:27 PM, Gabor Grothendieck wrote:
> >>> On Windows Vista hhc.exe is not available.  One can do this on an
> >>> install:
> >>>
> >>> rcmd install --docs=normal myPackage
> >>>
> >>> to avoid the message about hhc.exe; however,
> >>> "rcmd build" does not appear to support --docs=normal so one cannot
> >>> do a build without getting a message about hhc.exe (although the build
> >>> still proceeds).
> >> Are you talking about "build --binary"?  I recommend using "install
> >> --build" instead.  AFAIK a non-binary build doesn't make any use of hhc.
> >>
> >> Another way to do an install or build without getting that message is to
> >> indicate in src/gnuwin32/MkRules that you don't want to build CHM help.
> >>
> >> Duncan Murdoch
> >>
> >
> > ______________________________________________
> > R-devel at r-project.org mailing list
> > https://stat.ethz.ch/mailman/listinfo/r-devel
>



[Rd] r cmd build
Gabor Grothendieck