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,366,089

Last month

184,002

Last week

41,267

Average per day

6,133

Daily downloads

Total downloads

Description file content

Encoding
UTF-8
Package
withr
Title
Run Code 'With' Temporarily Modified Global State
Version
2.1.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, lattice, graphics, grDevices
Suggests
testthat, covr, DBI, RSQLite, methods
RoxygenNote
6.0.1
Collate
'local_.R' 'with_.R' 'collate.R' 'connection.R' 'db.R' 'defer.R' 'wrap.R' 'devices.R' 'dir.R' 'env.R' 'libpaths.R' 'locale.R' 'makevars.R' 'namespace.R' 'options.R' 'par.R' 'path.R' 'seed.R' 'sink.R' 'tempfile.R' 'torture.R' 'utils.R' 'with.R'
NeedsCompilation
no
Packaged
2017-11-01 15:24:18 UTC; jhester
Author
Jim Hester [aut, cre], Kirill Müller [aut], Kevin Ushey [aut], Hadley Wickham [aut], Winston Chang [aut], Richard Cotton [ctb], RStudio [cph]
Maintainer
Jim Hester
Repository
CRAN
Date/Publication
2017-11-01 15:52:18 UTC

install.packages('withr')

2.1.0

a month ago

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

Jim Hester

GPL (>= 2)

Depends on

R (>= 3.0.2)

Imports

stats, lattice, graphics, grDevices

Suggests

testthat, covr, DBI, RSQLite, methods

Discussions