R/prinf.R

Defines functions prinf

Documented in prinf

#' Print All Rows
#'
#' `prinf` is a wrapper around `print` that returns all rows rather than
#' just the first 10 by default.
#'
#' @param df data frame
#' @param ... Any other valid option for `print()`.
#'
#' @return prints out all rows rather than default 10 rows.
#' @export
#'
#' @examples
#' \dontrun{
#' df_geo %>% prinf() }

prinf <- function(df, ...) {
  print(df, n = Inf, ...)
}
USAID-OHA-SI/glamr documentation built on July 6, 2024, 6:39 a.m.