We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cf9f094 commit e45fdd3Copy full SHA for e45fdd3
pkg-r/DESCRIPTION
@@ -23,7 +23,6 @@ Imports:
23
htmltools,
24
lifecycle,
25
promises,
26
- purrr,
27
R6,
28
rlang (>= 1.1.0),
29
shiny,
pkg-r/R/data_source.R
@@ -304,7 +304,7 @@ DBISource <- R6::R6Class(
304
305
# Default to 'POSIX' if dbms name not found
306
conn_info <- DBI::dbGetInfo(private$conn)
307
- dbms_name <- purrr::pluck(conn_info, "dbms.name", .default = "POSIX")
+ dbms_name <- if (is.null(conn_info[["dbms.name"]])) "POSIX" else conn_info[["dbms.name"]]
308
309
# Remove ' SQL', if exists (SQL is already in the prompt)
310
gsub(" SQL", "", dbms_name)
0 commit comments