rlang
rlang copied to clipboard
'deferred_run' undefined
https://github.com/r-lib/rlang/blob/7371bac25ffe9b91097e0dad424cec5b2ee3c288/R/import-standalone-defer.R#L87
I think the import here was not complete.
Encountered through {testthat}:
testthat::local_edition(3) # from .GlobalEnv
q('no')
# Error in deferred_run(env) : could not find function "deferred_run"
Or simpler shell version:
Rscript -e "testthat::local_edition(3)"
# Error in deferred_run(env) : could not find function "deferred_run"
# Calls: <Anonymous>
Duplicate of #1653. That one is self-contained to {rlang}, but this one shows the downstream impacts; I'll let you triage :)