httptest2 - Test Helpers for 'httr2'
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.
Last updated
httpmocktesting
10.13 score 36 stars 1 dependents 165 scripts 6.9k downloadshttpcache - Query Cache for HTTP Clients
In order to improve performance for HTTP API clients, 'httpcache' provides simple tools for caching and invalidating cache. It includes the HTTP verb functions GET, PUT, PATCH, POST, and DELETE, which are drop-in replacements for those in the 'httr' package. These functions are cache-aware and provide default settings for cache invalidation suitable for RESTful APIs; the package also enables custom cache-management strategies. Finally, 'httpcache' includes a basic logging framework to facilitate the measurement of HTTP request time and cache performance.
Last updated
cachinghttp-clientlogging
6.14 score 12 stars 6 dependents 12 scripts 1.1k downloadsskeletor - An R Package Skeleton Generator
A tool for bootstrapping new packages with useful defaults, including a test suite outline that passes checks and helpers for running tests, checking test coverage, building vignettes, and more. Package skeletons it creates are set up for pushing your package to 'GitHub' and using other hosted services for building and test automation.
Last updated
codecovskeleton-generatortestingtravis-ci
4.02 score 21 stars 2 scripts 672 downloadspivotaltrackR - A Client for the 'Pivotal Tracker' API
'Pivotal Tracker' <https://www.pivotaltracker.com> is a project management software-as-a-service that provides a REST API. This package provides an R interface to that API, allowing you to query it and work with its responses.
Last updated
3.70 score 6 scripts 210 downloadsdistro - Linux Distribution Properties
In order to provide unified access to Linux distribution details in R, this package wraps the various files and commands that may exist on a system. It is similar in spirit to the 'lsb_release' command and the 'Python' package of the same name.
Last updated
3.66 score 1 stars 5 scripts 9.1k downloads