R/utils.R

printf <- function(fmt, ...) {
  cat(sprintf(fmt, ...))
}

"%||%" <- function(x, y) {
  if (is.null(x)) y else x
}
kevinykuo/sparklygraphs documentation built on May 23, 2019, 9:33 a.m.