Just for future reference, you are more likely to find help here (and is also a polite thing to do on any programming related forum) if you include a proper minimal REPRoducible EXample (reprex) illustrating your issue.
Also, if your question's been answered (even by you!), would you mind choosing a solution? It helps other people see which questions still need help, or find solutions if they have similar problems. Here’s how to do it: