Skip to content

Commit

Permalink
Merge branch 'master' of github.com:jonkeane/dittodb
Browse files Browse the repository at this point in the history
  • Loading branch information
Pachamaltese committed Feb 14, 2020
2 parents c57bfb0 + e70c02f commit 19fae3f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
@@ -1,6 +1,6 @@
Package: dittodb
Title: A Test Environment for DB Requests
Version: 0.1.0
Version: 0.1.0
Authors@R: c(
person(given = "Jonathan",
family = "Keane",
Expand Down
1 change: 1 addition & 0 deletions inst/WORDLIST
@@ -1,5 +1,6 @@
Codecov
dbplyr's
dbtest
dittodb's
fs
httptest
Expand Down
2 changes: 1 addition & 1 deletion vignettes/getting-started.Rmd
Expand Up @@ -23,7 +23,7 @@ knitr::opts_chunk$set(

`dittodb` is designed to make it easy and fun to test functions that interact with a database. It works by looking for mock responses for each query you send while you run your tests and will seamlessly pretend that those mocks were provided by the database connection without needing a connection at all.

To get started, imagine that we are working on a package that queries a database that consists of the [nycflights13 data](nycflights13_description). We have the following function which takes a column to aggregate by and returns a dataframe with that column and the mean delay for groups based on the values in the column name given.
To get started, imagine that we are working on a package that queries a database that consists of the [nycflights13 data](nycflights.html). We have the following function which takes a column to aggregate by and returns a dataframe with that column and the mean delay for groups based on the values in the column name given.

```{r setup db, include = FALSE, eval = FALSE}
# setup the DB used in the rest of the vignette
Expand Down

0 comments on commit 19fae3f

Please sign in to comment.