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

Degrade gracefully if summary cannot be retrieved for one of the checked packages #929

Merged
merged 4 commits into from
Jan 20, 2016
Merged

Degrade gracefully if summary cannot be retrieved for one of the checked packages #929

merged 4 commits into from
Jan 20, 2016

Conversation

krlmlr
Copy link
Member

@krlmlr krlmlr commented Sep 16, 2015

  • example: if the DESCRIPTION file in one of the checked packages is missing

@@ -63,6 +65,14 @@ revdep_check_summary <- function(res) {
)
}

try_check_summary_package <- function(path) {
res <- try(check_summary_package(path), silent = TRUE)
Copy link
Member

Choose a reason for hiding this comment

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

Can you please use tryCatch() instead? I don't like the way try() works

@hadley hadley merged commit 50c5993 into r-lib:master Jan 20, 2016
@hadley
Copy link
Member

hadley commented Jan 20, 2016

Thanks!

@krlmlr krlmlr deleted the revdep-no-description branch January 21, 2016 07:24
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.

2 participants