Skip to content

Commit 74ce87c

Browse files
committed
Switch from RPostgreSQL to RPostgres
1 parent 85bee82 commit 74ce87c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

DESCRIPTION

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Suggests:
3030
testthat (>= 3.0.0),
3131
RSQLite,
3232
duckdb,
33-
RPostgreSQL,
33+
RPostgres,
3434
withr,
3535
knitr,
3636
rmarkdown,

R/PooledConnectionHandler.R

+2-2
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,11 @@ requiredPackage <- function(packageName) {
3333
)
3434
},
3535
"postgresql" = function(cd) {
36-
requiredPackage("RPostgreSQL")
36+
requiredPackage("RPostgres")
3737
host <- strsplit(cd$server(), "/")[[1]][1]
3838
dbname <- strsplit(cd$server(), "/")[[1]][2]
3939
list(
40-
drv = RPostgreSQL::PostgreSQL(),
40+
drv = RPostgres::PostgreSQL(),
4141
dbname = dbname,
4242
host = host,
4343
user = cd$user(),

0 commit comments

Comments
 (0)