Skip to content

Commit

Permalink
Remove the travelling vignette: it's failing (#162)
Browse files Browse the repository at this point in the history
* Remove the travelling vignette: it's failing and it's not really a good use of dittodb anyway

* 📰

* URL polishing

* CRAN release bits

* Bump version

* grammar
  • Loading branch information
jonkeane committed Jun 17, 2022
1 parent 94372d7 commit c180222
Show file tree
Hide file tree
Showing 14 changed files with 28 additions and 971 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: dittodb
Title: A Test Environment for Database Requests
Version: 0.1.3.9000
Version: 0.1.4
Authors@R: c(
person(given = "Jonathan",
family = "Keane",
Expand Down
4 changes: 3 additions & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# dittodb (development version)
# dittodb 0.1.4
* Allow support for mocking when transactions are on (full support for transactions with different mock directories is still planned for the future)
* Add support for quoting with Postgres

# dittodb 0.1.3
* Minor CRAN update that makes vignette execution conditional when `Suggests` packages are not available.
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
[![macOS](https://github.com/ropensci/dittodb/workflows/check-macOS/badge.svg)](https://github.com/ropensci/dittodb/actions?workflow=check-macOS)
[![Linux](https://github.com/ropensci/dittodb/workflows/check-linux/badge.svg)](https://github.com/ropensci/dittodb/actions?workflow=check-linux)
[![Windows](https://github.com/ropensci/dittodb/workflows/check-windows/badge.svg)](https://github.com/ropensci/dittodb/actions?workflow=check-windows)
[![Codecov test coverage](https://codecov.io/gh/ropensci/dittodb/branch/main/graph/badge.svg)](https://codecov.io/gh/ropensci/dittodb?branch=main)
[![Lifecycle: maturing](https://img.shields.io/badge/lifecycle-maturing-blue.svg)](https://www.tidyverse.org/lifecycle/#maturing)
[![Codecov test coverage](https://codecov.io/gh/ropensci/dittodb/branch/main/graph/badge.svg)](https://app.codecov.io/gh/ropensci/dittodb?branch=main)
[![Lifecycle: maturing](https://lifecycle.r-lib.org/articles/stages.html)
<!-- badges: end -->

{dittodb} is a package that makes testing against databases easy. When writing code that relies on interactions with databases, testing has been difficult without recreating test databases in your continuous integration (aka CI) environment, or resorting to using SQLite databases instead of the database engines you have in production. Both have their downsides: recreating database infrastructure is slow, error prone, and hard to iterate with. Using SQLite works well, right up until you use a feature (like [a full outer join](https://www.sqlite.org/omitted.html)) or has [quirks](https://www.sqlite.org/quirks.html) that might differ from your production database. {dittodb} solves this by recording database interactions, saving them as mocks, and then replaying them seamlessly during testing. This means that if you can get a query from your database, you can record the response and reliably reproduce that response in tests.
Expand Down
11 changes: 6 additions & 5 deletions cran-comments.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
This submission fixes an Error in the check process when `Suggests` packages are unavailable (i.e. RPostgres).
This submission allows support for mocking when transactions are on, adds support for quoting with Postgres, and corrects a vignette that failed to compile.

## Test environments
* local R installation, R 4.0.2
* ubuntu 18.04 (on GitHub actions), R 3.3-4.0
* macOS (on GitHub actions), R 3.6, 4.0, devel
* windows (on GitHub actions), R 4.0
* local R installation, R 4.1.3
* ubuntu 18.04 (on GitHub actions), R 3.5-4.2, devel
* macOS (on GitHub actions), R 4.1, 4.2
* windows (on GitHub actions), R 4.2

## R CMD check results

Expand All @@ -15,3 +15,4 @@ This submission fixes an Error in the check process when `Suggests` packages are
We checked 1 reverse dependency, comparing R CMD check results across CRAN and dev versions of this package.

* We saw 0 new problems
* We failed to check 0 packages
30 changes: 16 additions & 14 deletions revdep/README.md
Original file line number Diff line number Diff line change
@@ -1,22 +1,24 @@
# Platform

|field |value |
|:--------|:----------------------------|
|version |R version 4.0.2 (2020-06-22) |
|os |macOS Catalina 10.15.6 |
|system |x86_64, darwin17.0 |
|ui |RStudio |
|language |(EN) |
|collate |en_US.UTF-8 |
|ctype |en_US.UTF-8 |
|tz |America/Chicago |
|date |2020-10-07 |
|field |value |
|:--------|:----------------------------------------|
|version |R version 4.1.3 (2022-03-10) |
|os |macOS Monterey 12.3.1 |
|system |x86_64, darwin17.0 |
|ui |RStudio |
|language |(EN) |
|collate |en_US.UTF-8 |
|ctype |en_US.UTF-8 |
|tz |Europe/Madrid |
|date |2022-06-15 |
|rstudio |2022.02.3+492 Prairie Trillium (desktop) |
|pandoc |2.18 @ /usr/local/bin/ (via rmarkdown) |

# Dependencies

|package |old |new |Δ |
|:-------|:-----|:-----|:--|
|dittodb |0.1.1 |0.1.2 |* |
|package |old |new |Δ |
|:-------|:-----|:----------|:--|
|dittodb |0.1.3 |0.1.3.9000 |* |

# Revdeps

Loading

0 comments on commit c180222

Please sign in to comment.