withr: Run Code 'With' Temporarily Modified Global State
Version 1.0.2

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.

AuthorJim Hester [aut, cre], Kirill Müller [aut], Hadley Wickham [aut], Winston Chang [aut], RStudio [cph]
Date of publication2016-06-20 17:32:02
MaintainerJim Hester <james.f.hester@gmail.com>
LicenseGPL (>= 2)
Version1.0.2
URL http://github.com/jimhester/withr
Package repositoryView on CRAN
InstallationInstall the latest version of this package by entering the following in R:
install.packages("withr")

Getting started

README.md

Popular man pages

with_dir: Working directory
with_libpaths: Library paths
with_locale: Locale settings
with_makevars: Makevars variables
with_par: Graphics parameters
with_path: PATH environment variable
with_temp_libpaths: Library paths
See all...

All man pages Function index File listing

Man pages

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

Functions

do_reset_message_sink Source code
get_path Source code
is.named Source code
merge_new Source code
message_sink Source code
output_sink Source code
reset_message_sink Source code
reset_output_sink Source code
set_collate Source code
set_envvar Source code
set_libpaths Source code
set_locale Source code
set_makevars Source code
set_options Source code
set_path Source code
set_temp_libpath Source code
with_ Man page Source code
with_collate Man page
with_dir Man page
with_envvar Man page
with_libpaths Man page
with_locale Man page
with_makevars Man page Source code
with_message_sink Man page
with_options Man page
with_output_sink Man page
with_par Man page
with_path Man page
with_sink Man page
with_temp_libpaths Man page
withr Man page
withr-package Man page
wrap Source code

Files

tests
tests/testthat.R
tests/testthat
tests/testthat/test-sink.R
tests/testthat/test-with.R
NAMESPACE
NEWS.md
R
R/locale.R
R/sink.R
R/with_.R
R/env.R
R/collate.R
R/par.R
R/options.R
R/path.R
R/wrap.R
R/libpaths.R
R/with.R
R/dir.R
R/makevars.R
README.md
MD5
DESCRIPTION
man
man/with_envvar.Rd
man/with_options.Rd
man/with_sink.Rd
man/withr.Rd
man/with_locale.Rd
man/with_par.Rd
man/with_temp_libpaths.Rd
man/with_dir.Rd
man/with_.Rd
man/with_libpaths.Rd
man/with_path.Rd
man/with_makevars.Rd
man/with_collate.Rd
withr documentation built on May 19, 2017, 7:42 a.m.