webmockr: Stubbing and Setting Expectations on 'HTTP' Requests

Stubbing and setting expectations on 'HTTP' requests. Includes tools for stubbing 'HTTP' requests, including expected request conditions and response conditions. Match on 'HTTP' method, query parameters, request body, headers and more. Can be used for unit tests or outside of a testing context.

Version: 0.9.0
Imports: curl, jsonlite, magrittr (≥ 1.5), R6 (≥ 2.1.3), urltools (≥ 1.6.0), fauxpas, crul (≥ 0.7.0), base64enc
Suggests: testthat, xml2, vcr, httr
Published: 2023-02-28
Author: Scott Chamberlain ORCID iD [aut, cre], Aaron Wolen ORCID iD [ctb], rOpenSci [fnd] (https://ropensci.org)
Maintainer: Scott Chamberlain <myrmecocystus+r at gmail.com>
BugReports: https://github.com/ropensci/webmockr/issues
License: MIT + file LICENSE
URL: https://github.com/ropensci/webmockr (devel) https://books.ropensci.org/http-testing/ (user manual) https://docs.ropensci.org/webmockr/ (documentation)
NeedsCompilation: no
Language: en-US
Materials: NEWS
In views: WebTechnologies
CRAN checks: webmockr results

Documentation:

Reference manual: webmockr.pdf

Downloads:

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

Reverse dependencies:

Reverse imports: vcr, zoltr
Reverse suggests: archiveRetriever, biomaRt, citecorp, connectwidgets, crul, lambdr, magmaR, MolgenisArmadillo, polite, qualtRics, rATTAINS, riskmetric, ritis, RTD

Linking:

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