Hi, welcome to the community forum.
We will need to see your code and some sample data.
See:
FAQ: How to do a minimal reproducible example ( reprex ) for beginners
A handy way to supply some sample data is the dput() function. In the case of a large dataset something like dput(head(mydata, 100)) should supply the data we need.