Skip to content

Commit

Permalink
Add a skip_on_cran()
Browse files Browse the repository at this point in the history
  • Loading branch information
jennybc committed Jan 19, 2018
1 parent 52bcab7 commit facbccc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/testthat/test-use-course.R
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ test_that("conspicuous_place() returns a writeable directory", {
})

test_that("check_is_zip() errors if MIME type is not 'application/zip'", {
## download timed out on a CRAN submission, so let's not take a chance
skip_on_cran()
## curl::parse_headers_list() calls trimws()
## https://github.com/jeroen/curl/issues/138
skip_if(getRversion() < 3.2)
Expand Down

0 comments on commit facbccc

Please sign in to comment.