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], Lionel Henry [aut, cre], Kirill Müller [aut], Kevin Ushey [aut], Hadley Wickham [aut], Winston Chang [aut], Jennifer Bryan [ctb], Richard Cotton [ctb], Posit Software, PBC [cph, fnd]
MaintainerLionel Henry <lionel@posit.co>
LicenseMIT + file LICENSE
Version3.0.0
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 May 29, 2024, 11:07 a.m.