withr 2.3.0
Deprecations
local_tempfile()
argumentnew
is deprecated, in favor of returning the path to the new tempfile.
calls likelocal_tempfile("xyz")
should be replaced withxyx <- local_tempfile()
in your code (#141).
New features
-
New
local_seed()
function andlocal_preserve_seed()
functions to correspond towith_seed()
andwith_preserve_seed()
(#139). -
New
local_tempdir()
function added to create a temp directory (#140) -
local_*()
functions now take dots (...
), which can simplify calls in some cases, e.g. you can now uselocal_options(foo = "bar")
rather thanlocal_options(c(foo = "bar"))
.