R/print.R

Defines functions print.wos_data print.query_result

#' @export
print.wos_data <- function(x, ...) {
  utils::str(
    x, vec.len = 1, max.level = 2, give.attr = FALSE, strict.width = "cut"
  )
}

#' @export
print.query_result <- function(x, ...) {
  cat("Matching records:", format_num(x$rec_cnt))
}

Try the wosr package in your browser

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

wosr documentation built on May 1, 2019, 10:18 p.m.