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 22 Dec. 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

elect  
Estimation of Life Expectancies Using Multi-State Models
Functions to compute state-specific and marginal life expectancies. The computation is based on a fi ...
Download / Learn more Package Citations See dependency  
LOGANTree  
Tree-Based Models for the Analysis of Log Files from Computer-Based Assessments
Enables researchers to model log-file data from computer-based assessments using machine-learning te ...
Download / Learn more Package Citations See dependency  
Maintainer: Qi Qin (view profile)
wordspace  
Distributional Semantic Models in R
An interactive laboratory for research on distributional semantic models ('DSM', see < ...
Download / Learn more Package Citations See dependency  
composits  
Compositional, Multivariate and Univariate Time Series Outlier Ensemble
A compositional multivariate and univariate time series outlier ensemble.It uses the four R packages ...
Download / Learn more Package Citations See dependency  
dmlalg  
Double Machine Learning Algorithms
Implementation of double machine learning (DML) algorithms in R, based on Emmenegger and Buehlmann ...
Download / Learn more Package Citations See dependency  
tropAlgebra  
Tropical Algebraic Functions
It includes functions like tropical addition, tropical multiplication for vectors and matrices. In t ...
Download / Learn more Package Citations See dependency  

23,394

R Packages

201,798

Dependencies

63,416

Author Associations

23,395

Publication Badges

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