Describe the bug, including details regarding any error messages, version, and platform.
In #43173 we switched to using R_existsVarInFrame instead of Rf_findVarInFrame3, but R_existsVarInFrame isn't available before R 4.2, so we will need to do something to switch on this.
Component(s)
R