Skip to content
Prev 615 / 21307 Next

[Bioc-devel] texmf error on 7 packages on devel winXP build nodes

Hi,
Seth Falcon wrote:
I vote for this fix too (i.e. removing the \usepackage{Sweave}) because:

  - The Sweave.sty is not part of the "standard" MikTeX distribution.
    By removing \usepackage{Sweave} then everybody can easily
    build the vignette without having to play with TEXINPUTS or copying
    R_HOME\share\texmf\Sweave.sty around.

  - Better consistency and reproducibility: by having all vignettes in the
    1.9 builds using the same Sweave.sty file (the "official" one) we are
    more consistent. Also other people can try to re-build the vignettes on
    their own machine and expect to get the same thing. Eventually, it makes
    tracking down build problems easier.
No we are not. Packages that don't include \usepackage{Sweave} get
the "right" one (R_HOME\share\texmf\Sweave.sty) but packages that
include it get C:\localtexmf\tex\Sweave.sty instead.
And of course, they are different (the diff shows a few changes
between the files).
Easy: let's remove C:\localtexmf\tex\Sweave.sty so we break
packages that include \usepackage{Sweave} on lemming too ;-)

H.