A JavaScript error occurred in the main process

I attempted to unlink my working directory. When I reopened RStudio I received this error (macOS Ventura):

I get two prompts with this error. I've tried to follow the advice in this post, but have little background in file configurations, so am wary of editing my Library or any caches.
I've tried to delete then redownload both R and RStudio, but the error persists. Any advice on how to approach this would be helpful.
Is a hard uninstall necessary? Are there any recommended apps for that?