Hi, and welcome!
Please see the FAQ: What's a reproducible example (`reprex`) and how do I create one? Using a reprex, complete with representative data will attract quicker and more answers.
Not needed for this type of question, of course.
There is almost always
a package for that!
such a trajr