R/utils.R

Defines functions big_mark cat_line

cat_line <- function(...) {
  cat(paste0(..., "\n", collapse = ""))
}

big_mark <- function(x, ...) {
  mark <- if (identical(getOption("OutDec"), ",")) "." else ","
  formatC(x, big.mark = mark, ...)
}

Try the partialised package in your browser

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

partialised documentation built on Nov. 4, 2022, 5:08 p.m.