Skip to content
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

Merged
merged 2 commits into from
Feb 14, 2024
Merged

Tweak dependency handling #181

merged 2 commits into from
Feb 14, 2024

Conversation

hadley
Copy link
Member

@hadley hadley commented Feb 13, 2024

* Bump required version of DBI. Fixes #178.
* Message if dbplyr is old. Fixes #179 (as much as possible)
Copy link

@lionel- lionel- left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LG!

Comment on lines +102 to +104
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)
Copy link

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?

@hadley hadley merged commit 4671ae5 into main Feb 14, 2024
13 checks passed
@hadley hadley deleted the dep-versions branch February 14, 2024 13:21
Comment on lines 9 to +14
#' @import rlang
NULL

## usethis namespace: start
#' @importFrom utils packageVersion
## usethis namespace: end

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

Copy link
Member Author

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?

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants