From 84ea5c15c135fe4947b5d741477d411bf0106845 Mon Sep 17 00:00:00 2001 From: hillarymarler Date: Thu, 7 Nov 2024 15:28:39 -0500 Subject: [PATCH] Update test-URLChecker.R --- tests/testthat/test-URLChecker.R | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tests/testthat/test-URLChecker.R b/tests/testthat/test-URLChecker.R index 75884f27..3a8e4771 100644 --- a/tests/testthat/test-URLChecker.R +++ b/tests/testthat/test-URLChecker.R @@ -36,7 +36,11 @@ test_that("URLs are not broken", { unique() %>% # problematic URL I can't get a response from using multiple methods (itec) and CRAN because its response is inconsistent, likely due to redirecting to mirrors (HRM 10/28/2024) setdiff(c( - "https://www.itecmembers.org/attains/" + # url works (HRM 11/7/24), but does not provide a recognizable response code + "https://www.itecmembers.org/attains/", + # if included will get 500 response because this is an incomplete URL + # additional query information is pasted in as part of geospatial functions + "https://attains.epa.gov/attains-public/api/assessmentUnits?assessmentUnitIdentifier=" )) # retrieve http response headers from url list