hadley wickham
2006-Apr-07 21:20 UTC
[Rd] Should demo files be run as part of R CMD check?
I was a bit suprised to note that demo files are not run as part of R CMD check. This seems out of keeping with the philosophy of running all code contained in the package (in the source, in examples etc). Should demo files be checked as part of R CMD check? Hadley
On Fri, 7 Apr 2006, hadley wickham wrote:> I was a bit suprised to note that demo files are not run as part of R > CMD check. This seems out of keeping with the philosophy of running > all code contained in the package (in the source, in examples etc). > > Should demo files be checked as part of R CMD check? >The rationale may be that a demo is entitled to assume it is being run interactively. Checking demo(tkdensity), for example, would be unproductive. -thomas
Gabor Grothendieck
2006-Apr-07 22:04 UTC
[Rd] Should demo files be run as part of R CMD check?
I didn't realize this either but it might be useful in situations where the package depends on other software which might not be on CRAN. On 4/7/06, hadley wickham <h.wickham at gmail.com> wrote:> I was a bit suprised to note that demo files are not run as part of R > CMD check. This seems out of keeping with the philosophy of running > all code contained in the package (in the source, in examples etc). > > Should demo files be checked as part of R CMD check? > > Hadley > > ______________________________________________ > R-devel at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel >