{
  "_id": "69b7cc21a485b674afd002ec",
  "Package": "webmockr",
  "Title": "Stubbing and Setting Expectations on 'HTTP' Requests",
  "Description": "Stubbing and setting expectations on 'HTTP' requests.\nIncludes tools for stubbing 'HTTP' requests, including expected\nrequest conditions and response conditions. Match on 'HTTP'\nmethod, query parameters, request body, headers and more. Can\nbe used for unit tests or outside of a testing context.",
  "Version": "2.2.1.92",
  "Authors@R": "c(\nperson(\"Scott\", \"Chamberlain\", role = c(\"aut\", \"cre\"), email =\n\"myrmecocystus+r@gmail.com\", comment = c(ORCID=\"0000-0003-1444-9135\")),\nperson(\"Aaron\", \"Wolen\", role = \"ctb\",\ncomment = c(ORCID=\"0000-0003-2542-2202\")),\nperson(\"rOpenSci\", role = \"fnd\", comment = c(ROR = \"019jywm96\"))\n)",
  "License": "MIT + file LICENSE",
  "URL": "https://github.com/ropensci/webmockr,\nhttps://books.ropensci.org/http-testing/,\nhttps://docs.ropensci.org/webmockr/",
  "BugReports": "https://github.com/ropensci/webmockr/issues",
  "Encoding": "UTF-8",
  "Language": "en-US",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.2",
  "Config/testthat/edition": "3",
  "Config/testthat/parallel": "true",
  "Config/pak/sysreqs": "libssl-dev",
  "Repository": "https://ropensci.r-universe.dev",
  "Date/Publication": "2025-08-05 13:09:53 UTC",
  "RemoteUrl": "https://github.com/ropensci/webmockr",
  "RemoteRef": "main",
  "RemoteSha": "7cadddad4fbe254b4a99d23c6f687d77f6a58380",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-03-16 09:20:13 UTC",
    "User": "root"
  },
  "Author": "Scott Chamberlain [aut, cre] (ORCID:\n<https://orcid.org/0000-0003-1444-9135>),\nAaron Wolen [ctb] (ORCID: <https://orcid.org/0000-0003-2542-2202>),\nrOpenSci [fnd] (ROR: <https://ror.org/019jywm96>)",
  "Maintainer": "Scott Chamberlain <myrmecocystus+r@gmail.com>",
  "MD5sum": "db1fd6fffdc90059b81ff1cc4f0205bd",
  "_user": "ropensci",
  "_type": "src",
  "_file": "webmockr_2.2.1.92.tar.gz",
  "_fileid": "d7b58a15fc0d7fd669691f5bcd623485c53d7591ddb8e5e766b1484444eda1bc",
  "_filesize": 273517,
  "_sha256": "d7b58a15fc0d7fd669691f5bcd623485c53d7591ddb8e5e766b1484444eda1bc",
  "_created": "2026-03-16T09:20:13.000Z",
  "_published": "2026-03-16T09:23:45.479Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 67201391034,
      "time": 132,
      "config": "linux-devel-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "5940326857"
    },
    {
      "job": 67201391047,
      "time": 155,
      "config": "linux-release-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "5940332888"
    },
    {
      "job": 67201390996,
      "time": 90,
      "config": "macos-devel-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "5940315298"
    },
    {
      "job": 67201390987,
      "time": 80,
      "config": "macos-release-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "5940312809"
    },
    {
      "job": 67200975136,
      "time": 162,
      "config": "pkgdown",
      "r": "4.5.2",
      "check": "OK",
      "artifact": "5940282640"
    },
    {
      "job": 67200975105,
      "time": 195,
      "config": "source",
      "r": "4.5.2",
      "check": "OK",
      "artifact": "5940291032"
    },
    {
      "job": 67201390974,
      "time": 112,
      "config": "wasm-release",
      "r": "4.5.1",
      "check": "OK",
      "artifact": "5940321506"
    },
    {
      "job": 67201391082,
      "time": 80,
      "config": "windows-devel",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "5940313150"
    },
    {
      "job": 67201391032,
      "time": 81,
      "config": "windows-oldrel",
      "r": "4.4.3",
      "check": "OK",
      "artifact": "5940313337"
    },
    {
      "job": 67201391006,
      "time": 91,
      "config": "windows-release",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "5940316477"
    }
  ],
  "_buildurl": "https://github.com/r-universe/ropensci/actions/runs/23136306985",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/ropensci/webmockr",
  "_commit": {
    "id": "7cadddad4fbe254b4a99d23c6f687d77f6a58380",
    "author": "Scott Chamberlain <sckott@fastmail.com>",
    "committer": "Scott Chamberlain <sckott@fastmail.com>",
    "message": "RequestPattern not exported now\n",
    "time": 1754399393
  },
  "_maintainer": {
    "name": "Scott Chamberlain",
    "email": "myrmecocystus+r@gmail.com",
    "login": "sckott",
    "mastodon": "@sckottie@hachyderm.io",
    "bluesky": "@sckott.bsky.social",
    "orcid": "0000-0003-1444-9135",
    "uuid": 577668
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "curl",
      "role": "Imports"
    },
    {
      "package": "jsonlite",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "version": ">= 1.5",
      "role": "Imports"
    },
    {
      "package": "R6",
      "version": ">= 2.1.3",
      "role": "Imports"
    },
    {
      "package": "urltools",
      "version": ">= 1.6.0",
      "role": "Imports"
    },
    {
      "package": "fauxpas",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "cli",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "xml2",
      "role": "Suggests"
    },
    {
      "package": "crul",
      "role": "Suggests"
    },
    {
      "package": "httr",
      "role": "Suggests"
    },
    {
      "package": "httr2",
      "role": "Suggests"
    },
    {
      "package": "diffobj",
      "role": "Suggests"
    },
    {
      "package": "withr",
      "role": "Suggests"
    }
  ],
  "_owner": "ropensci",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-16",
      "n": 4
    },
    {
      "week": "2025-18",
      "n": 2
    },
    {
      "week": "2025-20",
      "n": 9
    },
    {
      "week": "2025-21",
      "n": 14
    },
    {
      "week": "2025-26",
      "n": 14
    },
    {
      "week": "2025-27",
      "n": 4
    },
    {
      "week": "2025-28",
      "n": 6
    },
    {
      "week": "2025-29",
      "n": 2
    },
    {
      "week": "2025-31",
      "n": 2
    },
    {
      "week": "2025-32",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "v2.1.0",
      "date": "2025-06-29"
    },
    {
      "name": "v2.2.0",
      "date": "2025-07-17"
    }
  ],
  "_topics": [
    "http",
    "https",
    "api",
    "web-services",
    "curl",
    "mock",
    "mocking",
    "fakeweb",
    "http-mocking",
    "testing",
    "testing-tools",
    "tdd",
    "http-mock"
  ],
  "_stars": 50,
  "_contributors": [
    {
      "user": "sckott",
      "count": 546,
      "uuid": 577668
    },
    {
      "user": "aaronwolen",
      "count": 32,
      "uuid": 1067915
    },
    {
      "user": "hadley",
      "count": 5,
      "uuid": 4196
    },
    {
      "user": "jeroen",
      "count": 3,
      "uuid": 216319
    },
    {
      "user": "maelle",
      "count": 3,
      "uuid": 8360597
    },
    {
      "user": "bisaloo",
      "count": 1,
      "uuid": 10783929
    }
  ],
  "_userbio": {
    "uuid": 1200269,
    "type": "organization",
    "name": "rOpenSci",
    "description": "Tools and R Packages for Open Science"
  },
  "_downloads": {
    "count": 3842,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/webmockr"
  },
  "_devurl": "https://github.com/ropensci/webmockr",
  "_pkgdown": "https://docs.ropensci.org/webmockr",
  "_searchresults": 152,
  "_metadata": {
    "ropensci_category": "http-tools"
  },
  "_rbuild": "4.5.2",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/webmockr.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/ropensci/webmockr",
  "_realowner": "ropensci",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2017-05-20"
    },
    {
      "version": "0.2.0",
      "date": "2018-03-02"
    },
    {
      "version": "0.2.4",
      "date": "2018-05-08"
    },
    {
      "version": "0.2.6",
      "date": "2018-05-17"
    },
    {
      "version": "0.2.8",
      "date": "2018-10-19"
    },
    {
      "version": "0.2.9",
      "date": "2018-11-06"
    },
    {
      "version": "0.3.0",
      "date": "2019-01-09"
    },
    {
      "version": "0.3.4",
      "date": "2019-02-09"
    },
    {
      "version": "0.4.0",
      "date": "2019-08-09"
    },
    {
      "version": "0.5.0",
      "date": "2019-12-05"
    },
    {
      "version": "0.6.0",
      "date": "2020-03-02"
    },
    {
      "version": "0.6.2",
      "date": "2020-03-24"
    },
    {
      "version": "0.7.0",
      "date": "2020-09-30"
    },
    {
      "version": "0.7.4",
      "date": "2020-12-09"
    },
    {
      "version": "0.8.0",
      "date": "2021-03-14"
    },
    {
      "version": "0.8.2",
      "date": "2022-08-28"
    },
    {
      "version": "0.9.0",
      "date": "2023-02-28"
    },
    {
      "version": "1.0.0",
      "date": "2024-07-23"
    },
    {
      "version": "2.0.0",
      "date": "2025-02-11"
    },
    {
      "version": "2.1.0",
      "date": "2025-06-29"
    },
    {
      "version": "2.2.0",
      "date": "2025-07-21"
    }
  ],
  "_exports": [
    "%>%",
    "build_crul_response",
    "build_httr_response",
    "build_httr2_request",
    "build_httr2_response",
    "CrulAdapter",
    "disable",
    "enable",
    "enabled",
    "excluding",
    "httr_mock",
    "httr2_mock",
    "Httr2Adapter",
    "HttrAdapter",
    "including",
    "last_request",
    "last_stub",
    "mock_file",
    "pluck_body",
    "remove_request_stub",
    "request_registry",
    "request_registry_clear",
    "request_registry_filter",
    "RequestSignature",
    "Response",
    "stub_body_diff",
    "stub_registry",
    "stub_registry_clear",
    "stub_request",
    "to_raise",
    "to_return",
    "to_return_",
    "to_timeout",
    "webmockr_allow_net_connect",
    "webmockr_configuration",
    "webmockr_configure",
    "webmockr_configure_reset",
    "webmockr_crul_fetch",
    "webmockr_disable",
    "webmockr_disable_net_connect",
    "webmockr_enable",
    "webmockr_net_connect_allowed",
    "webmockr_reset",
    "wi_th",
    "wi_th_"
  ],
  "_help": [
    {
      "page": "enable",
      "title": "Enable or disable webmockr",
      "topics": [
        "disable",
        "enable",
        "enabled"
      ]
    },
    {
      "page": "httr_mock",
      "title": "Turn on 'httr' mocking",
      "topics": [
        "httr_mock"
      ]
    },
    {
      "page": "httr2_mock",
      "title": "Turn on 'httr2' mocking",
      "topics": [
        "httr2_mock"
      ]
    },
    {
      "page": "including",
      "title": "Partially match request query parameters or request bodies",
      "topics": [
        "excluding",
        "including",
        "partial"
      ]
    },
    {
      "page": "last_request",
      "title": "Get the last HTTP request made",
      "topics": [
        "last_request"
      ]
    },
    {
      "page": "last_stub",
      "title": "Get the last stub created",
      "topics": [
        "last_stub"
      ]
    },
    {
      "page": "mock_file",
      "title": "Mock file",
      "topics": [
        "mock_file"
      ]
    },
    {
      "page": "mocking-disk-writing",
      "title": "Mocking writing to disk",
      "topics": [
        "mocking-disk-writing"
      ]
    },
    {
      "page": "remove_request_stub",
      "title": "Remove a request stub",
      "concept": "stub-registry",
      "topics": [
        "remove_request_stub"
      ]
    },
    {
      "page": "request_registry",
      "title": "List or clear requests in the request registry",
      "concept": "request-registry",
      "topics": [
        "request_registry",
        "request_registry_clear"
      ]
    },
    {
      "page": "request_registry_filter",
      "title": "Request registry filter",
      "topics": [
        "request_registry_filter"
      ]
    },
    {
      "page": "stub_body_diff",
      "title": "Get a diff of a stub request body and a request body from an http request",
      "topics": [
        "stub_body_diff"
      ]
    },
    {
      "page": "stub_registry",
      "title": "List stubs in the stub registry",
      "concept": "stub-registry",
      "topics": [
        "stub_registry"
      ]
    },
    {
      "page": "stub_registry_clear",
      "title": "stub_registry_clear",
      "concept": "stub-registry",
      "topics": [
        "stub_registry_clear"
      ]
    },
    {
      "page": "stub_request",
      "title": "Stub an http request",
      "topics": [
        "stub_request"
      ]
    },
    {
      "page": "to_raise",
      "title": "Set raise error condition",
      "topics": [
        "to_raise"
      ]
    },
    {
      "page": "to_return",
      "title": "Expectation for what's returned from a stubbed request",
      "topics": [
        "to_return"
      ]
    },
    {
      "page": "to_timeout",
      "title": "Set timeout as an expected return on a match",
      "topics": [
        "to_timeout"
      ]
    },
    {
      "page": "webmockr_configure",
      "title": "webmockr configuration",
      "topics": [
        "webmockr_allow_net_connect",
        "webmockr_configuration",
        "webmockr_configure",
        "webmockr_configure_reset",
        "webmockr_disable_net_connect",
        "webmockr_net_connect_allowed"
      ]
    },
    {
      "page": "webmockr_reset",
      "title": "webmockr_reset",
      "topics": [
        "webmockr_reset"
      ]
    },
    {
      "page": "webmockr-defunct",
      "title": "Defunct functions in 'webmockr'",
      "topics": [
        "webmockr-defunct"
      ]
    },
    {
      "page": "wi_th",
      "title": "Set additional parts of a stubbed request",
      "topics": [
        "wi_th"
      ]
    }
  ],
  "_readme": "https://github.com/ropensci/webmockr/raw/main/README.md",
  "_rundeps": [
    "cli",
    "curl",
    "fauxpas",
    "httpcode",
    "jsonlite",
    "magrittr",
    "R6",
    "Rcpp",
    "rlang",
    "triebeard",
    "urltools",
    "whisker"
  ],
  "_score": 7.863310961478504,
  "_indexed": true,
  "_nocasepkg": "webmockr",
  "_universes": [
    "ropensci",
    "sckott"
  ],
  "_binaries": [
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "2.2.1.92",
      "date": "2026-03-16T09:22:25.000Z",
      "distro": "noble",
      "commit": "7cadddad4fbe254b4a99d23c6f687d77f6a58380",
      "fileid": "57d07af4a4aef9d9b407159be2dc68ab4b6d9ecbca82f7770e4693b2550c3e9e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/23136306985"
    },
    {
      "r": "4.5.3",
      "os": "linux",
      "version": "2.2.1.92",
      "date": "2026-03-16T09:22:46.000Z",
      "distro": "noble",
      "commit": "7cadddad4fbe254b4a99d23c6f687d77f6a58380",
      "fileid": "690c78bf9b96b980bcd4c698f370bfa7416155d39e72ba2a59232f105b716c52",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/23136306985"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "2.2.1.92",
      "date": "2026-03-16T09:21:50.000Z",
      "commit": "7cadddad4fbe254b4a99d23c6f687d77f6a58380",
      "fileid": "126f2734c4bb37b69da9a46b4ca67308e2f3099cec1221efc54004eba693ba51",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/23136306985"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.2.1.92",
      "date": "2026-03-16T09:21:42.000Z",
      "commit": "7cadddad4fbe254b4a99d23c6f687d77f6a58380",
      "fileid": "a44781c0ab023262a6a5c329557989d06c76fa6a86c3ae83a2bdd5861537edc1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/23136306985"
    },
    {
      "r": "4.5.1",
      "os": "wasm",
      "version": "2.2.1.92",
      "date": "2026-03-16T09:22:32.000Z",
      "commit": "7cadddad4fbe254b4a99d23c6f687d77f6a58380",
      "fileid": "494d3043b3cf3d289327ee2f22dd7444e18c2e3056c07a675d0d6a122ab43be3",
      "status": "success",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/23136306985"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "2.2.1.92",
      "date": "2026-03-16T09:21:25.000Z",
      "commit": "7cadddad4fbe254b4a99d23c6f687d77f6a58380",
      "fileid": "44bafc5178fad71b0c395b6918bee8c77997f74ad9975c572387bc6fa8113d5b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/23136306985"
    },
    {
      "r": "4.4.3",
      "os": "win",
      "version": "2.2.1.92",
      "date": "2026-03-16T09:21:28.000Z",
      "commit": "7cadddad4fbe254b4a99d23c6f687d77f6a58380",
      "fileid": "273bc7580355488f943df49bf65860d63db7526685b5e7d4b96fe14a6613d597",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/23136306985"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "2.2.1.92",
      "date": "2026-03-16T09:21:38.000Z",
      "commit": "7cadddad4fbe254b4a99d23c6f687d77f6a58380",
      "fileid": "51cc6ae7753d831ad3617e89dd71e5f06c9b48c5a527fcc1bc0327d5aaf27707",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/23136306985"
    }
  ]
}