Skip to content

glue_sql2 not a method in development version of dbplyr #1982

@edward-burn

Description

@edward-burn

I get the below error when using the development version of dbplyr.

I believe it is because glue_sql2 is no longer a method in the development version of dbplyr, breaking

glue_sql2 <- pkg_method("glue_sql2", "dbplyr")

library(dplyr, warn.conflicts = FALSE)
library(dbplyr, warn.conflicts = FALSE)
packageVersion("dbplyr")
#> [1] '2.5.1.9000'
library(duckdb, , warn.conflicts = FALSE)
#> Loading required package: DBI
packageVersion("duckdb")
#> [1] '1.4.3.9002'

lazy_frame(x = c(1, 2), con = simulate_duckdb()) |>
  summarise(
    n_unique = n_distinct(x)
  ) |>
  show_query()
#> Error in get(x, envir = ns, inherits = FALSE): object 'glue_sql2' not found

Created on 2026-01-04 with reprex v2.1.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions