Other packages > Find by keyword >

httptest  

A Test Environment for HTTP Requests
View on CRAN: Click here


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

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

Install by package version:
library("remotes")
install_version("httptest", "4.2.2")



Attach the package and use:
library("httptest")
Maintained by
Neal Richardson
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2016-12-31
Latest Update: 2024-01-23
Description:
Testing and documenting code that communicates with remote servers can be painful. Dealing with authentication, server state, and other complications can make testing seem too costly to bother with. But it doesn't need to be that hard. This package enables one to test all of the logic on the R sides of the API in your package without requiring access to the remote service. Importantly, it provides three contexts that mock the network connection in different ways, as well as testing functions to assert that HTTP requests were---or were not---made. It also allows one to safely record real API responses to use as test fixtures. The ability to save responses and load them offline also enables one to write vignettes and other dynamic documents that can be distributed without access to a live server.
How to cite:
Neal Richardson (2016). httptest: A Test Environment for HTTP Requests. R package version 4.2.2, https://cran.r-project.org/web/packages/httptest. Accessed 21 Nov. 2024.
Previous versions and publish date:
1.0.0 (2016-12-31 22:01), 1.1.0 (2017-02-03 19:08), 1.2.0 (2017-03-22 07:13), 1.3.0 (2017-04-13 23:23), 2.0.0 (2017-06-05 09:29), 2.1.0 (2017-07-31 10:19), 2.1.2 (2017-08-05 01:06), 2.3.2 (2017-10-20 06:24), 2.3.4 (2017-11-14 05:23), 3.0.0 (2018-01-16 19:35), 3.1.0 (2018-06-19 21:00), 3.2.0 (2018-11-09 07:20), 3.2.2 (2018-12-07 06:30), 3.3.0 (2020-01-28 22:40), 4.0.0 (2021-02-01 07:10), 4.1.0 (2021-09-22 23:20), 4.2.0 (2023-05-29 02:00), 4.2.1 (2023-06-12 14:40)
Other packages that cited httptest R package
View httptest citation profile
Other R packages that httptest depends, imports, suggests or enhances
Complete documentation for httptest
Downloads during the last 30 days
Get rewarded with contribution points by helping add
Reviews / comments / questions /suggestions ↴↴↴

Today's Hot Picks in Authors and Packages

pkgdepends  
Package Dependency Resolution and Downloads
Find recursive dependencies of 'R' packages from various sources. Solve the dependencies to obtain ...
Download / Learn more Package Citations See dependency  
SCBiclust  
Identifies Mean, Variance, and Hierarchically Clustered Biclusters
Identifies a bicluster, a submatrix of the data such that the features and observations within the s ...
Download / Learn more Package Citations See dependency  
kgschart  
KGS Rank Graph Parser
Restore underlining numeric data from rating history graph of KGS (an online platform of the game o ...
Download / Learn more Package Citations See dependency  
deductive  
Data Correction and Imputation Using Deductive Methods
Attempt to repair inconsistencies and missing values in data records by using information from vali ...
Download / Learn more Package Citations See dependency  
RcppHNSW  
'Rcpp' Bindings for 'hnswlib', a Library for Approximate Nearest Neighbors
'Hnswlib' is a C++ library for Approximate Nearest Neighbors. This package provides a minimal R int ...
Download / Learn more Package Citations See dependency  
crossrun  
Joint Distribution of Number of Crossings and Longest Run
Joint distribution of number of crossings and the longest run in a series of independent Bernoulli ...
Download / Learn more Package Citations See dependency  

23,229

R Packages

199,929

Dependencies

62,984

Author Associations

23,230

Publication Badges

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