Closed kaitejohnson closed 2 months ago
It doesn't look to me as though the seed is actually set? A variable named seed
is defined but it will do nothing to affect the rnorm
calls below it
Oh wow yep I thought that was set.seed
this now makes sense
Problem
Every so often this test fails despite setting the seed for reproducibility. I believe is because we are using
rnorm()
to generate concentration values and then checking for outliers, and then checking for the number of rows in the final dataset. Have seen it a few times in CI. My inclination is that the test is hard coded and should be made more robust.