implyr icon indicating copy to clipboard operation
implyr copied to clipboard

dbplyr 2.5.0 error

Open whipson opened this issue 10 months ago • 1 comments

After upgrading to dbplyr 2.5.0, I'm encountering a new error with src_impala:

With dbplyr 2.5.0:

implyr::src_impala(
  drv,
  host = host,
  uid = user,
  pwd = password
)

 > Error: Failed to establish database connection: Error in lifecycle::deprecate_stop(when = "1.4.0", what = "src_sql()", : unused argument (always = TRUE)

With dbplyr 2.4.0 I'm able to connect without error.

Seems like maybe the true error is being hidden behind a misformulated call to lifecycle::deprecate_stop?

whipson avatar Apr 15 '24 14:04 whipson

src_sql has been deprecated in dbplyr:

#' Deprecated: please use directly use a `DBIConnection` object instead.

matmo avatar Jun 21 '24 08:06 matmo