R/utils.R

tooltip <- function(date, n) {
  glue::glue("<h4>{date}</h4>{n} commits")
}

na.replace <- function(x, value = 0) {
  x[is.na(x)] <- value
  x
}
denrou/ggcalheatmap documentation built on May 5, 2019, 11:06 p.m.