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)
}
trinker/textreadr documentation built on Oct. 12, 2021, 12:10 p.m.