Skip to content

Commit

Permalink
Merge pull request #45 from OHDSI/develop
Browse files Browse the repository at this point in the history
Release 0.5.3
  • Loading branch information
azimov authored Nov 9, 2023
2 parents 7320896 + e8dd8ad commit d457b19
Show file tree
Hide file tree
Showing 38 changed files with 100 additions and 56 deletions.
3 changes: 2 additions & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: ResultModelManager
Title: Result Model Manager (RMM) for OHDSI packages
Version: 0.5.2
Version: 0.5.3
Authors@R:
person("Jamie", "Gilbert", , "[email protected]", role = c("aut", "cre"))
Description: Database data model management utilities for OHDSI packages.
Expand All @@ -23,6 +23,7 @@ Imports:
readr,
zip,
dplyr,
dbplyr,
rlang,
lubridate,
fastmap
Expand Down
12 changes: 12 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
# ResultModelManager 0.5.3

Changes:

1. Tests for PooledConnection classes

Bug Fixes:

1. Use of RPostgres updated.

2. Use of dbplyr::in_schema for using dplyr::tbl in ConnectionHandlers

# ResultModelManager 0.5.2

Changes:
Expand Down
2 changes: 1 addition & 1 deletion R/ConnectionHandler.R
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ ConnectionHandler <- R6::R6Class(
checkmate::assertString(table)
checkmate::assertString(databaseSchema, null.ok = TRUE)
if (!is.null(databaseSchema)) {
table <- paste0(databaseSchema, ".", table)
table <- dbplyr::in_schema(databaseSchema, table)
}

dplyr::tbl(self$getConnection(), table)
Expand Down
14 changes: 7 additions & 7 deletions R/PooledConnectionHandler.R
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ requiredPackage <- function(packageName) {
host <- strsplit(cd$server(), "/")[[1]][1]
dbname <- strsplit(cd$server(), "/")[[1]][2]
list(
drv = RPostgres::PostgreSQL(),
drv = RPostgres::Postgres(),
dbname = dbname,
host = host,
user = cd$user(),
Expand All @@ -57,12 +57,12 @@ requiredPackage <- function(packageName) {
ParallelLogger::logInfo("Reverting to use of DatabaseConnector jdbc driver. May fail on some systems")
list(
drv = DatabaseConnector::DatabaseConnectorDriver(),
dbms = cd$connectionDetails$dbms,
server = cd$connectionDetails$server(),
port = cd$connectionDetails$port(),
user = cd$connectionDetails$user(),
password = cd$connectionDetails$password(),
connectionString = cd$connectionDetails$connectionString()
dbms = cd$dbms,
server = cd$server(),
port = cd$port(),
user = cd$user(),
password = cd$password(),
connectionString = cd$connectionString()
)
}
)
Expand Down
2 changes: 1 addition & 1 deletion docs/404.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/LICENSE-text.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions docs/articles/CreatingMigrations.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions docs/articles/ExampleProject.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions docs/articles/PackageDesign.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions docs/articles/UploadFunctionality.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions docs/articles/UsingAnExportManager.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions docs/articles/UsingConnectionHandlers.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions docs/articles/UsingQueryNamespaces.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/articles/index.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions docs/authors.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/index.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 9 additions & 1 deletion docs/news/index.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/pkgdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ articles:
UsingAnExportManager: UsingAnExportManager.html
UsingConnectionHandlers: UsingConnectionHandlers.html
UsingQueryNamespaces: UsingQueryNamespaces.html
last_built: 2023-11-08T13:33Z
last_built: 2023-11-09T14:48Z

2 changes: 1 addition & 1 deletion docs/pull_request_template.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/ConnectionHandler.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/DataMigrationManager.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/PooledConnectionHandler.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/QueryNamespace.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/ResultExportManager.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/ResultModelManager-package.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/createQueryNamespace.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/createResultExportManager.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/deleteAllRowsForDatabaseId.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit d457b19

Please sign in to comment.