We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
No description provided.
The text was updated successfully, but these errors were encountered:
Would this involve adding a non-zero exit code for URLs that are non-conformant?
Sorry, something went wrong.
No, but you can do that already, like this:
❯ R -q -e 'if (nr <- nrow(print(urlchecker::url_check()))) stop(nr, " bad URL(s)")' > if (nr <- nrow(print(urlchecker::url_check()))) stop(nr, " bad URL(s)") ✖ Error: DESCRIPTION:14:65 404: Not Found URL: https://github.com/r-lib/ps#readme, https://ps.r-lib.org/, https://httpbin.org/status/404 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: 1 bad URL(s) Execution halted
❯ echo $? 1
If this is what you meant.
Yeah that's exactly what I was referring to.
Was hoping this would be sort of built-in and controlled via a parameter to url_check, but this works too.
Thanks!
We can add an argument to fail I guess, can you please open an issue?
url_check
No branches or pull requests
No description provided.
The text was updated successfully, but these errors were encountered: