-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reexport all of DBI #384
Comments
Good point, I always only load DBI and not duckdb. How would i go about re-exporting DBI? Can you send a PR perhaps? |
I really don't think re-exporting the entire namespace is a good idea, this is what Depends is for... |
@krlmlr
So adding it into both Depends and Imports. |
I'm not sure you can add to both Depends and Imports. Reexporting feels slightly neater than "Depends", and allows downstream packages to import only {duckdb} instead of both {duckdb} and {DBI}. On the flip side, I see that "Depends" will make all methods (even new ones) available when users use |
Ideally we can use
dbGetQuery()
directly after loading duckdb. I wonder why the DBItest tests don't catch this.Created on 2020-01-04 by the reprex package (v0.3.0)
The text was updated successfully, but these errors were encountered: