From 74b7a6d9ad81d218bd9889d2050db001f51ba283 Mon Sep 17 00:00:00 2001 From: Pawel Rucki <12943682+pawelru@users.noreply.github.com> Date: Wed, 2 Oct 2024 14:15:39 +0200 Subject: [PATCH] Update script.R Co-authored-by: Marcin <133694481+m7pr@users.noreply.github.com> Signed-off-by: Pawel Rucki <12943682+pawelru@users.noreply.github.com> --- script.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script.R b/script.R index 193e8a8..479b3b4 100644 --- a/script.R +++ b/script.R @@ -45,7 +45,7 @@ add_cache_to_minicran <- function(pkg, version, minicran_path) { } install_and_add_to_minicran <- function(ref, minicran_path) { cli::cli_inform(sprintf("Installing and adding %s to miniCRAN...", ref)) - x <- pak::pkg_install(ref) + x <- pak::pkg_install(ref, ask = FALSE) for (i in seq_len(nrow(x))) { i_package <- x$package[i] i_version <- x$version[i]