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.

Version: 2.3.0
Depends: R (≥ 3.2.0)
Imports: graphics, grDevices, stats
Suggests: covr, DBI, knitr, lattice, methods, rmarkdown, RSQLite, testthat (≥ 2.1.0)
Published: 2020-09-22
Author: Jim Hester [aut, cre], Kirill Müller [aut], Kevin Ushey [aut], Hadley Wickham [aut], Winston Chang [aut], Jennifer Bryan [ctb], Richard Cotton [ctb], RStudio [cph]
Maintainer: Jim Hester <james.f.hester at gmail.com>
BugReports: https://github.com/r-lib/withr/issues
License: GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]
URL: https://withr.r-lib.org, https://github.com/r-lib/withr#readme
NeedsCompilation: no
Materials: README NEWS
CRAN checks: withr results

Downloads:

Reference manual: withr.pdf
Vignettes: Changing and restoring state
Package source: withr_2.3.0.tar.gz
Windows binaries: r-devel: withr_2.3.0.zip, r-release: withr_2.3.0.zip, r-oldrel: withr_2.3.0.zip
macOS binaries: r-release: withr_2.3.0.tgz, r-oldrel: withr_2.3.0.tgz
Old sources: withr archive

Reverse dependencies:

Reverse imports: anyLib, APfun, baguette, batchtools, caret, celda, cliapp, cloudml, covr, cyclocomp, DBItest, dbplyr, DeepBlueR, details, detrendr, devtools, dials, discrim, document, EcotoneFinder, edwards97, embed, exampletestr, fgeo.analyze, filesstrings, FSA, gargle, ggforce, ggplot2, ggraph, ggridges, ggstance, goodpractice, Herper, ijtiff, learnr, mlflow, mlr3pipelines, mrgsim.sa, mudata2, musicatk, nandb, natmanager, nipnTK, OpenRepGrid.ic, orderly, outsider.base, packager, personalr, pins, pkgbuild, pkgdown, pkgload, pkgmaker, precommit, prioritizr, prodigenr, proffer, profile, raws.profile, rcmdcheck, recipes, reprex, RFishBC, rhub, ropenblas, roxygen2md, RPostgres, rstan, sccore, sessioninfo, shiny, shinytest, singcar, singleCellTK, skimr, sparklyr, styler, tatoo, testthat, themis, torch, usethis, vroom, webdriver, xpectr, ymlthis
Reverse suggests: AnVIL, bench, bigrquery, BiocManager, cabinets, callr, cli, conflr, cpp11, cranlike, crayon, crunch, crunchy, datarobot, dccvalidator, debugme, depigner, desc, distill, dittodb, dm, dplyr, EdSurvey, enc, encryptr, exuber, fakemake, fauxnaif, fracture, fs, FSelectorRcpp, furrr, fy, ggExtra, ggspatial, ggthemes, gh, gitcreds, glue, golem, googlesheets4, grattan, here, htmltools, hutils, hutilscpp, igraph, IOHanalyzer, irace, IRdisplay, jetpack, keyring, knitrProgressBar, languageserver, lefser, liteq, miniCRAN, mlr3spatiotempcv, mockthat, oskeyring, pak, parsedate, pillar, pkgcache, pkgnet, presser, prettycode, processx, progress, prt, rasciidoc, rdoc, remotes, rfacts, ricu, riingo, rlang, rmarkdown, rosm, rprojroot, santoku, secret, sortable, stevedore, surveydata, swag, testextra, tibble, tidyselect, tikzDevice, vaultr, vcr, vctrs, vdiffr, vdiffr, vegawidget, webfakes, whoami, workflowr, zip

Linking:

Please use the canonical form https://CRAN.R-project.org/package=withr to link to this page.