wiesenfa / challengeR

GNU General Public License v2.0
35 stars 8 forks source link

Seed not working for ranking bootstrapping #36

Open mzenk opened 2 years ago

mzenk commented 2 years ago

For my R-installation, the random seed does not have an effect on the bootstrap samples being drawn from a ranking list.

To reproduce: I ran one of the official vignettes. Then, I executed the lines for seed + bootstrap again (link):

set.seed(1)
ranking_bootstrapped=ranking%>%bootstrap(nboot=1000, parallel=TRUE, progress = "none")

Comparing the ranking_bootstrapped from before with the values from the repeated run, I found that they are not identical, which is what I would have expected.

Is this a challengeR bug? Thanks for your help!

wiesenfa commented 2 years ago

Dear @mzenk, Thanks for pointing at this! It seems that using

set.seed(1, kind = "L'Ecuyer-CMRG“)

solves this. We are still properly testing and will take care of it as soon as possible.