You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
217
218
if (!identical(class(x), "data.frame")) return(as.data.table(as.data.frame(x)))
218
219
if (!isFALSE(keep.rownames)) {
219
220
# can specify col name to keep.rownames, #575; if it's the same as key,
0 commit comments