Skip to content

Commit

Permalink
skip ftp test on mac os
Browse files Browse the repository at this point in the history
  • Loading branch information
raymondben committed Aug 18, 2024
1 parent 5524d05 commit c7a6cff
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/testthat/test_topographic_sources.R
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@ dlcheck <- function(file_url, ...) {

test_that("source nsidc0082 still works under ftp (may be moved to https)",{
skip_on_cran()
skip_on_travis() ## this randomly fails for no good reason on travis and appveyor, so just run locally
skip_on_appveyor()
skip_on_os("mac") ## this fails with an unhelpful permissions error on github actions/mac
fnm <- dlcheck("ftp://sidads.colorado.edu/pub/DATASETS/nsidc0082_radarsat_dem_v02/200M/BINARY/ramp200dem_osu_v2.hdr", accept_download = "hdr$")
expect_true(file.exists(fnm))
fi <- file.info(fnm)
Expand Down

0 comments on commit c7a6cff

Please sign in to comment.