Skip to content

Commit

Permalink
Update test-URLChecker.R
Browse files Browse the repository at this point in the history
  • Loading branch information
hillarymarler committed Nov 7, 2024
1 parent c3feab6 commit 84ea5c1
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tests/testthat/test-URLChecker.R
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 84ea5c1

Please sign in to comment.