| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
Rather than hanging indefinitely when a function is called
| } | ||
| sexp name_sexp = safe[Rf_install](name); | ||
| return safe[Rf_findVarInFrame](R_NamespaceRegistry, name_sexp); | ||
| return safe[detail::r_env_get](R_NamespaceRegistry, name_sexp); |
There was a problem hiding this comment.
I am confident about this switch:
So r_env_get() is basically Rf_findVarInFrame() with a few extra checks - like erroring if the object is not found, as we want here.
On newer R it is using the "blessed" R_getVar() with inherits = false, which is also what we want.
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Closes #317
Previously, this would hang indefinitely
Now it at least says foo is not found, the same error that any other environment lookup failure would throw