Skip to content

Commit c3f7cf6

Browse files
committed
update conncection info
1 parent d520cd4 commit c3f7cf6

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

R/fread.R

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ reopen_connection = function(con, ...) {
44
}
55

66
reopen_connection.default = function(con, ...) {
7-
con_class = class(con)[1L]
7+
con_class = class1(con)
88
stopf("Don't know how to reopen connection type '%s'. Need a connection opened in binary mode to continue.", con_class)
99
}
1010

@@ -132,8 +132,6 @@ yaml=FALSE, tmpdir=tempdir(), tz="UTC")
132132
}
133133
spill_started.at = proc.time()
134134
con_summary = summary(input)
135-
con_desc = con_summary$description
136-
con_class = class1(input)
137135
con_open = isOpen(input)
138136

139137
needs_reopen = FALSE

0 commit comments

Comments
 (0)