withr: Run Code 'With' Temporarily Modified Global State

A set of functions to run code 'with' safely and temporarily modified global state. Many of these functions were originally a part of the 'devtools' package, this provides a simple package with limited dependencies to provide access to these functions.

Package details

AuthorJim Hester [aut, cre], Kirill Müller [aut], Kevin Ushey [aut], Hadley Wickham [aut], Winston Chang [aut], Jennifer Bryan [ctb], Richard Cotton [ctb], RStudio [cph]
MaintainerJim Hester <jim.hester@rstudio.com>
LicenseMIT + file LICENSE
Version2.4.2
URL https://withr.r-lib.org https://github.com/r-lib/withr#readme
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("withr")

Try the withr package in your browser

Any scripts or data that you put into this service are public.

withr documentation built on April 18, 2021, 5:05 p.m.