Skip to content

Commit

Permalink
skip test of external tar on Windows
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.r-project.org/R/trunk@87610 00db46b3-68df-0310-9c12-caf00c1e9a41
  • Loading branch information
ripley committed Jan 21, 2025
1 parent 94e412e commit 89324e5
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/library/utils/tests/tar.R
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,11 @@ for(f in c("none", "gzip", "bzip2", "xz", "zstd"))
print(head(dir("utils"), 5))
}

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

0 comments on commit 89324e5

Please sign in to comment.