You didn't said that before, if this happens when you run the script again then is possible that you are just running out of RAM memory but I can't be sure without a REPRoducible EXample (reprex)
You didn't said that before, if this happens when you run the script again then is possible that you are just running out of RAM memory but I can't be sure without a REPRoducible EXample (reprex)