-
Notifications
You must be signed in to change notification settings - Fork 31
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 should fail gracefully when it times out & tell the user to increase timeout
#355
Comments
I'd like to escalate this issue, as after looking through the code base some parts of this functionality look buggy and/or contradictory to what the documentation says. Let's start with the timeout, in general, this is what the documentation says: Lines 39 to 40 in a52c7cb
it clearly says that timeout is applied to the R CMD check only, however currently by how However, it is not the only issue with the timeout I've identified. Let's take a look at the event loop fragment and Lines 60 to 64 in a52c7cb
Lines 83 to 93 in a52c7cb
We see that Lines 115 to 124 in a52c7cb
as value The bug is easy to fix. The only thing required is to make That being said I fully support the previous suggestion to not mark timed-out packages as DONE. It creates a false positive assumption that everything was all right and the only indicator that potentially none of the packages run is README.md or raw sql results. I'm happy to help with MR to address this issue if you agree with my findings. |
When doing reverse dependency checks of my gratia package,
revdep_check()
times out as soon as the installation of all packages needed to check the dependencies and gratia is completed. This is what I see:There's nothing there to indicate it timed out and actually didn't do any checks.
I would be nice for the user if
revdep_check()
mentioned it timed out and didn't proceed as if it had actually done something.Also,
revdep_check()
isn't cleaning up after itself when it times out, as evidenced by the warning message.This is with
The text was updated successfully, but these errors were encountered: