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.5.0
Depends: R (≥ 3.2.0)
Imports: graphics, grDevices, stats
Suggests: callr, covr, DBI, knitr, lattice, methods, rlang, rmarkdown (≥ 2.12), RSQLite, testthat (≥ 3.0.0)
Published: 2022-03-03
Author: Jim Hester [aut], Lionel Henry [aut, cre], Kirill Müller [aut], Kevin Ushey [aut], Hadley Wickham [aut], Winston Chang [aut], Jennifer Bryan [ctb], Richard Cotton [ctb], RStudio [cph, fnd]
Maintainer: Lionel Henry <lionel 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

Documentation:

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

Downloads:

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

Reverse dependencies:

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

Linking:

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