We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0fd4aba commit 33dab5bCopy full SHA for 33dab5b
R/buildtools.R
@@ -1044,6 +1044,8 @@ get_cran_releases_fast <- function(package){
1044
}
1045
1046
get_cran_releases_slow <- function(package){
1047
+ oldrepos <- options(repos = c(CRAN = 'https://cloud.r-project.org'))
1048
+ on.exit(options(repos = oldrepos))
1049
current <- tools:::CRAN_current_db()
1050
matches <- which(grepl(sprintf('^%s_.*\\.tar\\.gz', package), row.names(current)))
1051
filenames <- row.names(current)[matches]
0 commit comments