Skip to content

Commit e9d763c

Browse files
wrng instead of error in test 2
1 parent 80d52a1 commit e9d763c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

inst/tests/tests.Rraw

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21202,6 +21202,6 @@ if (test_R.utils) {
2120221202
conn <- file(tmp, 'wb')
2120321203
writeBin(as.raw(c(31, 139)), conn) # Gzip header starts with magic numbers: 0x1F 0x8B (decimal 31, 139) - these identify the file as gzip
2120421204
close(conn)
21205-
test(2320.2, fread(tmp), error="R.utils::decompressFile failed to decompress") # Compressed file decompression error handling
21205+
test(2320.2, fread(tmp), warning="R.utils::decompressFile") # Compressed file decompression error handling - catches warning first
2120621206
unlink(tmp)
2120721207
}

0 commit comments

Comments
 (0)