Skip to content

Commit

Permalink
update to https for soil data url
Browse files Browse the repository at this point in the history
  • Loading branch information
bocinsky committed Dec 10, 2024
1 parent 25f4091 commit 25b3b2e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion codemeta.json
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@
},
"SystemRequirements": "GDAL (>= 3.1.0)"
},
"fileSize": "1512.069KB",
"fileSize": "1512.071KB",
"releaseNotes": "https://github.com/ropensci/FedData/blob/master/NEWS.md",
"readme": "https://github.com/ropensci/FedData/blob/main/README.md",
"contIntegration": ["https://github.com/ropensci/FedData/actions/workflows/check-standard.yaml", "https://app.codecov.io/gh/ropensci/FedData?branch=master"],
Expand Down
4 changes: 2 additions & 2 deletions tests/testthat/test.SSURGO.R
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ context("NRCS soils database (SSURGO) tests")
test_that("The SSURGO inventory dataset is available at the correct URL", {
skip_on_cran()

url <- "http://websoilsurvey.sc.egov.usda.gov/DataAvailability/SoilDataAvailabilityShapefile.zip"
url <- "https://websoilsurvey.sc.egov.usda.gov/DataAvailability/SoilDataAvailabilityShapefile.zip"
expect_false(suppressWarnings(httr::http_error(url)))

url <- "http://websoilsurvey.sc.egov.usda.gov/DataAvailability/blah.zip"
url <- "https://websoilsurvey.sc.egov.usda.gov/DataAvailability/blah.zip"
expect_true(suppressWarnings(httr::http_error(url)))
})

Expand Down

0 comments on commit 25b3b2e

Please sign in to comment.