From f88e9a9f6238117c2655f91b2fd45d2ac4779fea Mon Sep 17 00:00:00 2001 From: Lorenz Walthert Date: Sun, 13 Mar 2022 01:26:23 +0100 Subject: [PATCH] must mask all non-base packages --- R/zzz.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/zzz.R b/R/zzz.R index d0a172c44..9666a62c0 100644 --- a/R/zzz.R +++ b/R/zzz.R @@ -20,7 +20,7 @@ ask_to_switch_to_non_default_cache_root <- function(ask = interactive()) { - if (ask && runif(1) > 0.9 && is.null(getOption("styler.cache_root"))) { + if (ask && stats::runif(1) > 0.9 && is.null(getOption("styler.cache_root"))) { ask_to_switch_to_non_default_cache_root_impl() options(styler.cache_root = "styler") }