Problem with set.seed()

Hi, and welcome. For reference see the FAQ: How to do a minimal reproducible example reprex for beginners. Even on this simple a question, it helps to have the specific function and arguments being used.

First, just as a check. Are you invoking the seed for each run?