Skip to content

Commit

Permalink
FIX: skip test under Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
dfsp-spirit committed Feb 2, 2024
1 parent 38feedb commit 7c9e42e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/testthat/test-filecache.R
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,7 @@ test_that("Existence of local file can be checked without MD5", {

test_that("Existence of local file can be checked with MD5", {
testthat::skip_on_cran(); # Cannot download test data on CRAN.
testthat::skip(message="Does not work under Windows, skip for now.");
tf1 = system.file("extdata", "file1.txt", package = "pkgfilecache", mustWork = TRUE);
tf2 = system.file("extdata", "file2.txt", package = "pkgfilecache", mustWork = TRUE);
testfiles = c(tf1, tf2);
Expand Down

0 comments on commit 7c9e42e

Please sign in to comment.