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

3,709,283

Last month

221,480

Last week

50,343

Average per day

7,383

Daily downloads

Total downloads

Description file content

Encoding
UTF-8
Package
withr
Title
Run Code 'With' Temporarily Modified Global State
Version
2.1.2
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, grDevices
Suggests
testthat, covr, lattice, DBI, RSQLite, methods, knitr, rmarkdown
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' 'file.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'
VignetteBuilder
knitr
NeedsCompilation
no
Packaged
2018-03-15 13:59:37 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
2018-03-15 22:39:56 UTC

install.packages('withr')

2.1.2

3 months ago

http://withr.r-lib.org

Jim Hester

GPL (>= 2)

Depends on

R (>= 3.0.2)

Imports

stats, graphics, grDevices

Suggests

testthat, covr, lattice, DBI, RSQLite, methods, knitr, rmarkdown

Discussions