From: Zhian N. Kamvar Date: Mon, 19 Oct 2020 06:45:35 +0000 (-0700) Subject: add default repository to install_required_packages() (#509) X-Git-Url: https://git.arvados.org/rnaseq-cwl-training.git/commitdiff_plain/53e991355f617c108912a21eae00cfe46823aca4 add default repository to install_required_packages() (#509) --- diff --git a/bin/dependencies.R b/bin/dependencies.R index 676b050..ad5afe7 100644 --- a/bin/dependencies.R +++ b/bin/dependencies.R @@ -1,4 +1,4 @@ -install_required_packages <- function(lib = NULL, repos = getOption("repos")) { +install_required_packages <- function(lib = NULL, repos = getOption("repos", default = c(CRAN = "https://cran.rstudio.com/"))) { if (is.null(lib)) { lib <- .libPaths()