Obviously you are an expert here. But a couple of points.
Rcpp
is an excellent package, I doubt core-R
members dis-recommend it. Not quote what was said, but I point I think needs to be clarified and emphasized for others.
Any package can have a bug, and a fixed bug is not a design choice. So obviously Rcpp
intends to handle these cases correctly, and it sounds like it now does handle these cases correctly. Find the error and submitting an issue, test, or fix is the thing to do that helps the community. Sounds like that is what happened.
My guess is most R
users want to use Rcpp
to manipulate numeric structures, not R
-language elements- so Rcpp
is very optimized and tested for these cases. So what choices you feel are optimal for a purrr
or an rlang
may or may not be the same for other users on more common tasks. However, the original question was obviously about purrr
- so it is nice to see the two primary authors comment.