Re: [Rd] R CMD build processes inst/doc/Makefile only if there are vignette files?

2011-05-02 Thread Hervé Pagès
On 11-04-29 10:36 PM, Prof Brian Ripley wrote: On Fri, 29 Apr 2011, Hervé Pagès wrote: On 11-03-30 01:55 AM, Prof Brian Ripley wrote: What R CMD build (and check) does is to call tools::buildVignettes. That has been true for a while, and buildVignettes() returns if no vignettes are found. The

Re: [Rd] R CMD build processes inst/doc/Makefile only if there are vignette files?

2011-04-29 Thread Hervé Pagès
On 11-03-30 01:55 AM, Prof Brian Ripley wrote: What R CMD build (and check) does is to call tools::buildVignettes. That has been true for a while, and buildVignettes() returns if no vignettes are found. The docs are out-of-date. My view is that you are misusing inst/doc: it is intended *only*

Re: [Rd] R CMD build processes inst/doc/Makefile only if there are vignette files?

2011-04-29 Thread Prof Brian Ripley
On Fri, 29 Apr 2011, Hervé Pagès wrote: On 11-03-30 01:55 AM, Prof Brian Ripley wrote: What R CMD build (and check) does is to call tools::buildVignettes. That has been true for a while, and buildVignettes() returns if no vignettes are found. The docs are out-of-date. My view is that you are

[Rd] R CMD build processes inst/doc/Makefile only if there are vignette files?

2011-03-30 Thread Henrik Bengtsson
Hi, in Section 'Writing package vignettes' of 'Writing R Extensions' it says: Whenever a Makefile is found, then R CMD build will try to run make after the Sweave runs, so PDF manuals can be created from arbitrary source formats (plain LaTeX files, ...). [...] Note that the make step is executed

Re: [Rd] R CMD build processes inst/doc/Makefile only if there are vignette files?

2011-03-30 Thread Prof Brian Ripley
What R CMD build (and check) does is to call tools::buildVignettes. That has been true for a while, and buildVignettes() returns if no vignettes are found. The docs are out-of-date. My view is that you are misusing inst/doc: it is intended *only* for files which are going to be installed and