@Flm is right—this is hard to diagnose. See the FAQ: How to do a minimal reproducible example reprex for beginners.
reprex