Re: [Rd] set.seed() in a package

2019-11-06 Thread Marvin Wright
ommit a similar sin in the help pages, e.g. >>>> >>>> example(set.seed) ; runif(2) >>>> example(set.seed) ; runif(2) >>>> >>>> gives you the same random uniforms both times. (Of course it isn't that >>>> much of an issue

[Rd] set.seed() in a package

2019-10-30 Thread Marvin Wright
Hi all, I recently found several calls of set.seed() in a CRAN package. These calls are in a plot function, which could lead to unexpected behaviour. See https://github.com/sammo3182/interplot/issues/33 for a description of the problem. I c