tidyverse / dbplyr

Database (DBI) backend for dplyr
https://dbplyr.tidyverse.org
Other
474 stars 173 forks source link

incorrect documentation of `con` argument to `translate_sql()` #1517

Open EmilHvitfeldt opened 3 months ago

EmilHvitfeldt commented 3 months ago

https://github.com/tidyverse/dbplyr/blob/860bd6adf988a2b039485030d234eba05ee46a3c/R/translate-sql.R#L15-L16

The argument con is nut option

library(dbplyr)

translate_sql(x + 1)
#> Error in translate_sql(x + 1): argument "con" is missing, with no default

Created on 2024-06-17 with reprex v2.1.0