What code are you running when you get this error? Can you put this into reprex and share it here? It'll help everyone to help you: