Welcome to the community!
Can you please provide a REPRoducible EXample of your problem?
In case you don't know how to make a reprex, here's a great link: