Releases: r-lib/withr
Releases · r-lib/withr
withr v2.1.1
- Fixes testthat 2.0.0 failures
with_file()
function to automatically remove files.
withr v2.1.0
-
with_connection()
function to automatically close R file connections. -
with_db_connection()
function to automatically disconnect from DBI database
connections. -
with_gctorture2
command to run code with gctorture2, useful for testing
(#47). -
with_package()
,with_namespace()
andwith_environment()
(and equivalent
locals) functions added, to run code with a modified object search path (#38,
#48). -
Add
with_tempfile()
andlocal_tempfile()
functions to create temporary
files which are cleanup up afterwards. (#32) -
Remove the
code
argument fromlocal_
functions (#50).