R/compat-strrep.R

if (getRversion() < "3.3.0") {
  strrep <- function(x, times) {
    map_chr(
      times,
      function(n) paste(rep(x, n), collapse = "")
    )
  }
}

Try the tibble package in your browser

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

tibble documentation built on March 31, 2023, 11 p.m.