local_edition()
allows you to temporarily (within a single test or
a single test file) change the active edition of testthat.
edition_get()
allows you to retrieve the currently active edition.
Usage
local_edition(x, .env = parent.frame())
edition_get()