Skip to content

Commit

Permalink
Use cran mirror
Browse files Browse the repository at this point in the history
  • Loading branch information
jeroen committed Apr 17, 2024
1 parent f70f7fa commit f701fed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/cran.R
Original file line number Diff line number Diff line change
Expand Up @@ -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)){
Expand Down

0 comments on commit f701fed

Please sign in to comment.