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: 1.0.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, httr2
Published: 2024-07-23
DOI: 10.32614/CRAN.package.webmockr
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, https://books.ropensci.org/http-testing/, https://docs.ropensci.org/webmockr/
NeedsCompilation: no
Language: en-US
Materials: NEWS
In views: WebTechnologies
CRAN checks: webmockr results

Documentation:

Reference manual: webmockr.pdf

Downloads:

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

Reverse dependencies:

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

Linking:

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