CRAN/E | httptest2

httptest2

Test Helpers for 'httr2'

Installation

About

Testing and documenting code that communicates with remote servers can be painful. This package helps with writing tests for packages that use 'httr2'. It enables testing all of the logic on the R sides of the API without requiring access to the remote service, and it also allows recording real API responses to use as test fixtures. The ability to save responses and load them offline also enables writing vignettes and other dynamic documents that can be distributed without access to a live server.

enpiar.com/httptest2/
github.com/nealrichardson/httptest2
Bug report File report

Key Metrics

Version 1.1.0
Published 2024-04-26 3 days ago
Needs compilation? no
License MIT
License File
CRAN checks httptest2 results
Language en-US

Downloads

Yesterday 46 0%
Last 7 days 377 +22%
Last 30 days 1.360 -19%
Last 90 days 4.776 -42%
Last 365 days 21.325 +29%

Maintainer

Maintainer

Neal Richardson

neal.p.richardson@gmail.com

Authors

Neal Richardson

aut / cre

Jonathan Keane

ctb

Maëlle Salmon

ctb

Material

README
NEWS
Reference manual
Package source

Vignettes

Frequently Asked Questions
httptest: A Test Environment for HTTP Requests in R
Redacting and Modifying Recorded Requests
Writing Vignettes with APIs

macOS

r-release

arm64

r-oldrel

arm64

r-release

x86_64

r-oldrel

x86_64

Windows

r-devel

x86_64

r-release

x86_64

r-oldrel

x86_64

Old Sources

httptest2 archive

Imports

digest
httr2
jsonlite
rlang
stats
testthat
utils

Suggests

curl
knitr
pkgload
rmarkdown
spelling
webfakes
xml2

Reverse Suggests

allcontributors
bskyr
comtradr
congress
f1dataR
feltr
gptzeror
happign
hexFinder
osmdata
planscorer
restatis
riem
Rigma
rirods
rosv