Following on from an old thread about self-configuring org files for reproducible research, R users might be interested to see the following web site which is exactly what I was thinking of for org mode (but of course, works "only" for R packages.)
http://rsquared.stat.uni-muenchen.de/index.rhtml Stephen