Skip to content

Commit

Permalink
Temporary fix for broken US cran mirror for R packages (#5549)
Browse files Browse the repository at this point in the history
  • Loading branch information
niloc132 authored May 30, 2024
1 parent 6ebd418 commit a50c317
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ def rClientDoc = Docker.registerDockerTask(project, 'rClientDoc') {
''')
runCommand('''echo "status = tryCatch(" \
" {" \
" install.packages('roxygen2', repos='http://cran.us.r-project.org'); " \
" install.packages('roxygen2', repos='https://cran.r-project.org'); " \
" 0" \
" }," \
" error=function(e) 1," \
Expand Down Expand Up @@ -179,7 +179,7 @@ def rClientSite = Docker.registerDockerTask(project, 'rClientSite') {
runCommand("mkdir -p ${prefix}/src/rdeephaven/docs")
runCommand('''echo "status = tryCatch(" \
" {" \
" install.packages('pkgdown', repos='http://cran.us.r-project.org'); " \
" install.packages('pkgdown', repos='https://cran.r-project.org'); " \
" 0" \
" }," \
" error=function(e) 1," \
Expand Down

0 comments on commit a50c317

Please sign in to comment.