-
Notifications
You must be signed in to change notification settings - Fork 32
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
Tweak dependency handling #181
Conversation
hadley
commented
Feb 13, 2024
- Bump required version of DBI. Fixes No function correspond to methods exports for dbAppendTableArrow failing Docker install #178.
- Message if dbplyr is old. Fixes Error when using compute() to create a new table in a schema. Same code using connections created with dbConnect() works. #179 (as much as possible)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LG!
cnd_startup <- class(catch_cnd(packageStartupMessage("hi"))) | ||
cnd_startup <- c(cnd_startup[1:2], "rlang_message", cnd_startup[-(1:2)]) | ||
expect_equal(cnd_dplyr, cnd_startup) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems a bit brittle. Maybe do skip_on_cran()
before?
#' @import rlang | ||
NULL | ||
|
||
## usethis namespace: start | ||
#' @importFrom utils packageVersion | ||
## usethis namespace: end |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Might be worth cleaning up the imports in a follow up commit, just for future you
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You mean the other imports?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yea just moving them to the usethis managed section is all i meant