> > The rationale may be that a demo is entitled to assume it is being run
> > interactively.  Checking demo(tkdensity), for example, would be
> > unproductive.
>
> Also, it is easy for a package author to arrange to check the demos by a
> test in the package's tests directory.

Thanks for your comments - I hadn't considered the case of interactive
demos, and as you say it is easy enough to add these checks by using a
test in the tests directory.    Would it be helpful to provide a short
note to this effect in writing R extensions?  I would be happy to
provide a diff against the latest source.

Hadley

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to