Skip to content

Commit 6a15f86

Browse files
authored
Skip test 1623 if '~' not defined (#6577)
* skip test 1623 if no '~' (fix #6576) * document change
1 parent 6f85f86 commit 6a15f86

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

inst/tests/tests.Rraw

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8912,8 +8912,8 @@ ans2[ , (date_cols) := lapply(.SD, as.IDate), .SDcols = date_cols]
89128912
test(1622.1, ans1, ans2)
89138913
test(1622.2, ans1, fread(testDir("issue_1573_fill.txt"), fill=TRUE, sep=" ", na.strings=""))
89148914

8915-
# fix for #989
8916-
test(1623, fread("~"), error="File '~' is a directory")
8915+
# fix for #989; possibly skip for #6576
8916+
if (dir.exists("~")) test(1623, fread("~"), error="File '~' is a directory")
89178917

89188918
# testing print.rownames option, #1097 (part of #1523)
89198919
options(datatable.print.rownames = FALSE)

0 commit comments

Comments
 (0)