From e2708dffc9b053aa2b265c4da57d454ba50631b7 Mon Sep 17 00:00:00 2001 From: Kevin Ushey Date: Mon, 13 Nov 2023 13:55:03 -0800 Subject: [PATCH] avoid prompting for installation of BiocManager (#1754) --- NEWS.md | 3 +++ R/bioconductor.R | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/NEWS.md b/NEWS.md index 323801abc..6ef7fc515 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,5 +1,8 @@ # renv (development version) +* Fixed an issue where `renv` would try to prompt for the installation of + `BiocManager` when activating a project using Bioconductor. (#1754) + * Fixed an issue where directories containing a large number of files could cause `renv` to fail to activate a project. (#1733) diff --git a/R/bioconductor.R b/R/bioconductor.R index d2f975f04..67381d5f9 100644 --- a/R/bioconductor.R +++ b/R/bioconductor.R @@ -22,7 +22,7 @@ renv_bioconductor_init_biocmanager <- function(library = NULL) { return(TRUE) ensure_directory(library) - install("BiocManager", library = library) + install("BiocManager", library = library, prompt = FALSE) TRUE }