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 d84ba06 commit 3aeb4ebCopy full SHA for 3aeb4eb
R/pkg/R/install.R
@@ -161,7 +161,6 @@ get_preferred_mirror <- function(version, packageName) {
161
jsonUrl <- paste0("http://www.apache.org/dyn/closer.cgi?path=",
162
file.path("spark", version, packageName),
163
".tgz&as_json=1")
164
- # jsonUrl <- "http://www.apache.org/dyn/closer.cgi?as_json=1"
165
textLines <- readLines(jsonUrl, warn = FALSE)
166
rowNum <- grep("\"preferred\"", textLines)
167
linePreferred <- textLines[rowNum]
0 commit comments