{
  "_id": "6a06f175be3e45e78450ef92",
  "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-05-15 09:55:32 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": "f8af39e676591545ed918ec4dc7d24fa",
  "_user": "ropensci",
  "_type": "src",
  "_file": "webmockr_2.2.1.92.tar.gz",
  "_fileid": "88f04ad004a65b61c3a3ff555696fb0c7dbe13bfb63a5f811335f59cb1d0bd1c",
  "_filesize": 278849,
  "_sha256": "88f04ad004a65b61c3a3ff555696fb0c7dbe13bfb63a5f811335f59cb1d0bd1c",
  "_created": "2026-05-15T09:55:32.000Z",
  "_published": "2026-05-15T10:12:05.115Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 76158367994,
      "time": 124,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7014563201"
    },
    {
      "job": 76158368051,
      "time": 126,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7014563947"
    },
    {
      "job": 76158368032,
      "time": 131,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7014796693"
    },
    {
      "job": 76158368020,
      "time": 105,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7014789463"
    },
    {
      "job": 76157789051,
      "time": 141,
      "config": "pkgdown",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7014495312"
    },
    {
      "job": 76157789037,
      "time": 246,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7014524648"
    },
    {
      "job": 76158367995,
      "time": 164,
      "config": "wasm-release",
      "r": "4.5.1",
      "check": "OK",
      "artifact": "7014573982"
    },
    {
      "job": 76158368094,
      "time": 87,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7014551530"
    },
    {
      "job": 76158368025,
      "time": 90,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7014552713"
    },
    {
      "job": 76158368053,
      "time": 82,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7014550400"
    }
  ],
  "_buildurl": "https://github.com/r-universe/ropensci/actions/runs/25911567422",
  "_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-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": 5023,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/webmockr"
  },
  "_devurl": "https://github.com/ropensci/webmockr",
  "_pkgdown": "https://docs.ropensci.org/webmockr",
  "_searchresults": 139,
  "_metadata": {
    "ropensci_category": "http-tools"
  },
  "_rbuild": "4.6.0",
  "_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.843977978413644,
  "_indexed": true,
  "_nocasepkg": "webmockr",
  "_universes": [
    "ropensci",
    "sckott"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.2.1.92",
      "date": "2026-05-15T09:57:33.000Z",
      "distro": "noble",
      "commit": "7cadddad4fbe254b4a99d23c6f687d77f6a58380",
      "fileid": "6dacdfaaf1f1e2ac45dd8e963679a790e881009ba729425cd0bab771f432ea1e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/25911567422"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "2.2.1.92",
      "date": "2026-05-15T09:57:37.000Z",
      "distro": "noble",
      "commit": "7cadddad4fbe254b4a99d23c6f687d77f6a58380",
      "fileid": "bd5dc557ae7156994344006c2c7552e30df1d75591b0b9a1790a9980c5c39e34",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/25911567422"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.2.1.92",
      "date": "2026-05-15T10:11:13.000Z",
      "commit": "7cadddad4fbe254b4a99d23c6f687d77f6a58380",
      "fileid": "40ff43569335699649a345cbda6ef2079ef38f6b48141748d431e6ea2fc77358",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/25911567422"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "2.2.1.92",
      "date": "2026-05-15T10:10:50.000Z",
      "commit": "7cadddad4fbe254b4a99d23c6f687d77f6a58380",
      "fileid": "4ec06afb7652040b50e0e3c6669a511ce1d74e693879dced1fcd48631371cc21",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/25911567422"
    },
    {
      "r": "4.5.1",
      "os": "wasm",
      "version": "2.2.1.92",
      "date": "2026-05-15T09:58:37.000Z",
      "commit": "7cadddad4fbe254b4a99d23c6f687d77f6a58380",
      "fileid": "25ab7cd18cc2a8b8671edb6117d97a1337fc69e9fee74bbeb49cbc47ee52dde1",
      "status": "success",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/25911567422"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2.2.1.92",
      "date": "2026-05-15T09:56:49.000Z",
      "commit": "7cadddad4fbe254b4a99d23c6f687d77f6a58380",
      "fileid": "08afd0d2c5d1364bc5620b31113c60c4f2b3df2d0decea82a4f981a6dd257c31",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/25911567422"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "2.2.1.92",
      "date": "2026-05-15T09:56:47.000Z",
      "commit": "7cadddad4fbe254b4a99d23c6f687d77f6a58380",
      "fileid": "5117b691b68ca802b887fcabcdad2b0572fb2aff82242c0df23aff719da9134e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/25911567422"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "2.2.1.92",
      "date": "2026-05-15T09:56:44.000Z",
      "commit": "7cadddad4fbe254b4a99d23c6f687d77f6a58380",
      "fileid": "53c0f52a482b0eeb6fdd5559e9c4bb6f2e19fa89b6aec0f0e051e3bc0b517e1d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ropensci/actions/runs/25911567422"
    }
  ]
}