unable to load shared object '/Library/Frameworks/R.framework/Versions/4.2/Resources/library/glue/libs/glue.so'

As "technocrat" noted, there seems to be a lot of this going around. See my post:

The question is why does the shared object file "glue.so" reference the wrong dylib? Can the shared object file be edited?