From 53e991355f617c108912a21eae00cfe46823aca4 Mon Sep 17 00:00:00 2001 From: "Zhian N. Kamvar" Date: Sun, 18 Oct 2020 23:45:35 -0700 Subject: [PATCH] add default repository to install_required_packages() (#509) --- bin/dependencies.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() -- 2.30.2