-
Notifications
You must be signed in to change notification settings - Fork 761
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
revdep_check verifies integrity of already downloaded package files #930
Conversation
Can you please merge/rebase? |
Rebased. |
} | ||
|
||
is_source_pkg <- function(path, subdir = NULL) { | ||
res <- try(source_pkg_info(path = path, subdir = subdir), silent = TRUE) |
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.
Could you eliminate use of try()
here please?
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.
Think you missed this comment
Rebased, now using tryCatch() instead of try(). |
tryCatch({ | ||
source_pkg_info(path = path, subdir = subdir) | ||
TRUE | ||
}, error = function(e) return(FALSE)) |
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.
Don't need explicit return here, but it's not a blocker.
revdep_check verifies integrity of already downloaded package files
Thanks! |
to avoid surprises