Re: [Rd] vignette compilation times

From: Friedrich Leisch <Friedrich.Leisch_at_stat.uni-muenchen.de>
Date: Fri, 20 Feb 2009 09:36:58 +1100

>>>>> On Thu, 19 Feb 2009 11:47:12 +0000, >>>>> Robin Hankin (RH) wrote:

> thanks for this clarification Uwe
> Could I include the r_env_cache/ directory in the package
> and then assume that the CRAN checks use

> Sweave(.... , driver=weaver())

> in which case the process takes about 10 seconds?

That makes no sense, because then there are no checks done at all: if the code in your vignette does not change, weaver will not recompute anything, hence the cached results are used. But in that case you could as well include only the PDF (or the generated .tex if you like that better) ...

The whole point of checking vignettes on CRAN is that we can track errors due to changes in R or other packages. The second benefit is that users can easily play around with your code and use itr as examples ... how good an example with 10 hour runtime is depends of course on the application.

Best,
Fritz



R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Thu 19 Feb 2009 - 21:45:33 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 19 Feb 2009 - 22:30:29 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.

list of date sections of archive