File: repr_datatable.r

package info (click to toggle)
r-cran-repr 1.1.7-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 356 kB
  • sloc: sh: 10; makefile: 2
file content (25 lines) | stat: -rw-r--r-- 534 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#' Representation of data.table objects
#' 
#' @param obj  The list to create a representation for
#' @param ...  ignored
#' 
#' @name repr_*.data.table
#' @export
repr_html.data.table <- function(obj, ...) {
	if (data.table::shouldPrint(obj))
		NextMethod()
}

#' @name repr_*.data.table
#' @export
repr_text.data.table <- function(obj, ...) {
	if (data.table::shouldPrint(obj))
		NextMethod()
}

#' @name repr_*.data.table
#' @export
repr_latex.data.table <- function(obj, ...) {
	if (data.table::shouldPrint(obj))
		NextMethod()
}