r-lib / urlchecker

Run CRAN URL checks from older versions of R
https://urlchecker.r-lib.org/
GNU General Public License v3.0
45 stars 5 forks source link

Add an argument to `url_check` to yield non-zero exit status for bad URLs #42

Open cicdguy opened 8 months ago

cicdguy commented 8 months ago

As a follow-up from https://github.com/r-lib/urlchecker/issues/39, it would be imperative to add an argument to url_check that would yield a non-zero exit code if one or more bad URLs are found.

Use case: In a CI/CD workflow, we would want to simply run urlchecker::url_check() and let the workflow fail to alert the user that one or more URLs are non-conformant.