Re: [Rd] build, data and vignettes

2010-02-28 Thread Uwe Ligges
On 27.02.2010 03:27, Berwin A Turlach wrote: G'day Uwe, On Fri, 26 Feb 2010 17:03:10 +0100 Uwe Ligges wrote: R CMD check executes the R code in the vignettes and checks if that works, and it checks if the PDFs are available. It does not check if it can build the vignettes, because that is o

Re: [Rd] build, data and vignettes

2010-02-26 Thread Berwin A Turlach
G'day Uwe, On Fri, 26 Feb 2010 17:03:10 +0100 Uwe Ligges wrote: > R CMD check executes the R code in the vignettes and checks if that > works, and it checks if the PDFs are available. It does not check if > it can build the vignettes, because that is only necessary on the > maintainer's machin

Re: [Rd] build, data and vignettes

2010-02-26 Thread Uwe Ligges
R CMD check executes the R code in the vignettes and checks if that works, and it checks if the PDFs are available. It does not check if it can build the vignettes, because that is only necessary on the maintainer's machine since the PDFs are shipped with the (built) source package. Best, U

[Rd] build, data and vignettes

2010-02-26 Thread Kasper Daniel Hansen
(forwarding to R-devel) Prof. Ripley Thanks a lot for the help. I greatly appreciate the clarification that R does indeed install the package during the build process.  I must have been confused.  The error is now fixed and was not related to my (false) claim that R could not locate a dataset in

[Rd] build, data and vignettes

2010-02-25 Thread Kasper Daniel Hansen
Based on some testing it seems to me that if I have a package with a dataset in /data a Sweave vignette in inst/doc (but no associated pdf file) the vignette loads the data in /data through data(dataset) and I do a R CMD build R will try to build the pdf version of the vignette, but wi