Hello,
As @lnielsen stated, posing your question using the reprex package would be much more informative. There is a post on this forum providing further details on how to do so.
reprex
All the best,
Tim