Closed mgirlich closed 1 year ago
Ugh, that's a bummer.
Most of it is probably withr::defer()
The standalone-defer file was improved here: https://github.com/r-lib/withr/pull/221
But that hasn't made its way to CRAN yet (or to rlang, which uses the standalone file)
And we think the ultimate goal was to move defer()
to rlang and rewrite in C, but we haven't had time for that yet either.
We could just use on.exit()
here?
Setting up the deprecation env takes roughly a third of the time in the following reprex. Using
map_vec()
is actually faster:Created on 2023-07-05 with reprex v2.0.2