Skip to content

Commit 89324e5

Browse files
author
ripley
committed
skip test of external tar on Windows
git-svn-id: https://svn.r-project.org/R/trunk@87610 00db46b3-68df-0310-9c12-caf00c1e9a41
1 parent 94e412e commit 89324e5

File tree

1 file changed

+5
-1
lines changed
  • src/library/utils/tests

1 file changed

+5
-1
lines changed

src/library/utils/tests/tar.R

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,11 @@ for(f in c("none", "gzip", "bzip2", "xz", "zstd"))
2929
print(head(dir("utils"), 5))
3030
}
3131

32-
## and external tar
32+
## and external tar : skip on Windows due to different handling of paths
33+
if(.Platform$OS.type == "windows") {
34+
unlink("utils", recursive = TRUE)
35+
quit("no")
36+
}
3337
TAR <- Sys.getenv("TAR", "tar")
3438
for(f in c("none", "gzip", "bzip2", "xz", "zstd"))
3539
{

0 commit comments

Comments
 (0)