with_edition() allows you to change the active edition of readr for a given block of code.
local_edition() allows you to change the active edition of readr until the end of the current function or file.
with_edition(edition, code) local_edition(edition, env = parent.frame())
Should be a single integer.
Code to run with the changed edition.
Environment that controls scope of changes. For expert use only.