Hi, thanks for posting some code. To help users answer your question, you could post a minimal reproducible example. "The goal of a reprex is to package your code, and information about your problem so that others can run it and feel your pain. Then, hopefully, folks can more easily provide a solution." (FAQ: What's a reproducible example (`reprex`) and how do I create one?)
1 Like