R Observatory
Search

Older releaseCurrent release 3.0.3

withr

Released
19 Dec 2017R 3.4.3 at the time
Advisories, method
None knownfor this release
Test coverage, method
–not measured for this release
Public exports, method
632 added, 0 removed

Record made 29 Oct 2026, 11:26 UTC from data release v2026-10-28, merged 23:10 UTC. Project DOI 10.5281/zenodo.21843040.

This page reports what R Observatory measured for this release. It is not a validation, and it does not say whether the package is fit for your intended use.

Compare

Compared with 3.0.3, released 19 Jun 2026.

Time between
3,104 days13 releases in between
Advisories
None knownfor either release
Exports
16 addednone removed
Files changed
115+9,222 −4,886 lines

Values that differ (21)

MeasureSection2.1.13.0.3
LicenseReleaseGPL (>= 2), OSI approvedMIT + file LICENSE, OSI approved
MaintainerReleaseJim HesterLionel Henry
Download sizeRelease51 KB102 KB
AuthorsReleaseJim Hester, Kirill Müller, Kevin Ushey, Hadley Wickham, Winston Chang, Richard Cotton, RStudioJim Hester, Lionel Henry, Kirill Müller, Kevin Ushey, Hadley Wickham, Winston Chang, Jennifer Bryan, Richard Cotton, Posit Software, PBC
Source codeReleasehttp://github.com/r-lib/withr#readmehttps://withr.r-lib.org, https://github.com/r-lib/withr#readme
Public exportsCode6379
Internal functionsCode3356
Lines of R codeCode1,2352,548
ComplexityCodemean 1.7, highest 7mean 2.1, highest 13
TestsTestsYes, testthat (edition not declared, 2nd by default), 65 test blocksYes, testthat (3rd edition), 123 test blocks
Exports named in testsTests92.1%88.6%
Help pages with running examplesTests8 of 920 of 21
Help pagesDocumentation2228
Exports with examplesDocumentation40%76.9%
Arguments documentedDocumentation99.8%85.1%
Return value documentedDocumentation95%80.8%
NEWSDocumentationYes, does not mention 2.1.1Yes, mentions 3.0.3
WebsiteDocumentationNo, not declared in DESCRIPTIONYes
DependsDependenciesR (>= 3.0.2)R (>= 3.6.0)
ImportsDependenciesstats, graphics, grDevicesgraphics, grDevices
SuggestsDependenciestestthat, covr, lattice, DBI, RSQLite, methods, knitr, rmarkdowncallr, DBI, knitr, methods, rlang, rmarkdown (>= 2.12), RSQLite, testthat (>= 3.0.0)
Exports added (16)
  • deferred_clear
  • deferred_run
  • global_defer
  • local_language
  • local_makevars
  • local_preserve_seed
  • local_rng_version
  • local_seed
  • local_tempdir
  • local_timezone
  • makevars_user
  • set_makevars
  • with_language
  • with_rng_version
  • with_tempdir
  • with_timezone
Most changed files (12 of 115)
FileLines addedLines deleted
inst/doc/withr.html1,326760
inst/doc/changing-and-restoring-state.html835835
MD5347307
man/devices.Rd210313
R/compat-defer.R258258
tests/testthat/test-defer.R262225
R/defer.R295115
inst/doc/changing-and-restoring-state.Rmd3418
vignettes/changing-and-restoring-state.Rmd3418
DESCRIPTION161154
NEWS.md26410
R/devices.R153121

Both releases side by side

Release

Published
19 Dec 2017
Status
Replaced by 2.1.2 on 15 Mar 2018
Previous
2.1.0, 1 Nov 2017
License
GPL (>= 2), OSI approved
Maintainer
Jim Hester
Download size
51 KB
Authors
Jim Hester, Kirill Müller, Kevin Ushey, Hadley Wickham, Winston Chang, Richard Cotton, RStudio
This release
None known
Results
Kept only for the current release
Lines of R code
1,235
Public exports
63
Internal functions
33
Mean complexity
1.7the most is 7

Lines by kind (3,744)

KindLinesShare
R code1,23533%
Tests99527%
Documentation1,14431%
Guides37010%
Exports changed since 2.1.0
2 added, 0 removed
Test cases
74
Lines of tests
995
Exports named in tests
92.1%
Tests
Yes, testthat (edition not declared, 2nd by default), 65 test blocks
Test lines per line of code
0.81
Coverage
Not measured for this release
Help pages with running examples
8 of 9
Exports documented
100%
Arguments documented
99.8%
Return value documented
95%
Vignettes
1
Help pages
22
Exports with examples
40%
NEWS
Yes, does not mention 2.1.1
Citation file
No
Website
No, not declared in DESCRIPTION
Depends
R (>= 3.0.2)
Imports
stats, graphics, grDevices
LinkingTo
None
Suggests
testthat, covr, lattice, DBI, RSQLite, methods, knitr, rmarkdown
Install tree
Kept only for the current release
Advisories in the install tree
Kept only for the current release

SBOM

Today

Checks, downloads, dependents, people and the repository describe the package as it is now, so they are on the current release.

withr 3.0.3 | the package page

Sources

PartFromAs of
Release historyCRAN package versions28 Oct 2026
Advisoriesosv-advisories 1.0.0, R version 4.6.1 (2026-06-24)28 Oct 2026
CRAN checksCRAN check resultsKept only for the current release
Tests, documentation, coderpkg-analyzer 0.5.25 Oct 2026
CoveragecovrNot measured for this release
UseCRAN downloads, reverse dependencies, repositoryNot shown for this release

Daily data releases are kept on GitHub, so the data behind this record can be fetched again from v2026-10-28 (merged 23:10 UTC). Values not kept for a release say so and are never filled in from another release.