The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.

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: 3.0.0
Depends: R (≥ 3.5.0)
Imports: graphics, grDevices
Suggests: callr, covr, DBI, knitr, lattice, methods, rlang, rmarkdown (≥ 2.12), RSQLite, testthat (≥ 3.0.0)
Published: 2024-01-16
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], Posit Software, PBC [cph, fnd]
Maintainer: Lionel Henry <lionel at posit.co>
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_3.0.0.tar.gz
Windows binaries: r-devel: withr_3.0.0.zip, r-release: withr_3.0.0.zip, r-oldrel: withr_3.0.0.zip
macOS binaries: r-release (arm64): withr_3.0.0.tgz, r-oldrel (arm64): withr_3.0.0.tgz, r-release (x86_64): withr_3.0.0.tgz, r-oldrel (x86_64): withr_3.0.0.tgz
Old sources: withr archive

Reverse dependencies:

Reverse imports: adproclus, amregtest, anyLib, ARUtools, asciicast, attachment, baguette, bambooHR, batchtools, bbw, biodb, biomartr, biplotEZ, bundle, cancerscreening, caret, CDMConnector, celda, checkhelper, checkpoint, circacompare, citation, cliapp, cloudml, clusterMI, COTAN, covr, cucumber, cyclocomp, CytoMDS, CytoPipeline, DataPackageR, dataquieR, DBItest, dbplyr, decontX, decoupleR, DescTools, details, detrendr, devtools, dials, DisaggregateTS, DIscBIO, discrim, downlit, ebvcube, EcotoneFinder, edwards97, embed, EMJMCMC, epiCleanr, exampletestr, excursions, f1dataR, fake, fakir, fdacluster, fgeo.analyze, filesstrings, FindIT2, FLAMES, flashlight, fledge, flippant, flipr, flocker, fmesher, FourWayHMM, frscore, FSA, gargle, GDPuc, gDRstyle, GeoDiff, ggdist, ggfacto, ggforce, ggimage, ggplot2, ggraph, ggrepel, ggridges, ggstance, ghclass, googleCloudRunner, googledrive, googlesheets4, gratia, Herper, hfhub, HicAggR, historicalborrowlong, httr2, ijtiff, indiedown, injurytools, inlabru, iraceplot, jagstargets, khisr, L1centrality, labNorm, learnr, logr, madrat, MAINT.Data, MatrixMixtures, metaumbrella, midi, mistyR, mixvlmc, mlflow, mlr3oml, mlr3pipelines, mockr, mrgsim.sa, multilevelmod, nandb, NanoMethViz, natmanager, nevada, nipnTK, odin, OmnipathR, opencage, OpenRepGrid.ic, oppr, orderly, ORFik, PanomiR, parsermd, parsnip, parzer, personalr, pins, pkgdown, pkgload, pkgmaker, PL94171, plotgardener, pmparser, ppsr, precommit, precrec, prioritizr, probably, prodigenr, proffer, profile, qgisprocess, qualtRics, racademyocean, raptr, raws.profile, rayrender, rcmdcheck, rdecision, RDHonest, recipes, RedisParam, reporter, reprex, reticulate, rextendr, RFishBC, Rgff, rgoogleads, rhino, Rigma, rirods, ropenblas, roxygen2, RPostgres, rsurveycto, RTTWebClient, rtweet, rWCVP, rytstat, sccore, seeker, selenider, SenTinMixt, sharp, shiny, shinytest, shinytest2, singcar, singleCellTK, slackr, snpAIMeR, sparklyr, Spectran, splatter, sqltargets, stacomiR, statsExpressions, styler, surveyvoi, susographql, tarchetypes, tatoo, taxonbridge, teal.logger, testthat, text2speech, tfevents, themis, thinkr, tibblify, tidybayes, tidypaleo, tidyselect, torch, torchdatasets, torchvision, torchvisionlib, traudem, TSdisaggregation, tune, typetracer, usedthese, usethis, vetiver, vol2birdR, vprr, vroom, vsp, wdpar, webdriver, workflowsets, worldfootballR, xpectr, yardstick, ymlthis
Reverse suggests: Achilles, adbcdrivermanager, adbi, adnuts, airnow, AllelicSeries, altdoc, ami, anabel, and, AnVIL, anybadger, arrow, artpack, askgpt, assertions, auk, babelmixr2, baizer, bcdata, BCEA, bcmaps, bench, bigrquery, BiocManager, biometryassist, bittermelon, blastula, bookdown, brmsmargins, bsicons, bslib, cabinets, callr, camcorder, canaper, cards, cardx, causalOT, CBNplot, cereal, chattr, chevron, chk, circle, cli, cliff, clock, cloudfs, codemetar, CohortAlgebra, CohortCharacteristics, CohortExplorer, cometr, CommonDataModel, condGEE, confcons, config, conflicted, conflr, congress, connectwidgets, constructive, corrtable, cpmr, cpp11, cranlike, crayon, crossmap, crosstable, crunch, crunchy, data.validator, DatabaseConnector, datarobot, datasetjson, datawizard, datefixR, dbflobr, debugme, deduped, deeptime, depigner, desc, DiagrammeR, Dire, diseasystore, distill, dittodb, dm, dockerfiler, dotprofile, dplyr, duckdb, duckplyr, dunlin, eaf, easystats, ebirdst, EDCimport, EdSurvey, encryptr, envvar, epidatr, EpiNow2, epwshiftr, ergm, Eunomia, evaluate, excluder, exuber, fakemake, fauxnaif, fdasrvf, FeatureExtraction, ffscrapr, fig, filebin, filecacher, flashr, flexsiteboard, flextable, forcats, formatters, foundry, fr, fracture, fs, FSelectorRcpp, furrr, fusen, fy, generics, geojsonio, ggdag, ggeffects, ggExtra, ggPMX, ggspatial, ggstatsplot, ggsurvfit, ggthemes, ggtibble, gh, gibasa, gips, gitcreds, gitdown, gitr, GLMMcosinor, glmSparseNet, glue, gmailr, gmoTree, golem, gptstudio, grafzahl, grattan, grattanInflators, greta, guildai, GUTS, healthdb, here, hippie, htmltools, hutils, hutilscpp, hypothesis, iai, icecream, igraph, insight, instantiate, IOHanalyzer, ipumsr, irace, IRdisplay, ISAnalytics, IsoriX, jetpack, joyn, JSmediation, jsonvalidate, JWileymisc, kanjistat, keras, keras3, keyring, knitrProgressBar, lambdr, languageserver, LATERmodel, lefser, lifecycle, lightr, lintr, liteq, logrx, lorem, luz, lvmisc, magclass, mailmerge, makepipe, maraca, marginaleffects, mark, md4r, melt, meltr, meteospain, metricminer, MGMM, microbiomeMarker, MicrobiotaProcess, MicroMoB, miniCRAN, miniPCH, minSNPs, MiscMetabar, mlr3filters, mlr3spatiotempcv, MOCHA, mockthat, MolgenisArmadillo, move2, mtscr, multidplyr, multinma, musicatk, namedropR, nanoarrow, naryn, nestedmodels, NetLogoR, neuralGAM, nfl4th, nhppp, NHSRplotthedots, nlmixr2, nlmixr2est, nlmixr2extra, nlmixr2plot, nodbi, nonmem2rx, nuts, occupationMeasurement, odbc, onetime, ooplah, options, oskeyring, osmextract, ottr, packager, pacs, pak, palettes, pandoc, parameters, PaRe, parsedate, parttime, PatientProfiles, paws.common, Pedixplorer, performance, petersenlab, PHEindicatormethods, PhilipsHue, PhIPData, piggyback, pillar, pkgbuild, pkgcache, pkgdepends, pkgnet, pkgsearch, PKNCA, plotly, plu, plume, polyMatrix, potools, pracpac, PracticalEquiDesign, precondition, predictNMB, prettycode, processx, progress, prompt, prqlr, prt, PublicationBias, pysparklyr, quarto, quickPlot, r2dii.analysis, RAIDS, random.cdisc.data, rappdirs, rasciidoc, rb3, rbcb, rcompendium, rcrossref, RDP, readODS, readr, readwritesqlite, readxl, REDCapTidieR, redist, remotes, reproducible, restatis, rfacts, rhub, ricu, riingo, riskmetric, rlang, rlistings, rmapshaper, RMariaDB, rmarkdown, RNOmni, roahd, rosm, roxyglobals, rprojroot, rsample, rsconnect, rsi, RSQLite, rtables, rticles, rvertnet, rxode2, s3, sacRebleu, santoku, saros, sass, SCDB, SCpubr, scribe, SDMtune, secret, selenium, sessioninfo, sevenbridges2, shiny.emptystate, shiny.fluent, shiny.i18n, shiny.semantic, shiny.telemetry, shinymodels, SIAtools, SimNPH, sims, sinew, skimr, snvecR, SomaDataIO, SomaScan.db, sortable, SpaDES.core, SpaDES.tools, sparkxgb, spatialsample, squat, srcr, ssdtools, sship, stacomirtools, StanHeaders, starsTileServer, stevedore, Surrogate, SurrogateRegression, survex, surveydata, survParamSim, svrep, swag, tabnet, teal, teal.data, teal.modules.clinical, teal.slice, teal.widgets, Temporal, tensorflow, tern, terraTCGAdata, testex, tfruns, tglkmeans, thematic, tibble, tidyquery, tidysq, tidytlg, tidytreatment, tidytuesdayR, tikzDevice, tinkr, tok, Tplyr, TreatmentPatterns, TrialEmulation, truncnormbayes, TSCI, tufte, updateme, utf8, vaultr, vcr, vctrs, vdiffr, vegawidget, VIM, waldo, waywiser, webfakes, WeMix, whoami, workflowr, xportr, ypr, zellkonverter, ZillowR, zip

Linking:

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

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.