From acf0ead3da7df04becb655103967705de67bc771 Mon Sep 17 00:00:00 2001 From: Franciszek Walkowiak Date: Tue, 4 Jun 2024 17:18:57 +0200 Subject: [PATCH 1/2] Update --- .github/workflows/links.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/links.yaml b/.github/workflows/links.yaml index 738d25e8..c18b5fc6 100644 --- a/.github/workflows/links.yaml +++ b/.github/workflows/links.yaml @@ -137,7 +137,7 @@ jobs: - name: Check URLs with urlchecker 🔬 run: | - bad_urls <- nrow(print(urlchecker::url_check("."))) + 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.") } From aa22305eb586ffef90badc99f4a32292f7dabd49 Mon Sep 17 00:00:00 2001 From: Franciszek Walkowiak Date: Tue, 4 Jun 2024 17:25:46 +0200 Subject: [PATCH 2/2] Update --- .github/workflows/links.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/links.yaml b/.github/workflows/links.yaml index c18b5fc6..ffac4e32 100644 --- a/.github/workflows/links.yaml +++ b/.github/workflows/links.yaml @@ -137,6 +137,7 @@ jobs: - name: Check URLs with urlchecker 🔬 run: | + # 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.")