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.4.2
Depends: R (≥ 3.2.0)
Imports: graphics, grDevices, stats
Suggests: covr, DBI, knitr, lattice, methods, rmarkdown, RSQLite, testthat (≥ 2.1.0)
Published: 2021-04-18
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 <jim.hester at rstudio.com>
BugReports: https://github.com/r-lib/withr/issues
License: MIT + file LICENSE
URL: https://withr.r-lib.org, https://github.com/r-lib/withr#readme
NeedsCompilation: no
Materials: README NEWS
CRAN checks: withr results


Reference manual: withr.pdf
Vignettes: Changing and restoring state


Package source: withr_2.4.2.tar.gz
Windows binaries: r-devel: withr_2.4.2.zip, r-release: withr_2.4.2.zip, r-oldrel: withr_2.4.2.zip
macOS binaries: r-release (arm64): withr_2.4.2.tgz, r-release (x86_64): withr_2.4.2.tgz, r-oldrel: withr_2.4.2.tgz
Old sources: withr archive

Reverse dependencies:

Reverse imports: anyLib, APfun, baguette, batchtools, biodb, boomer, caret, celda, checkpoint, cliapp, cloudml, covidregionaldata, covr, cyclocomp, DBItest, dbplyr, decoupleR, DeepBlueR, details, detrendr, devtools, dials, discrim, document, doMIsaul, EcotoneFinder, edwards97, embed, exampletestr, excursions, fgeo.analyze, filesstrings, flashlight, flippant, flipr, FSA, gargle, ggdist, ggforce, ggplot2, ggraph, ggridges, ggstance, goodpractice, googledrive, Herper, httr2, ijtiff, indiedown, inlabru, jsontools, learnr, logr, madrat, mailmerge, MAINT.Data, MatrixMixtures, microservices, mistyR, mlflow, mlr3pipelines, mrgsim.sa, mudata2, musicatk, nandb, NanoMethViz, natmanager, nevada, nipnTK, odin, opencage, OpenRepGrid.ic, oppr, orderly, parsermd, parzer, personalr, pins, pkgbuild, pkgdepends, pkgdown, pkgload, pkgmaker, PL94171, ppsr, precommit, precrec, prodigenr, proffer, profile, raws.profile, rcmdcheck, recipes, reprex, reticulate, rextendr, RFishBC, rgoogleads, rhub, ropenblas, roxygen2md, RPostgres, rstan, RTTWebClient, sccore, SenTinMixt, sessioninfo, shiny, shinytest, singcar, singleCellTK, skimr, slackr, sparklyr, stanette, styler, tarchetypes, targets, tatoo, testthat, themis, tidybayes, tidypaleo, torch, torchaudio, torchdatasets, tune, usethat, usethis, vroom, wdpar, webdriver, workflowsets, xpectr, ymlthis
Reverse suggests: adnuts, AnVIL, anybadger, arrow, assemblerr, bcdata, bcmaps, bench, bigrquery, BiocManager, bittermelon, bookdown, bslib, cabinets, callr, chk, circle, cli, clock, conflr, connectwidgets, cpp11, cranlike, crayon, crossmap, crosstable, crunch, crunchy, DatabaseConnector, datarobot, dccvalidator, debugme, depigner, desc, Dire, distill, dittodb, dm, dplyr, duckdb, eaf, EdSurvey, enc, encryptr, exuber, fakemake, fauxnaif, ffscrapr, fracture, fs, FSelectorRcpp, furrr, fusen, fy, ggExtra, ggspatial, ggthemes, gh, gitcreds, gitdown, glue, golem, googlesheets4, grattan, here, htmltools, hutils, hutilscpp, icecream, igraph, IOHanalyzer, irace, IRdisplay, ISAnalytics, jetpack, JSmediation, jsonvalidate, keyring, knitrProgressBar, languageserver, lefser, lightr, liteq, luz, lvmisc, mark, meltr, MGMM, MicrobiotaProcess, miniCRAN, minSNPs, mlr3oml, mlr3spatiotempcv, mockthat, ooplah, oskeyring, packager, pacs, pak, parsedate, pillar, pkgcache, pkgnet, plu, polyMatrix, presser, prettycode, processx, progress, prompt, prt, rappdirs, rasciidoc, rcompendium, rdoc, RDP, readr, redist, remotes, rfacts, ricu, riingo, rlang, RMariaDB, rmarkdown, rosm, rprojroot, santoku, sass, secret, sims, sortable, stevedore, surveydata, survParamSim, swag, tabnet, Temporal, tfruns, thematic, tibble, tidyselect, tidysq, tidytreatment, tikzDevice, tufte, utf8, vaultr, vcr, vctrs, vdiffr, vegawidget, waldo, webfakes, WeMix, whoami, workflowr, zip


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