R/textreadr_class.R

Defines functions print.textreadr

Documented in print.textreadr

#' Prints a textreadr Object
#'
#' Prints a textreadr object
#'
#' @param x A \[base::data.frame()] textreadr object.
#' @param width The width of the columns to be displayed.
#' @param ... Other arguments passed to [peek()].
#' @method print textreadr
#' @export
print.textreadr <- function(x, width = 40, ...){
    #y <- x
    #class(x) <- class(x)[!class(x) %in% "textreadr"]
    peek(x, width = width, ...)
    #invisible(y)
}

Try the textreadr package in your browser

Any scripts or data that you put into this service are public.

textreadr documentation built on July 8, 2020, 5:50 p.m.