Error: Alphanumeric argument 'formula' must be of length 1.

ok, rather than playing a form of 20 questions, perhaps make a reprex
FAQ: How to do a minimal reproducible example ( reprex ) for beginners