Source: r-base
Version: 3.4.0-1
Affects: src:r-cran-gsl src:r-cran-shinyjs src:r-cran-v8

Hi Maintainer

With R 3.4.0-1, Sweave's exit status seems to be always 1, even when no apparent error occurred.

e.g.

$ R CMD Sweave vignettes/gslpaper.Rnw
Output file:  gslpaper.tex
$ echo $?
1

$ R CMD Sweave no-such-file
Error in (function (file, dir = ".", weave = TRUE, latex = TRUE, tangle = TRUE, :
  file 'no-such-file' not found
Calls: <Anonymous> -> do.call -> <Anonymous>
Execution halted
$ echo $?
1

Previous R versions returned exit status 0 when Sweave was successful.

e.g.

$ R CMD Sweave vignettes/gslpaper.Rnw
Output file:  gslpaper.tex
$ echo $?
0

This causes autopkgtests of at least r-cran-gsl, r-cran-shinyjs and r-cran-v8 to fail since 2017-04-14 [1].

Regards
Graham


[1] https://ci.debian.net/packages/r/r-cran-gsl/unstable/amd64/

Reply via email to