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 (7)
  • callr
  • DBI
  • knitr
  • rlang
  • rmarkdown >= 2.12
  • RSQLite
  • testthat >= 3.0.0
  • Version History