reecer118 Okay, good to know.
Could you copy/paste the entire error message, or was that the entire error message? If you use three backticks (```) before and then after, it should keep the formatting of the entire message. Or you can use a service like https://pastebin.com/ and provide the link to that here.
If that is the entire error message, then I suggest re-downloading the original data then regenerating the train and test sets if you haven't already tried that. The error is suggesting that the name of something (likely a column title, or part of the formula) cannot be interpreted by R.