diff --git a/R/strrep.R b/R/strrep.R deleted file mode 100644 index 7cbae7c87..000000000 --- a/R/strrep.R +++ /dev/null @@ -1,13 +0,0 @@ -strrep <- NULL -strrep_compat <- function(x, times) { - map_chr( - times, - function(n) { - if (is.na(n)) { - NA_character_ - } else { - paste(rep(x, n), collapse = "") - } - } - ) -} diff --git a/R/zzz.R b/R/zzz.R index 01b08d9ee..64e1c7c8b 100644 --- a/R/zzz.R +++ b/R/zzz.R @@ -47,12 +47,6 @@ NULL assign_crayon_styles() - if (getRversion() < "3.3.0") { - strrep <<- strrep_compat - } else { - rm("strrep", inherits = TRUE) - } - # Necessary to re-parse environment variable if (Sys.getenv("DEBUGME") != "" && rlang::is_installed("debugme")) { # activate_debugme()