From 88a6accd2315f28a371f0db3fb51efc25ca81268 Mon Sep 17 00:00:00 2001 From: walkowif <59475134+walkowif@users.noreply.github.com> Date: Tue, 4 Jun 2024 17:44:54 +0200 Subject: [PATCH] Fix urlchecker (#238) --- .github/workflows/links.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/links.yaml b/.github/workflows/links.yaml index 738d25e8..ffac4e32 100644 --- a/.github/workflows/links.yaml +++ b/.github/workflows/links.yaml @@ -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.") }