R/utils-pr.R

Defines functions pr

Documented in pr

#' Wrapper for the `print()` function
#'
#' @param d The data frame
#' @param num_rows The number of rows to show on screen
#' @param ... Arguments passed to `print()`
#'
#' @return Nothing, prints a data frame to screen
#' @export
pr <- function(d, num_rows = 100, ...){
  d |>
    print(n = num_rows, ...)
}
pacific-hake/pacifichakemse documentation built on June 11, 2024, 4:07 a.m.