[R-pkg-devel] Where do demos fit in?
Iñaki Úcar
i.ucar86 at gmail.com
Fri Oct 20 08:18:35 CEST 2017
2017-10-20 5:42 GMT+02:00 Neal Fultz <nfultz at gmail.com>:
> A graduate student just asked me (copied below), in response to a bug I
> wrote (
> https://github.com/DeclareDesign/estimatr/pull/38/commits/99e82e253979d1307714632e9dc05d2e2c9c66df
> ):
>
> How do demos normally relate to tests and vignettes? Is the purpose simply
>> to have manually run tests that check the things work in the global
>> environment?
There is a good definition and description here:
http://r-pkgs.had.co.nz/misc.html
Personally, I'm not a fan of demos, because I prefer to copy&paste
from vignettes as I read and understand the different parts of the
problem in question.
Iñaki
More information about the R-package-devel
mailing list