Hello,
This function currently does not work when called from `.Call()`.
This is reported with a patch at
https://bugs.r-project.org/show_bug.cgi?id=17839
In the meantime, you can use this stopgap implementation:
https://github.com/tidyverse/purrr/blob/55c9a8ab8788d878ce9e8e80b867139e46d15395/sr
Hi Lionel,
I had indeed seen your Bugzilla, but must have misread the R source as I
thought it had already been adopted.
Thanks for sharing the workaround as well, it is interesting. As I can pass in
`environment()` to my `.Call()`, I suspect there is not much difference given
the call to `Rf_