Skip to content

Commit

Permalink
prepare for release
Browse files Browse the repository at this point in the history
  • Loading branch information
rfhb committed Mar 4, 2024
1 parent 688682b commit 1c63964
Show file tree
Hide file tree
Showing 6 changed files with 26 additions and 21 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Description: Simplified document database access and manipulation,
providing a common API across supported 'NoSQL' databases
'Elasticsearch', 'CouchDB', 'MongoDB' as well as
'SQLite/JSON1', 'PostgreSQL', and 'DuckDB'.
Version: 0.10.3
Version: 0.10.4
Authors@R: c(
person(given = "Ralf",
family = "Herold",
Expand Down
5 changes: 5 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# nodbi 0.10.4

## Bug fix
* re-adding field formatting for `docdb_query(src, key, query, listfields = TRUE, limit = <integer>)`

# nodbi 0.10.3

## Bug fix
Expand Down
15 changes: 8 additions & 7 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -333,30 +333,31 @@ result[rev(order(result$elapsed)), ]
Every database backend is subjected to identical tests, see [core-nodbi.R](https://github.com/ropensci/nodbi/blob/master/tests/testthat/core-nodbi.R).

```{r testing_and_coverage}
# 2024-03-03
# 2024-03-04
tmp <- testthat::test_local()
# [...]
#
# ══ Results ═══════════════════════════════════════════════════════════════════════════════════════════════
# Duration: 258.9 s
# ══ Results ═════════════════════════════════════════════════════════════════════════════════════════════
# Duration: 344.5 s
#
# ── Skipped tests (7) ─────────────────────────────────────────────────────────────────────────────────────
# ── Skipped tests (7) ───────────────────────────────────────────────────────────────────────────────────
# • Testing for auto disconnect and shutdown not relevant (3): test-couchdb.R:26:3, test-elastic.R:21:3,
# test-mongodb.R:24:3
# • Testing for parallel writes not possible or implemented (4): test-couchdb.R:26:3, test-duckdb.R:22:3,
# test-elastic.R:21:3, test-mongodb.R:24:3
#
# [ FAIL 0 | WARN 0 | SKIP 7 | PASS 1018 ]
# 2024-03-03
# 2024-03-04
covr::package_coverage(path = ".", type = "tests")
# nodbi Coverage: 95.57%
# nodbi Coverage: 95.58%
# R/src_duckdb.R: 76.92%
# R/src_mongo.R: 91.30%
# R/update.R: 92.95%
# R/zzz.R: 94.77%
# R/src_postgres.R: 95.65%
# R/create.R: 96.09%
# R/query.R: 96.43%
# R/query.R: 96.44%
# R/delete.R: 97.96%
# R/get.R: 98.77%
# R/exists.R: 100.00%
Expand Down
15 changes: 8 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -365,30 +365,31 @@ Every database backend is subjected to identical tests, see
[core-nodbi.R](https://github.com/ropensci/nodbi/blob/master/tests/testthat/core-nodbi.R).

``` r
# 2024-03-03
# 2024-03-04
tmp <- testthat::test_local()
# [...]
#
# ══ Results ═══════════════════════════════════════════════════════════════════════════════════════════════
# Duration: 258.9 s
# ══ Results ═════════════════════════════════════════════════════════════════════════════════════════════
# Duration: 344.5 s
#
# ── Skipped tests (7) ─────────────────────────────────────────────────────────────────────────────────────
# ── Skipped tests (7) ───────────────────────────────────────────────────────────────────────────────────
# • Testing for auto disconnect and shutdown not relevant (3): test-couchdb.R:26:3, test-elastic.R:21:3,
# test-mongodb.R:24:3
# • Testing for parallel writes not possible or implemented (4): test-couchdb.R:26:3, test-duckdb.R:22:3,
# test-elastic.R:21:3, test-mongodb.R:24:3
#
# [ FAIL 0 | WARN 0 | SKIP 7 | PASS 1018 ]

# 2024-03-03
# 2024-03-04
covr::package_coverage(path = ".", type = "tests")
# nodbi Coverage: 95.57%
# nodbi Coverage: 95.58%
# R/src_duckdb.R: 76.92%
# R/src_mongo.R: 91.30%
# R/update.R: 92.95%
# R/zzz.R: 94.77%
# R/src_postgres.R: 95.65%
# R/create.R: 96.09%
# R/query.R: 96.43%
# R/query.R: 96.44%
# R/delete.R: 97.96%
# R/get.R: 98.77%
# R/exists.R: 100.00%
Expand Down
4 changes: 2 additions & 2 deletions codemeta.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"codeRepository": "https://github.com/ropensci/nodbi",
"issueTracker": "https://github.com/ropensci/nodbi/issues",
"license": "https://spdx.org/licenses/MIT",
"version": "0.10.3",
"version": "0.10.4",
"programmingLanguage": {
"@type": "ComputerLanguage",
"name": "R",
Expand Down Expand Up @@ -315,7 +315,7 @@
"applicationCategory": "Databases",
"isPartOf": "https://ropensci.org",
"keywords": ["database", "MongoDB", "Elasticsearch", "CouchDB", "SQLite", "PostgreSQL", "DuckDB", "NoSQL", "JSON", "documents", "rstats", "nosql", "couchdb", "mongodb", "elasticsearch", "r", "r-package", "sqlite", "postgresql"],
"fileSize": "659.763KB",
"fileSize": "659.911KB",
"releaseNotes": "https://github.com/ropensci/nodbi/blob/master/NEWS.md",
"readme": "https://github.com/ropensci/nodbi/blob/master/README.md",
"contIntegration": ["https://github.com/ropensci/nodbi/actions?query=workflow%3AR-CMD-check", "https://app.codecov.io/gh/rfhb/nodbi"],
Expand Down
6 changes: 2 additions & 4 deletions cran-comments.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@

* macOS builder: r-release-macosx-arm64|4.3.0|macosx|macOS 13.3.1 (22E261)|Mac mini|Apple M1||en_US.UTF-8|macOS 11.3|clang-1403.0.22.14.1|GNU Fortran (GCC) 12.2.0 (ok)

* Win-builder: R version 4.3.3 (2024-02-29 ucrt) using platform: x86_64-w64-mingw32 (64-bit); R version 4.2.3 (2023-03-15 ucrt) using platform: x86_64-w64-mingw32 (64-bit); R Under development (unstable) (2024-03-02 r86034 ucrt) using platform: x86_64-w64-mingw32 (ok)

* rhub builder: Windows Server 2022, R-devel, 64 bit; Ubuntu Linux 20.04.1 LTS, R-release, GCC; Fedora Linux, R-devel, clang, gfortran (ok)
* Win-builder: R Under development (unstable) (2024-03-03 r86036 ucrt) using platform: x86_64-w64-mingw32; R version 4.2.3 (2023-03-15 ucrt) using platform: x86_64-w64-mingw32 (64-bit); R version 4.3.3 (2024-02-29 ucrt) using platform: x86_64-w64-mingw32 (64-bit) (ok)


## R CMD check results
Expand All @@ -16,7 +14,7 @@

## Submission reason

* fixes to `limit` in `docdb_query(src, key, query, listfields = TRUE, limit = <integer>)`
* re-adding field formatting for `docdb_query(src, key, query, listfields = TRUE, limit = <integer>)`


## revdepcheck results
Expand Down

0 comments on commit 1c63964

Please sign in to comment.