Decision trees with Two .CSV files for Auto Insurance

You are showing a lot of syntax errors, either missing parentheses, arguments passed outside parentheses, missing arguments, etc.

My advice, check the function's documentation so you know which arguments you are expected to provide, and more carefully construct the function call.

As I said to you before, you would get much better help if you take the time to provide a proper REPRoducible EXample (reprex), as explained on this link.