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

Use rlang to check if required package versions are installed #665

Merged
merged 3 commits into from Feb 13, 2023

Conversation

hadley
Copy link
Member

@hadley hadley commented Feb 13, 2023

Obviously, taking a dependency on rlang is not worth for just this case, but using rlang will allow me to simplify and clarify a bunch of other code in future PRs.

@hadley hadley requested review from aronatkins, cpsievert and toph-allen and removed request for cpsievert February 13, 2023 15:13
@@ -23,15 +23,16 @@
#' @family Deployment functions
#' @export
deployDoc <- function(doc, ...) {
check_installed(
Copy link
Contributor

Choose a reason for hiding this comment

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

This is a functional change, since it will prompt interactive users to install the packages rather than immediately stopping; should we announce it in NEWS.md?

Copy link
Member Author

Choose a reason for hiding this comment

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

Ooops, missed this. I'll add momentarily.

@hadley hadley merged commit aecbd89 into main Feb 13, 2023
@hadley hadley deleted the rlang-check-installed branch February 13, 2023 18:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants