Skip to content

Commit

Permalink
Set wget as the default package downloader for RStudio. (#572)
Browse files Browse the repository at this point in the history
* update(.Rprofile): options(download.file.method="wget")

* update(build_push): to test on prod

* Update build_push.yaml: revert

---------

Co-authored-by: Paget, Bryan (StatCan) <[email protected]>
  • Loading branch information
bryanpaget and Paget, Bryan (StatCan) authored Jan 22, 2024
1 parent 1068e51 commit a708dcb
Show file tree
Hide file tree
Showing 7 changed files with 28 additions and 0 deletions.
4 changes: 4 additions & 0 deletions output/jupyterlab-cpu/.Rprofile
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,7 @@ rm(package_dir)
#-----------------------------
#options(stringsAsFactors = FALSE)
#options(prompt = "AAW> ")

# using wget because https://github.com/StatCan/aaw-kubeflow-containers/issues/569
# https://stackoverflow.com/questions/70559397/r-internet-routines-cannot-be-loaded-when-starting-from-rstudio
options(download.file.method="wget")
4 changes: 4 additions & 0 deletions output/jupyterlab-pytorch/.Rprofile
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,7 @@ rm(package_dir)
#-----------------------------
#options(stringsAsFactors = FALSE)
#options(prompt = "AAW> ")

# using wget because https://github.com/StatCan/aaw-kubeflow-containers/issues/569
# https://stackoverflow.com/questions/70559397/r-internet-routines-cannot-be-loaded-when-starting-from-rstudio
options(download.file.method="wget")
4 changes: 4 additions & 0 deletions output/jupyterlab-tensorflow/.Rprofile
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,7 @@ rm(package_dir)
#-----------------------------
#options(stringsAsFactors = FALSE)
#options(prompt = "AAW> ")

# using wget because https://github.com/StatCan/aaw-kubeflow-containers/issues/569
# https://stackoverflow.com/questions/70559397/r-internet-routines-cannot-be-loaded-when-starting-from-rstudio
options(download.file.method="wget")
4 changes: 4 additions & 0 deletions output/remote-desktop/.Rprofile
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,7 @@ rm(package_dir)
#-----------------------------
#options(stringsAsFactors = FALSE)
#options(prompt = "AAW> ")

# using wget because https://github.com/StatCan/aaw-kubeflow-containers/issues/569
# https://stackoverflow.com/questions/70559397/r-internet-routines-cannot-be-loaded-when-starting-from-rstudio
options(download.file.method="wget")
4 changes: 4 additions & 0 deletions output/rstudio/.Rprofile
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,7 @@ rm(package_dir)
#-----------------------------
#options(stringsAsFactors = FALSE)
#options(prompt = "AAW> ")

# using wget because https://github.com/StatCan/aaw-kubeflow-containers/issues/569
# https://stackoverflow.com/questions/70559397/r-internet-routines-cannot-be-loaded-when-starting-from-rstudio
options(download.file.method="wget")
4 changes: 4 additions & 0 deletions output/sas/.Rprofile
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,7 @@ rm(package_dir)
#-----------------------------
#options(stringsAsFactors = FALSE)
#options(prompt = "AAW> ")

# using wget because https://github.com/StatCan/aaw-kubeflow-containers/issues/569
# https://stackoverflow.com/questions/70559397/r-internet-routines-cannot-be-loaded-when-starting-from-rstudio
options(download.file.method="wget")
4 changes: 4 additions & 0 deletions resources/common/.Rprofile
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,7 @@ rm(package_dir)
#-----------------------------
#options(stringsAsFactors = FALSE)
#options(prompt = "AAW> ")

# using wget because https://github.com/StatCan/aaw-kubeflow-containers/issues/569
# https://stackoverflow.com/questions/70559397/r-internet-routines-cannot-be-loaded-when-starting-from-rstudio
options(download.file.method="wget")

0 comments on commit a708dcb

Please sign in to comment.