dittodb: A Test Environment for Database Requests

Testing and documenting code that communicates with remote databases can be painful. Although the interaction with R is usually relatively simple (e.g. data(frames) passed to and from a database), because they rely on a separate service and the data there, testing them can be difficult to set up, unsustainable in a continuous integration environment, or impossible without replicating an entire production cluster. This package addresses that by allowing you to make recordings from your database interactions and then play them back while testing (or in other contexts) all without needing to spin up or have access to the database your code would typically connect to.

Package details

AuthorJonathan Keane [aut, cre] (<https://orcid.org/0000-0001-7087-9776>), Mauricio Vargas [aut] (<https://orcid.org/0000-0003-1017-7574>), Helen Miller [rev] (reviewed the package for rOpenSci, see https://github.com/ropensci/software-review/issues/366), Etienne Racine [rev] (reviewed the package for rOpenSci, see https://github.com/ropensci/software-review/issues/366)
MaintainerJonathan Keane <jkeane@gmail.com>
LicenseApache License (>= 2.0)
Version0.1.8
URL https://dittodb.jonkeane.com/ https://github.com/ropensci/dittodb
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("dittodb")

Try the dittodb package in your browser

Any scripts or data that you put into this service are public.

dittodb documentation built on June 22, 2024, 6:52 p.m.