Other packages > Find by keyword >

httptest2  

Test Helpers for 'httr2'
View on CRAN: Click here


Download and install httptest2 package within the R console
Install from CRAN:
install.packages("httptest2")

Install from Github:
library("remotes")
install_github("cran/httptest2")

Install by package version:
library("remotes")
install_version("httptest2", "1.2.2")



Attach the package and use:
library("httptest2")
Maintained by
Neal Richardson
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2022-01-10
Latest Update: 2025-07-27
Description:
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.
How to cite:
Neal Richardson (2022). httptest2: Test Helpers for 'httr2'. R package version 1.2.2, https://cran.r-project.org/web/packages/httptest2. Accessed 18 Sep. 2026.
Previous versions and publish date:
(2026-07-09 07:48), 0.1.0 (2022-01-10 09:52), 1.0.0 (2023-11-07 20:40), 1.1.0 (2024-04-26 15:40), 1.2.0 (2025-06-27 21:20), 1.2.1 (2025-07-27 23:00)
Other packages that cited httptest2 R package
View httptest2 citation profile
Other R packages that httptest2 depends, imports, suggests or enhances
Complete documentation for httptest2
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

r2resize  
In-Text Resize for Images, Tables and Fancy Resize Containers in 'shiny', 'rmarkdown' and 'quarto' Documents
Automatic resizing toolbar for containers, images and tables. Various resizable or expandable contai ...
Download / Learn more Package Citations See dependency  
hmeasure  
The H-Measure and Other Scalar Classification Performance Metrics
Classification performance metrics that are derived from the ROC curve of a classifier. The package ...
Download / Learn more Package Citations See dependency  
data360r  
Wrapper for 'TCdata360' and 'Govdata360' API
Makes it easy to engage with the Application Program Interface (API) of the 'TCdata360' and 'Govdat ...
Download / Learn more Package Citations See dependency  
eyelinker  
Import ASC Files from EyeLink Eye Trackers
Imports plain-text ASC data files from EyeLink eye trackers into (relatively) tidy data frames for ...
Download / Learn more Package Citations See dependency  
downlit  
Syntax Highlighting and Automatic Linking
Syntax highlighting of R code, specifically designed for the needs of 'RMarkdown' packages like 'pk ...
Download / Learn more Package Citations See dependency  
injectoR  
R Dependency Injection
R dependency injection framework. Dependency injection allows a program design to follow the depend ...
Download / Learn more Package Citations See dependency  

28,565

R Packages

239,283

Dependencies

75,677

Author Associations

28,566

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA