Skip to content

Commit f15581d

Browse files
nocov for apparently spurious miss
1 parent 49b7bc9 commit f15581d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/as.data.table.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ as.data.table.list = function(x,
214214
}
215215

216216
as.data.table.data.frame = function(x, keep.rownames=FALSE, key=NULL, ...) {
217-
if (is.data.table(x)) return(as.data.table.data.table(x)) # S3 is weird, #6739
217+
if (is.data.table(x)) return(as.data.table.data.table(x)) # S3 is weird, #6739. Also # nocov; this is tested in 2302.{2,3}, not sure why it doesn't show up in coverage.
218218
if (!identical(class(x), "data.frame")) return(as.data.table(as.data.frame(x)))
219219
if (!isFALSE(keep.rownames)) {
220220
# can specify col name to keep.rownames, #575; if it's the same as key,

0 commit comments

Comments
 (0)