Skip to content

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

2 messages · Hervé Pagès, Brian Ripley

#
On 11-03-30 01:55 AM, Prof Brian Ripley wrote:
Could you please elaborate on this? I just found this in the NEWS for
R 2.14.0:

   o The preferred location for vignette sources is now the directory
     ?vignettes? and not ?inst/doc?: R CMD build will now re-build
     vignettes in ?vignettes? and copy the ?.Rnw? (etc) files and
     the corresponding PDFs to ?inst/doc?.

Sounds like an important move. What are the long term plans: keep
both inst/doc/ and vignettes/ as places for vignettes to be built?
Or drop inst/doc/ at some point?

Thanks!
H.

  
    
#
On Fri, 29 Apr 2011, Herv? Pag?s wrote:

            
Drop inst/doc at some point.  It doesn't make much difference to the 
codebase: all the work is done in pkgVignettes().