Welcome to the forum. I think we need a FAQ: How to do a minimal reproducible example ( reprex ) for beginners