[Bioc-devel] R source code files of package vignettes

Patrick Aboyoun paboyoun at fhcrc.org
Tue Jul 28 16:00:44 CEST 2009

The Stangle mechanism is relatively new to the build process and I don't 
remember the sequence of events that take place. After the BioC 2009 
conference, I'll take a look into this. I'm hesitant to put too much 
time into making the build system much smarter than it is for the 
Stangle operation, because it is a rare request. Perhaps we can work out 
a file extension tag that would be achieve what you are looking for.


Joern Toedling wrote:
> Dear all,
> I would welcome your feedback on a small problem regarding vignettes.
> For the data package ccTutorial, I pre-build the vignettes on my machine, as
> building these vignettes takes considerable time. The folder 'inst/doc' only
> contains dummy versions of the two vignettes and a Makefile which copies the
> pre-built vignettes from another directory into 'doc' after running Sweave on
> the dummy files.
> I would also like to provide the source code of the pre-built vignettes
> in the doc directory (as these are also linked on the BioC package web page).
> However, having the *R files copied from the other directory into doc via use
> of the Makefile is pointless as it seems that the command Stangle is run on
> the dummy vignettes afterwards. So the source code files in the directory
> 'doc' only contain the non-relevant source code of the dummy files. Do you
> know of a way to avoid having Stangle run on the dummy files? Or is there
> another way to copy files afterwards?
> Cheers,
> Joern
> ---
> Joern Toedling
> Institut Curie -- U900
> 26 rue d'Ulm, 75005 Paris, FRANCE
> Tel. +33 (0)156246926
> _______________________________________________
> Bioc-devel at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/bioc-devel

More information about the Bioc-devel mailing list