This message is annoying because it crops up randomly while you're doing something else, never at a time where you want to be messing around with cache settings. Given the content of the message, I would suggest simply using tools::R_user_dir("styler", "cache") (or equivalent in older R) without prompting.