CRAN/E | dittodb

dittodb

A Test Environment for Database Requests

Installation

About

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.

dittodb.jonkeane.com/
github.com/ropensci/dittodb
Bug report File report

Key Metrics

Version 0.1.8
R ≥ 3.3.0
Published 2024-04-09 11 days ago
Needs compilation? no
License Apache License (≥ 2.0)
CRAN checks dittodb results
Language en-US

Downloads

Yesterday 50
Last 7 days 111 -41%
Last 30 days 539 +3%
Last 90 days 1.724 +18%
Last 365 days 6.476 +7%

Maintainer

Maintainer

Jonathan Keane

jkeane@gmail.com

Authors

Jonathan Keane

aut / cre

Mauricio Vargas

aut

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)

Material

README
NEWS
Reference manual
Package source

In Views

Databases

Vignettes

Developing 'dittodb'
Getting Started with 'dittodb'
nycflights13 data

macOS

r-release

arm64

r-oldrel

arm64

r-release

x86_64

Windows

r-devel

x86_64

r-release

x86_64

r-oldrel

x86_64

Old Sources

dittodb archive

Depends

R ≥ 3.3.0
DBI

Imports

digest
glue
methods
rlang
utils
lifecycle

Suggests

bit64
callr
covr
dplyr
dbplyr
knitr
nycflights13
odbc
RMariaDB
RPostgres
RPostgreSQL
RSQLite
spelling
testthat
withr
rmarkdown

Reverse Suggests

pointblank