withr v1.0.1

0

Monthly downloads

0th

Percentile

by Jim Hester

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.

Functions in withr

Name Description
with_ Create a new "with" function
with_dir Working directory
with_envvar Environment variables
with_par Graphics parameters
with_options Options
with_path PATH environment variable
with_locale Locale settings
with_sink Output redirection
with_libpaths Library paths
with_makevars Makevars variables
with_collate Collation Order
withr Execute code in temporarily altered environment
with_temp_libpaths Library paths
No Results!

Last month downloads

Details

Encoding UTF-8
URL http://github.com/jimhester/withr
BugReports http://github.com/jimhester/withr/issues
License GPL (>= 2)
LazyData true
Collate 'with_.R' 'collate.R' 'dir.R' 'env.R' 'libpaths.R' 'locale.R' 'makevars.R' 'options.R' 'par.R' 'path.R' 'wrap.R' 'sink.R' 'with.R'
RoxygenNote 5.0.1
NeedsCompilation no
Packaged 2016-02-04 15:42:19 UTC; jhester
Repository CRAN
Date/Publication 2016-02-04 17:58:33

Include our badge in your README

[![Rdoc](http://www.rdocumentation.org/badges/version/withr)](http://www.rdocumentation.org/packages/withr)