Re: [Rd] R CMD check for the R code from vignettes

2014-06-01 Thread Carl Boettiger
Yihui, list, Focusing the behavior of R CMD check, the only reason I have seen put forward in the discussion for having check tangle and then source as well as knit/weave the very same vignette is to assist the package maintainer in debugging R errors vs pdflatex errors. As tangle (and many other

Re: [Rd] R CMD check for the R code from vignettes

2014-06-01 Thread Gabriel Becker
Carl, I don't really have a horse in this race other than a strong feeling that whatever check does should be mandatory. That having been said, I think it can be argued that the fact that check does this means that it IS in the R package vignette specification that all vignettes must be such that

Re: [Rd] R CMD check for the R code from vignettes

2014-06-01 Thread Carl Boettiger
Thanks both for the replies. Duncan, I'm sorry if I wasn't clear. I am indeed writing a vignette using Sweave (knitr actually), and I want it to be a vignette. I'm well aware that I can dodge these tests as you suggest, or through other ways, but I'm not trying to dodge them. R CMD check is runn

Re: [Rd] R CMD check for the R code from vignettes

2014-06-01 Thread Duncan Murdoch
On 02/06/2014, 1:41 PM, Carl Boettiger wrote: Thanks both for the replies. Duncan, I'm sorry if I wasn't clear. I am indeed writing a vignette using Sweave (knitr actually), and I want it to be a vignette. I'm well aware that I can dodge these tests as you suggest, or through other ways, but I'