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.

Total

2,057,393

Last month

154,763

Last week

32,872

Average per day

5,159

Daily downloads

Total downloads

Description file content

Encoding
UTF-8
Package
withr
Title
Run Code 'With' Temporarily Modified Global State
Version
2.0.0
Description
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.
URL
BugReports
http://github.com/r-lib/withr/issues
Depends
R (>= 3.0.2)
License
GPL (>= 2)
LazyData
true
Imports
stats, graphics
Suggests
testthat
Collate
'local_.R' 'with_.R' 'collate.R' 'defer.R' 'dir.R' 'env.R' 'libpaths.R' 'locale.R' 'makevars.R' 'options.R' 'par.R' 'path.R' 'seed.R' 'wrap.R' 'sink.R' 'utils.R' 'with.R'
RoxygenNote
6.0.1
NeedsCompilation
no
Packaged
2017-07-28 19:07:05 UTC; jhester
Author
Jim Hester [aut, cre], Kirill Mller [aut], Kevin Ushey [aut], Hadley Wickham [aut], Winston Chang [aut], RStudio [cph]
Maintainer
Jim Hester
Repository
CRAN
Date/Publication
2017-07-28 22:56:28 UTC

install.packages('withr')

2.0.0

2 months ago

http://github.com/r-lib/withr#readme

Jim Hester

GPL (>= 2)

Depends on

R (>= 3.0.2)

Imports

stats, graphics

Suggests

testthat

Discussions