Skip to content

Commit

Permalink
Fix urlchecker (#238)
Browse files Browse the repository at this point in the history
  • Loading branch information
walkowif authored Jun 4, 2024
1 parent 6595b8d commit 88a6acc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/links.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,8 @@ jobs:

- name: Check URLs with urlchecker 🔬
run: |
bad_urls <- nrow(print(urlchecker::url_check(".")))
# For unexplained reasons, parallel = FALSE is required to prevent some false positives.
bad_urls <- nrow(print(urlchecker::url_check(".", parallel = FALSE)))
if (bad_urls > 0) {
stop("Looks like a total of ", bad_urls, " URL(s) were found! Please correct them.")
}
Expand Down

0 comments on commit 88a6acc

Please sign in to comment.