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.

Tests Vignettes

Available Snapshots

This version of withr can be found in the following snapshots:

Dependencies

Imports/Depends/LinkingTo/Enhances (1)
  • R
  • Suggests (6)
  • covr
  • DBI
  • knitr
  • rmarkdown
  • RSQLite
  • testthat >= 2.1.0
  • Version History