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.

Documentation

Manual: withr.pdf
Vignette: None available.

Maintainer: Jim Hester <james.f.hester at gmail.com>

Author(s): Jim Hester*, Kirill Müller*, Hadley Wickham*, Winston Chang*, RStudio*

Install package and any missing dependencies by running this line in your R console:

install.packages("withr")

Depends R (>= 3.0.2)
Imports stats, graphics
Suggests testthat
Enhances
Linking to
Reverse
depends
Reverse
imports
covr, cyclocomp, DBItest, devtools, flippant, gdtools, learnr, prettycode, rcmdcheck, sessioninfo, sparklyr
Reverse
suggests
bigrquery, cranlike, debugme, desc, dplyr, ggExtra, harvestr, IRdisplay, pathological, processx, rprojroot, secret, testthat, tibble, zip
Reverse
enhances
Reverse
linking to

Package withr
Materials
URL http://github.com/jimhester/withr
Task Views
Version 1.0.2
Published 2016-06-20
License GPL (>= 2)
BugReports http://github.com/jimhester/withr/issues
SystemRequirements
NeedsCompilation no
Citation
CRAN checks withr check results
Package source withr_1.0.2.tar.gz