Skip to content

Commit

Permalink
Try without wininet
Browse files Browse the repository at this point in the history
  • Loading branch information
krlmlr committed Jul 4, 2019
1 parent c8d46d1 commit 8a40d58
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions r-travis/scripts/travis-tool.sh
Original file line number Diff line number Diff line change
Expand Up @@ -241,19 +241,19 @@ RBinaryInstall() {
InstallGithub() {
EnsureRemotes

Rscript -e 'options(repos=c(CRAN="'"${CRAN}"'"), download.file.method = "wininet"); rownames(available.packages())'
Rscript -e 'options(repos=c(CRAN="'"${CRAN}"'")); rownames(available.packages())'

echo "Installing GitHub packages: $@"
# Install the package.
Rscript -e 'options(repos=c(CRAN="'"${CRAN}"'"), download.file.method = "wininet"); remotes::install_github(commandArgs(TRUE), type="'"${PKGTYPE}"'")' "$@"
Rscript -e 'options(repos=c(CRAN="'"${CRAN}"'")); remotes::install_github(commandArgs(TRUE), type="'"${PKGTYPE}"'")' "$@"
}

InstallDeps() {
EnsureRemotes
Rscript -e 'options(repos=c(CRAN="'"${CRAN}"'"), download.file.method = "wininet"); rownames(available.packages())'
Rscript -e 'options(repos=c(CRAN="'"${CRAN}"'")); rownames(available.packages())'

echo "Installing dependencies"
Rscript -e 'options(repos=c(CRAN="'"${CRAN}"'"), download.file.method = "wininet"); remotes::install_deps(dependencies = TRUE, type="'"${PKGTYPE}"'")'
Rscript -e 'options(repos=c(CRAN="'"${CRAN}"'")); remotes::install_deps(dependencies = TRUE, type="'"${PKGTYPE}"'")'
}

InstallBiocDeps() {
Expand Down

0 comments on commit 8a40d58

Please sign in to comment.