R/utils.R

Defines functions big_mark subtle_comment

subtle_comment <- function(...) {
  pillar::style_subtle(paste0("# ", ...))
}

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

Try the navigatr package in your browser

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

navigatr documentation built on March 31, 2023, 9:42 p.m.