From f701fedc69ae4bbe65ce6df48e4cd2c5dcbbec96 Mon Sep 17 00:00:00 2001 From: Jeroen Ooms Date: Wed, 17 Apr 2024 14:23:20 +0200 Subject: [PATCH] Use cran mirror --- R/cran.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/cran.R b/R/cran.R index 60805ba..033b014 100644 --- a/R/cran.R +++ b/R/cran.R @@ -7,7 +7,7 @@ cran_registry <- function(){ tmp <- tempfile() on.exit(unlink(tmp)) - curl::curl_download('https://cloud.r-project.org/web/packages/packages.rds', destfile = tmp) + curl::curl_download('https://cran.r-project.org/web/packages/packages.rds', destfile = tmp) packages <- as.data.frame(readRDS(tmp), stringsAsFactors = FALSE) winonly <- which(packages$OS_type == 'windows') if(length(winonly)){