Closed yutannihilation closed 3 years ago
Rcpp used this funtion and it triggered a R CMD CHECK error. I am guessing it doesn't anymore?
On Sat, Jul 17, 2021, 11:46 PM Hadley Wickham @.***> wrote:
Merged #22 https://github.com/hadley/r-internals/pull/22 into master.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/hadley/r-internals/pull/22#event-5034664782, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAD5VWQSQJU5XGY5XHQ4RC3TYJMCDANCNFSM5ARVH5MA .
I could be wrong the funtion name was different.
R_NewHashedEnv
is called internally in R_NewEnv
:)
https://github.com/wch/r-source/blob/023e230ae3f237d2fd75aa478bccceca60848871/src/main/envir.c#L3609
Writing R Extensions now has this sentence:
It seems this was added by the following commit (without a notice on changelog...?), and the API is available as of R 4.1. I haven't used this yet, but probably it would be nice to cover this in R internals.
https://github.com/wch/r-source/commit/8a322e786068ec2e23324e61821ff666d0b6e329