Skip to content
Prev 46749 / 63424 Next

processing of /vignettes and /inst/doc

On 17/09/2013 9:56 AM, Kasper Daniel Hansen wrote:
The long run intention is that vignettes will be in the vignettes 
directory, and nowhere else.  Files in inst/doc will be installed, but 
they are not vignettes, they are just documentation files.  This has 
been documented for a long time, but it hasn't been enforced.

The new change is that vignettes will be produced at build time, by the 
package maintainer, not by the user, at INSTALL time.  Version 3.0.2 is 
intended to handle tar.gz files built under earlier versions of R 
according to the old rules, and also tarballs built under the new system.

So how your example below is handled depends on which version built the 
tarball.  I'll assume everything is being done with 3.0.2 beta.
Since this package has a vignettes directory, it's assumed that that is 
where the vignettes are.  So the current version doesn't see 
inst/doc/big.Rnw as a vignette.
That looks like a bug, in that inst/doc/big.pdf should still have been 
included as a non-vignette documentation file.  I'll look into that.
That statement should be correct, hence current behaviour is a bug.

Duncan Murdoch