Error in default + theme : non-numeric argument to binary operator

Hello and welcome to the community!

It seems like the error you encountered is caused by something that you did not include in your screenshot. That code by itself should execute fine.

Can you share more context or ideally provide even a reprex (reproducible example)?
Learn all about that here: FAQ: How to do a minimal reproducible example ( reprex ) for beginners