Skip to content

Commit 9f35906

Browse files
nocov range
1 parent 9759281 commit 9f35906

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

R/print.data.table.R

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -292,11 +292,13 @@ trunc_cols_message = function(not_printed, abbs, class, col.names){
292292
}
293293

294294
# Maybe add a method for repr::repr_text. See https://github.com/Rdatatable/data.table/issues/933#issuecomment-220237965
295+
# nocov start
295296
knit_print.data.table = function(x, ...) {
296-
if (!shouldPrint(x)) return(invisible(x)) # nocov
297-
NextMethod() # nocov
297+
if (!shouldPrint(x)) return(invisible(x))
298+
NextMethod()
298299
}
299300
record_print.data.table = function(x, ...) {
300-
if (!shouldPrint(x)) return(character()) # nocov
301-
NextMethod() # nocov
301+
if (!shouldPrint(x)) return(character())
302+
NextMethod()
302303
}
304+
# nocov end

0 commit comments

Comments
 (0)