After updating RStudio to 4.2.2 I got a peculiar problem

Find the solution here: https://forum.posit.co/t/rstudio-2022-12-0-353-on-mac-monterey-library-problems/157061/4